hisi,hi6220-resets.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * This header provides index for the reset controller
  3. * based on hi6220 SoC.
  4. */
  5. #ifndef _DT_BINDINGS_RESET_CONTROLLER_HI6220
  6. #define _DT_BINDINGS_RESET_CONTROLLER_HI6220
  7. #define PERIPH_RSTDIS0_MMC0 0x000
  8. #define PERIPH_RSTDIS0_MMC1 0x001
  9. #define PERIPH_RSTDIS0_MMC2 0x002
  10. #define PERIPH_RSTDIS0_NANDC 0x003
  11. #define PERIPH_RSTDIS0_USBOTG_BUS 0x004
  12. #define PERIPH_RSTDIS0_POR_PICOPHY 0x005
  13. #define PERIPH_RSTDIS0_USBOTG 0x006
  14. #define PERIPH_RSTDIS0_USBOTG_32K 0x007
  15. #define PERIPH_RSTDIS1_HIFI 0x100
  16. #define PERIPH_RSTDIS1_DIGACODEC 0x105
  17. #define PERIPH_RSTEN2_IPF 0x200
  18. #define PERIPH_RSTEN2_SOCP 0x201
  19. #define PERIPH_RSTEN2_DMAC 0x202
  20. #define PERIPH_RSTEN2_SECENG 0x203
  21. #define PERIPH_RSTEN2_ABB 0x204
  22. #define PERIPH_RSTEN2_HPM0 0x205
  23. #define PERIPH_RSTEN2_HPM1 0x206
  24. #define PERIPH_RSTEN2_HPM2 0x207
  25. #define PERIPH_RSTEN2_HPM3 0x208
  26. #define PERIPH_RSTEN3_CSSYS 0x300
  27. #define PERIPH_RSTEN3_I2C0 0x301
  28. #define PERIPH_RSTEN3_I2C1 0x302
  29. #define PERIPH_RSTEN3_I2C2 0x303
  30. #define PERIPH_RSTEN3_I2C3 0x304
  31. #define PERIPH_RSTEN3_UART1 0x305
  32. #define PERIPH_RSTEN3_UART2 0x306
  33. #define PERIPH_RSTEN3_UART3 0x307
  34. #define PERIPH_RSTEN3_UART4 0x308
  35. #define PERIPH_RSTEN3_SSP 0x309
  36. #define PERIPH_RSTEN3_PWM 0x30a
  37. #define PERIPH_RSTEN3_BLPWM 0x30b
  38. #define PERIPH_RSTEN3_TSENSOR 0x30c
  39. #define PERIPH_RSTEN3_DAPB 0x312
  40. #define PERIPH_RSTEN3_HKADC 0x313
  41. #define PERIPH_RSTEN3_CODEC_SSI 0x314
  42. #define PERIPH_RSTEN3_PMUSSI1 0x316
  43. #define PERIPH_RSTEN8_RS0 0x400
  44. #define PERIPH_RSTEN8_RS2 0x401
  45. #define PERIPH_RSTEN8_RS3 0x402
  46. #define PERIPH_RSTEN8_MS0 0x403
  47. #define PERIPH_RSTEN8_MS2 0x405
  48. #define PERIPH_RSTEN8_XG2RAM0 0x406
  49. #define PERIPH_RSTEN8_X2SRAM_TZMA 0x407
  50. #define PERIPH_RSTEN8_SRAM 0x408
  51. #define PERIPH_RSTEN8_HARQ 0x40a
  52. #define PERIPH_RSTEN8_DDRC 0x40c
  53. #define PERIPH_RSTEN8_DDRC_APB 0x40d
  54. #define PERIPH_RSTEN8_DDRPACK_APB 0x40e
  55. #define PERIPH_RSTEN8_DDRT 0x411
  56. #define PERIPH_RSDIST9_CARM_DAP 0x500
  57. #define PERIPH_RSDIST9_CARM_ATB 0x501
  58. #define PERIPH_RSDIST9_CARM_LBUS 0x502
  59. #define PERIPH_RSDIST9_CARM_POR 0x503
  60. #define PERIPH_RSDIST9_CARM_CORE 0x504
  61. #define PERIPH_RSDIST9_CARM_DBG 0x505
  62. #define PERIPH_RSDIST9_CARM_L2 0x506
  63. #define PERIPH_RSDIST9_CARM_SOCDBG 0x507
  64. #define PERIPH_RSDIST9_CARM_ETM 0x508
  65. #define MEDIA_G3D 0
  66. #define MEDIA_CODEC_VPU 2
  67. #define MEDIA_CODEC_JPEG 3
  68. #define MEDIA_ISP 4
  69. #define MEDIA_ADE 5
  70. #define MEDIA_MMU 6
  71. #define MEDIA_XG2RAM1 7
  72. #endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/