162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2016 BayLibre, SAS. 462306a36Sopenharmony_ci * Author: Neil Armstrong <narmstrong@baylibre.com> 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci * Copyright (c) 2017 Amlogic, inc. 762306a36Sopenharmony_ci * Author: Yixun Lan <yixun.lan@amlogic.com> 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#ifndef _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 1262306a36Sopenharmony_ci#define _DT_BINDINGS_AMLOGIC_MESON_AXG_RESET_H 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci/* RESET0 */ 1562306a36Sopenharmony_ci#define RESET_HIU 0 1662306a36Sopenharmony_ci#define RESET_PCIE_A 1 1762306a36Sopenharmony_ci#define RESET_PCIE_B 2 1862306a36Sopenharmony_ci#define RESET_DDR_TOP 3 1962306a36Sopenharmony_ci/* 4 */ 2062306a36Sopenharmony_ci#define RESET_VIU 5 2162306a36Sopenharmony_ci#define RESET_PCIE_PHY 6 2262306a36Sopenharmony_ci#define RESET_PCIE_APB 7 2362306a36Sopenharmony_ci/* 8 */ 2462306a36Sopenharmony_ci/* 9 */ 2562306a36Sopenharmony_ci#define RESET_VENC 10 2662306a36Sopenharmony_ci#define RESET_ASSIST 11 2762306a36Sopenharmony_ci/* 12 */ 2862306a36Sopenharmony_ci#define RESET_VCBUS 13 2962306a36Sopenharmony_ci/* 14 */ 3062306a36Sopenharmony_ci/* 15 */ 3162306a36Sopenharmony_ci#define RESET_GIC 16 3262306a36Sopenharmony_ci#define RESET_CAPB3_DECODE 17 3362306a36Sopenharmony_ci/* 18-21 */ 3462306a36Sopenharmony_ci#define RESET_SYS_CPU_CAPB3 22 3562306a36Sopenharmony_ci#define RESET_CBUS_CAPB3 23 3662306a36Sopenharmony_ci#define RESET_AHB_CNTL 24 3762306a36Sopenharmony_ci#define RESET_AHB_DATA 25 3862306a36Sopenharmony_ci#define RESET_VCBUS_CLK81 26 3962306a36Sopenharmony_ci#define RESET_MMC 27 4062306a36Sopenharmony_ci/* 28-31 */ 4162306a36Sopenharmony_ci/* RESET1 */ 4262306a36Sopenharmony_ci/* 32 */ 4362306a36Sopenharmony_ci/* 33 */ 4462306a36Sopenharmony_ci#define RESET_USB_OTG 34 4562306a36Sopenharmony_ci#define RESET_DDR 35 4662306a36Sopenharmony_ci#define RESET_AO_RESET 36 4762306a36Sopenharmony_ci/* 37 */ 4862306a36Sopenharmony_ci#define RESET_AHB_SRAM 38 4962306a36Sopenharmony_ci/* 39 */ 5062306a36Sopenharmony_ci/* 40 */ 5162306a36Sopenharmony_ci#define RESET_DMA 41 5262306a36Sopenharmony_ci#define RESET_ISA 42 5362306a36Sopenharmony_ci#define RESET_ETHERNET 43 5462306a36Sopenharmony_ci/* 44 */ 5562306a36Sopenharmony_ci#define RESET_SD_EMMC_B 45 5662306a36Sopenharmony_ci#define RESET_SD_EMMC_C 46 5762306a36Sopenharmony_ci#define RESET_ROM_BOOT 47 5862306a36Sopenharmony_ci#define RESET_SYS_CPU_0 48 5962306a36Sopenharmony_ci#define RESET_SYS_CPU_1 49 6062306a36Sopenharmony_ci#define RESET_SYS_CPU_2 50 6162306a36Sopenharmony_ci#define RESET_SYS_CPU_3 51 6262306a36Sopenharmony_ci#define RESET_SYS_CPU_CORE_0 52 6362306a36Sopenharmony_ci#define RESET_SYS_CPU_CORE_1 53 6462306a36Sopenharmony_ci#define RESET_SYS_CPU_CORE_2 54 6562306a36Sopenharmony_ci#define RESET_SYS_CPU_CORE_3 55 6662306a36Sopenharmony_ci#define RESET_SYS_PLL_DIV 56 6762306a36Sopenharmony_ci#define RESET_SYS_CPU_AXI 57 6862306a36Sopenharmony_ci#define RESET_SYS_CPU_L2 58 6962306a36Sopenharmony_ci#define RESET_SYS_CPU_P 59 7062306a36Sopenharmony_ci#define RESET_SYS_CPU_MBIST 60 7162306a36Sopenharmony_ci/* 61-63 */ 7262306a36Sopenharmony_ci/* RESET2 */ 7362306a36Sopenharmony_ci/* 64 */ 7462306a36Sopenharmony_ci/* 65 */ 7562306a36Sopenharmony_ci#define RESET_AUDIO 66 7662306a36Sopenharmony_ci/* 67 */ 7762306a36Sopenharmony_ci#define RESET_MIPI_HOST 68 7862306a36Sopenharmony_ci#define RESET_AUDIO_LOCKER 69 7962306a36Sopenharmony_ci#define RESET_GE2D 70 8062306a36Sopenharmony_ci/* 71-76 */ 8162306a36Sopenharmony_ci#define RESET_AO_CPU_RESET 77 8262306a36Sopenharmony_ci/* 78-95 */ 8362306a36Sopenharmony_ci/* RESET3 */ 8462306a36Sopenharmony_ci#define RESET_RING_OSCILLATOR 96 8562306a36Sopenharmony_ci/* 97-127 */ 8662306a36Sopenharmony_ci/* RESET4 */ 8762306a36Sopenharmony_ci/* 128 */ 8862306a36Sopenharmony_ci/* 129 */ 8962306a36Sopenharmony_ci#define RESET_MIPI_PHY 130 9062306a36Sopenharmony_ci/* 131-140 */ 9162306a36Sopenharmony_ci#define RESET_VENCL 141 9262306a36Sopenharmony_ci#define RESET_I2C_MASTER_2 142 9362306a36Sopenharmony_ci#define RESET_I2C_MASTER_1 143 9462306a36Sopenharmony_ci/* 144-159 */ 9562306a36Sopenharmony_ci/* RESET5 */ 9662306a36Sopenharmony_ci/* 160-191 */ 9762306a36Sopenharmony_ci/* RESET6 */ 9862306a36Sopenharmony_ci#define RESET_PERIPHS_GENERAL 192 9962306a36Sopenharmony_ci#define RESET_PERIPHS_SPICC 193 10062306a36Sopenharmony_ci/* 194 */ 10162306a36Sopenharmony_ci/* 195 */ 10262306a36Sopenharmony_ci#define RESET_PERIPHS_I2C_MASTER_0 196 10362306a36Sopenharmony_ci/* 197-200 */ 10462306a36Sopenharmony_ci#define RESET_PERIPHS_UART_0 201 10562306a36Sopenharmony_ci#define RESET_PERIPHS_UART_1 202 10662306a36Sopenharmony_ci/* 203-204 */ 10762306a36Sopenharmony_ci#define RESET_PERIPHS_SPI_0 205 10862306a36Sopenharmony_ci#define RESET_PERIPHS_I2C_MASTER_3 206 10962306a36Sopenharmony_ci/* 207-223 */ 11062306a36Sopenharmony_ci/* RESET7 */ 11162306a36Sopenharmony_ci#define RESET_USB_DDR_0 224 11262306a36Sopenharmony_ci#define RESET_USB_DDR_1 225 11362306a36Sopenharmony_ci#define RESET_USB_DDR_2 226 11462306a36Sopenharmony_ci#define RESET_USB_DDR_3 227 11562306a36Sopenharmony_ci/* 228 */ 11662306a36Sopenharmony_ci#define RESET_DEVICE_MMC_ARB 229 11762306a36Sopenharmony_ci/* 230 */ 11862306a36Sopenharmony_ci#define RESET_VID_LOCK 231 11962306a36Sopenharmony_ci#define RESET_A9_DMC_PIPEL 232 12062306a36Sopenharmony_ci#define RESET_DMC_VPU_PIPEL 233 12162306a36Sopenharmony_ci/* 234-255 */ 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci#endif 124