rk3399-power.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __DT_BINDINGS_POWER_RK3399_POWER_H__
  3. #define __DT_BINDINGS_POWER_RK3399_POWER_H__
  4. /* VD_CORE_L */
  5. #define RK3399_PD_A53_L0 0
  6. #define RK3399_PD_A53_L1 1
  7. #define RK3399_PD_A53_L2 2
  8. #define RK3399_PD_A53_L3 3
  9. #define RK3399_PD_SCU_L 4
  10. /* VD_CORE_B */
  11. #define RK3399_PD_A72_B0 5
  12. #define RK3399_PD_A72_B1 6
  13. #define RK3399_PD_SCU_B 7
  14. /* VD_LOGIC */
  15. #define RK3399_PD_TCPD0 8
  16. #define RK3399_PD_TCPD1 9
  17. #define RK3399_PD_CCI 10
  18. #define RK3399_PD_CCI0 11
  19. #define RK3399_PD_CCI1 12
  20. #define RK3399_PD_PERILP 13
  21. #define RK3399_PD_PERIHP 14
  22. #define RK3399_PD_VIO 15
  23. #define RK3399_PD_VO 16
  24. #define RK3399_PD_VOPB 17
  25. #define RK3399_PD_VOPL 18
  26. #define RK3399_PD_ISP0 19
  27. #define RK3399_PD_ISP1 20
  28. #define RK3399_PD_HDCP 21
  29. #define RK3399_PD_GMAC 22
  30. #define RK3399_PD_EMMC 23
  31. #define RK3399_PD_USB3 24
  32. #define RK3399_PD_EDP 25
  33. #define RK3399_PD_GIC 26
  34. #define RK3399_PD_SD 27
  35. #define RK3399_PD_SDIOAUDIO 28
  36. #define RK3399_PD_ALIVE 29
  37. /* VD_CENTER */
  38. #define RK3399_PD_CENTER 30
  39. #define RK3399_PD_VCODEC 31
  40. #define RK3399_PD_VDU 32
  41. #define RK3399_PD_RGA 33
  42. #define RK3399_PD_IEP 34
  43. /* VD_GPU */
  44. #define RK3399_PD_GPU 35
  45. /* VD_PMU */
  46. #define RK3399_PD_PMU 36
  47. #endif