18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/**
38c2ecf20Sopenharmony_ci * This header provides index for the reset controller
48c2ecf20Sopenharmony_ci * based on hi6220 SoC.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_RESET_CONTROLLER_HI6220
78c2ecf20Sopenharmony_ci#define _DT_BINDINGS_RESET_CONTROLLER_HI6220
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_MMC0             0x000
108c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_MMC1             0x001
118c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_MMC2             0x002
128c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_NANDC            0x003
138c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG_BUS       0x004
148c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_POR_PICOPHY      0x005
158c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG           0x006
168c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS0_USBOTG_32K       0x007
178c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS1_HIFI             0x100
188c2ecf20Sopenharmony_ci#define PERIPH_RSTDIS1_DIGACODEC        0x105
198c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_IPF               0x200
208c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_SOCP              0x201
218c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_DMAC              0x202
228c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_SECENG            0x203
238c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_ABB               0x204
248c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_HPM0              0x205
258c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_HPM1              0x206
268c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_HPM2              0x207
278c2ecf20Sopenharmony_ci#define PERIPH_RSTEN2_HPM3              0x208
288c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_CSSYS             0x300
298c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_I2C0              0x301
308c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_I2C1              0x302
318c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_I2C2              0x303
328c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_I2C3              0x304
338c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_UART1             0x305
348c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_UART2             0x306
358c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_UART3             0x307
368c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_UART4             0x308
378c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_SSP               0x309
388c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_PWM               0x30a
398c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_BLPWM             0x30b
408c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_TSENSOR           0x30c
418c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_DAPB              0x312
428c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_HKADC             0x313
438c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_CODEC_SSI         0x314
448c2ecf20Sopenharmony_ci#define PERIPH_RSTEN3_PMUSSI1           0x316
458c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_RS0               0x400
468c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_RS2               0x401
478c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_RS3               0x402
488c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_MS0               0x403
498c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_MS2               0x405
508c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_XG2RAM0           0x406
518c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_X2SRAM_TZMA       0x407
528c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_SRAM              0x408
538c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_HARQ              0x40a
548c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_DDRC              0x40c
558c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_DDRC_APB          0x40d
568c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_DDRPACK_APB       0x40e
578c2ecf20Sopenharmony_ci#define PERIPH_RSTEN8_DDRT              0x411
588c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_DAP         0x500
598c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_ATB         0x501
608c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_LBUS        0x502
618c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_POR         0x503
628c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_CORE        0x504
638c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_DBG         0x505
648c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_L2          0x506
658c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_SOCDBG      0x507
668c2ecf20Sopenharmony_ci#define PERIPH_RSDIST9_CARM_ETM         0x508
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci#define MEDIA_G3D                       0
698c2ecf20Sopenharmony_ci#define MEDIA_CODEC_VPU                 2
708c2ecf20Sopenharmony_ci#define MEDIA_CODEC_JPEG                3
718c2ecf20Sopenharmony_ci#define MEDIA_ISP                       4
728c2ecf20Sopenharmony_ci#define MEDIA_ADE                       5
738c2ecf20Sopenharmony_ci#define MEDIA_MMU                       6
748c2ecf20Sopenharmony_ci#define MEDIA_XG2RAM1                   7
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci#define AO_G3D                          1
778c2ecf20Sopenharmony_ci#define AO_CODECISP                     2
788c2ecf20Sopenharmony_ci#define AO_MCPU                         4
798c2ecf20Sopenharmony_ci#define AO_BBPHARQMEM                   5
808c2ecf20Sopenharmony_ci#define AO_HIFI                         8
818c2ecf20Sopenharmony_ci#define AO_ACPUSCUL2C                   12
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci#endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/
84