xref: /linux/include/dt-bindings/reset/hisi,hi6220-resets.h (revision 339d00cb173a5eb283d3b8d617fa97a3a46ada2f)
104d11269SChen Feng /**
204d11269SChen Feng  * This header provides index for the reset controller
304d11269SChen Feng  * based on hi6220 SoC.
404d11269SChen Feng  */
504d11269SChen Feng #ifndef _DT_BINDINGS_RESET_CONTROLLER_HI6220
604d11269SChen Feng #define _DT_BINDINGS_RESET_CONTROLLER_HI6220
704d11269SChen Feng 
804d11269SChen Feng #define PERIPH_RSTDIS0_MMC0             0x000
904d11269SChen Feng #define PERIPH_RSTDIS0_MMC1             0x001
1004d11269SChen Feng #define PERIPH_RSTDIS0_MMC2             0x002
1104d11269SChen Feng #define PERIPH_RSTDIS0_NANDC            0x003
1204d11269SChen Feng #define PERIPH_RSTDIS0_USBOTG_BUS       0x004
1304d11269SChen Feng #define PERIPH_RSTDIS0_POR_PICOPHY      0x005
1404d11269SChen Feng #define PERIPH_RSTDIS0_USBOTG           0x006
1504d11269SChen Feng #define PERIPH_RSTDIS0_USBOTG_32K       0x007
1604d11269SChen Feng #define PERIPH_RSTDIS1_HIFI             0x100
1704d11269SChen Feng #define PERIPH_RSTDIS1_DIGACODEC        0x105
1804d11269SChen Feng #define PERIPH_RSTEN2_IPF               0x200
1904d11269SChen Feng #define PERIPH_RSTEN2_SOCP              0x201
2004d11269SChen Feng #define PERIPH_RSTEN2_DMAC              0x202
2104d11269SChen Feng #define PERIPH_RSTEN2_SECENG            0x203
2204d11269SChen Feng #define PERIPH_RSTEN2_ABB               0x204
2304d11269SChen Feng #define PERIPH_RSTEN2_HPM0              0x205
2404d11269SChen Feng #define PERIPH_RSTEN2_HPM1              0x206
2504d11269SChen Feng #define PERIPH_RSTEN2_HPM2              0x207
2604d11269SChen Feng #define PERIPH_RSTEN2_HPM3              0x208
2704d11269SChen Feng #define PERIPH_RSTEN3_CSSYS             0x300
2804d11269SChen Feng #define PERIPH_RSTEN3_I2C0              0x301
2904d11269SChen Feng #define PERIPH_RSTEN3_I2C1              0x302
3004d11269SChen Feng #define PERIPH_RSTEN3_I2C2              0x303
3104d11269SChen Feng #define PERIPH_RSTEN3_I2C3              0x304
3204d11269SChen Feng #define PERIPH_RSTEN3_UART1             0x305
3304d11269SChen Feng #define PERIPH_RSTEN3_UART2             0x306
3404d11269SChen Feng #define PERIPH_RSTEN3_UART3             0x307
3504d11269SChen Feng #define PERIPH_RSTEN3_UART4             0x308
3604d11269SChen Feng #define PERIPH_RSTEN3_SSP               0x309
3704d11269SChen Feng #define PERIPH_RSTEN3_PWM               0x30a
3804d11269SChen Feng #define PERIPH_RSTEN3_BLPWM             0x30b
3904d11269SChen Feng #define PERIPH_RSTEN3_TSENSOR           0x30c
4004d11269SChen Feng #define PERIPH_RSTEN3_DAPB              0x312
4104d11269SChen Feng #define PERIPH_RSTEN3_HKADC             0x313
4204d11269SChen Feng #define PERIPH_RSTEN3_CODEC_SSI         0x314
4304d11269SChen Feng #define PERIPH_RSTEN3_PMUSSI1           0x316
4404d11269SChen Feng #define PERIPH_RSTEN8_RS0               0x400
4504d11269SChen Feng #define PERIPH_RSTEN8_RS2               0x401
4604d11269SChen Feng #define PERIPH_RSTEN8_RS3               0x402
4704d11269SChen Feng #define PERIPH_RSTEN8_MS0               0x403
4804d11269SChen Feng #define PERIPH_RSTEN8_MS2               0x405
4904d11269SChen Feng #define PERIPH_RSTEN8_XG2RAM0           0x406
5004d11269SChen Feng #define PERIPH_RSTEN8_X2SRAM_TZMA       0x407
5104d11269SChen Feng #define PERIPH_RSTEN8_SRAM              0x408
5204d11269SChen Feng #define PERIPH_RSTEN8_HARQ              0x40a
5304d11269SChen Feng #define PERIPH_RSTEN8_DDRC              0x40c
5404d11269SChen Feng #define PERIPH_RSTEN8_DDRC_APB          0x40d
5504d11269SChen Feng #define PERIPH_RSTEN8_DDRPACK_APB       0x40e
5604d11269SChen Feng #define PERIPH_RSTEN8_DDRT              0x411
5704d11269SChen Feng #define PERIPH_RSDIST9_CARM_DAP         0x500
5804d11269SChen Feng #define PERIPH_RSDIST9_CARM_ATB         0x501
5904d11269SChen Feng #define PERIPH_RSDIST9_CARM_LBUS        0x502
6004d11269SChen Feng #define PERIPH_RSDIST9_CARM_POR         0x503
6104d11269SChen Feng #define PERIPH_RSDIST9_CARM_CORE        0x504
6204d11269SChen Feng #define PERIPH_RSDIST9_CARM_DBG         0x505
6304d11269SChen Feng #define PERIPH_RSDIST9_CARM_L2          0x506
6404d11269SChen Feng #define PERIPH_RSDIST9_CARM_SOCDBG      0x507
6504d11269SChen Feng #define PERIPH_RSDIST9_CARM_ETM         0x508
6604d11269SChen Feng 
67*339d00cbSXinliang Liu #define MEDIA_G3D                       0
68*339d00cbSXinliang Liu #define MEDIA_CODEC_VPU                 2
69*339d00cbSXinliang Liu #define MEDIA_CODEC_JPEG                3
70*339d00cbSXinliang Liu #define MEDIA_ISP                       4
71*339d00cbSXinliang Liu #define MEDIA_ADE                       5
72*339d00cbSXinliang Liu #define MEDIA_MMU                       6
73*339d00cbSXinliang Liu #define MEDIA_XG2RAM1                   7
74*339d00cbSXinliang Liu 
7504d11269SChen Feng #endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/
76