162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/** 362306a36Sopenharmony_ci * This header provides index for the reset controller 462306a36Sopenharmony_ci * based on hi6220 SoC. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_HI6220 762306a36Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_HI6220 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#define PERIPH_RSTDIS0_MMC0 0x000 1062306a36Sopenharmony_ci#define PERIPH_RSTDIS0_MMC1 0x001 1162306a36Sopenharmony_ci#define PERIPH_RSTDIS0_MMC2 0x002 1262306a36Sopenharmony_ci#define PERIPH_RSTDIS0_NANDC 0x003 1362306a36Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG_BUS 0x004 1462306a36Sopenharmony_ci#define PERIPH_RSTDIS0_POR_PICOPHY 0x005 1562306a36Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG 0x006 1662306a36Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG_32K 0x007 1762306a36Sopenharmony_ci#define PERIPH_RSTDIS1_HIFI 0x100 1862306a36Sopenharmony_ci#define PERIPH_RSTDIS1_DIGACODEC 0x105 1962306a36Sopenharmony_ci#define PERIPH_RSTEN2_IPF 0x200 2062306a36Sopenharmony_ci#define PERIPH_RSTEN2_SOCP 0x201 2162306a36Sopenharmony_ci#define PERIPH_RSTEN2_DMAC 0x202 2262306a36Sopenharmony_ci#define PERIPH_RSTEN2_SECENG 0x203 2362306a36Sopenharmony_ci#define PERIPH_RSTEN2_ABB 0x204 2462306a36Sopenharmony_ci#define PERIPH_RSTEN2_HPM0 0x205 2562306a36Sopenharmony_ci#define PERIPH_RSTEN2_HPM1 0x206 2662306a36Sopenharmony_ci#define PERIPH_RSTEN2_HPM2 0x207 2762306a36Sopenharmony_ci#define PERIPH_RSTEN2_HPM3 0x208 2862306a36Sopenharmony_ci#define PERIPH_RSTEN3_CSSYS 0x300 2962306a36Sopenharmony_ci#define PERIPH_RSTEN3_I2C0 0x301 3062306a36Sopenharmony_ci#define PERIPH_RSTEN3_I2C1 0x302 3162306a36Sopenharmony_ci#define PERIPH_RSTEN3_I2C2 0x303 3262306a36Sopenharmony_ci#define PERIPH_RSTEN3_I2C3 0x304 3362306a36Sopenharmony_ci#define PERIPH_RSTEN3_UART1 0x305 3462306a36Sopenharmony_ci#define PERIPH_RSTEN3_UART2 0x306 3562306a36Sopenharmony_ci#define PERIPH_RSTEN3_UART3 0x307 3662306a36Sopenharmony_ci#define PERIPH_RSTEN3_UART4 0x308 3762306a36Sopenharmony_ci#define PERIPH_RSTEN3_SSP 0x309 3862306a36Sopenharmony_ci#define PERIPH_RSTEN3_PWM 0x30a 3962306a36Sopenharmony_ci#define PERIPH_RSTEN3_BLPWM 0x30b 4062306a36Sopenharmony_ci#define PERIPH_RSTEN3_TSENSOR 0x30c 4162306a36Sopenharmony_ci#define PERIPH_RSTEN3_DAPB 0x312 4262306a36Sopenharmony_ci#define PERIPH_RSTEN3_HKADC 0x313 4362306a36Sopenharmony_ci#define PERIPH_RSTEN3_CODEC_SSI 0x314 4462306a36Sopenharmony_ci#define PERIPH_RSTEN3_PMUSSI1 0x316 4562306a36Sopenharmony_ci#define PERIPH_RSTEN8_RS0 0x400 4662306a36Sopenharmony_ci#define PERIPH_RSTEN8_RS2 0x401 4762306a36Sopenharmony_ci#define PERIPH_RSTEN8_RS3 0x402 4862306a36Sopenharmony_ci#define PERIPH_RSTEN8_MS0 0x403 4962306a36Sopenharmony_ci#define PERIPH_RSTEN8_MS2 0x405 5062306a36Sopenharmony_ci#define PERIPH_RSTEN8_XG2RAM0 0x406 5162306a36Sopenharmony_ci#define PERIPH_RSTEN8_X2SRAM_TZMA 0x407 5262306a36Sopenharmony_ci#define PERIPH_RSTEN8_SRAM 0x408 5362306a36Sopenharmony_ci#define PERIPH_RSTEN8_HARQ 0x40a 5462306a36Sopenharmony_ci#define PERIPH_RSTEN8_DDRC 0x40c 5562306a36Sopenharmony_ci#define PERIPH_RSTEN8_DDRC_APB 0x40d 5662306a36Sopenharmony_ci#define PERIPH_RSTEN8_DDRPACK_APB 0x40e 5762306a36Sopenharmony_ci#define PERIPH_RSTEN8_DDRT 0x411 5862306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_DAP 0x500 5962306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_ATB 0x501 6062306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_LBUS 0x502 6162306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_POR 0x503 6262306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_CORE 0x504 6362306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_DBG 0x505 6462306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_L2 0x506 6562306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_SOCDBG 0x507 6662306a36Sopenharmony_ci#define PERIPH_RSDIST9_CARM_ETM 0x508 6762306a36Sopenharmony_ci 6862306a36Sopenharmony_ci#define MEDIA_G3D 0 6962306a36Sopenharmony_ci#define MEDIA_CODEC_VPU 2 7062306a36Sopenharmony_ci#define MEDIA_CODEC_JPEG 3 7162306a36Sopenharmony_ci#define MEDIA_ISP 4 7262306a36Sopenharmony_ci#define MEDIA_ADE 5 7362306a36Sopenharmony_ci#define MEDIA_MMU 6 7462306a36Sopenharmony_ci#define MEDIA_XG2RAM1 7 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ci#define AO_G3D 1 7762306a36Sopenharmony_ci#define AO_CODECISP 2 7862306a36Sopenharmony_ci#define AO_MCPU 4 7962306a36Sopenharmony_ci#define AO_BBPHARQMEM 5 8062306a36Sopenharmony_ci#define AO_HIFI 8 8162306a36Sopenharmony_ci#define AO_ACPUSCUL2C 12 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ci#endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/ 84