jz4780-cgu.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This header provides clock numbers for the ingenic,jz4780-cgu DT binding.
  4. *
  5. * They are roughly ordered as:
  6. * - external clocks
  7. * - PLLs
  8. * - muxes/dividers in the order they appear in the jz4780 programmers manual
  9. * - gates in order of their bit in the CLKGR* registers
  10. */
  11. #ifndef __DT_BINDINGS_CLOCK_JZ4780_CGU_H__
  12. #define __DT_BINDINGS_CLOCK_JZ4780_CGU_H__
  13. #define JZ4780_CLK_EXCLK 0
  14. #define JZ4780_CLK_RTCLK 1
  15. #define JZ4780_CLK_APLL 2
  16. #define JZ4780_CLK_MPLL 3
  17. #define JZ4780_CLK_EPLL 4
  18. #define JZ4780_CLK_VPLL 5
  19. #define JZ4780_CLK_OTGPHY 6
  20. #define JZ4780_CLK_SCLKA 7
  21. #define JZ4780_CLK_CPUMUX 8
  22. #define JZ4780_CLK_CPU 9
  23. #define JZ4780_CLK_L2CACHE 10
  24. #define JZ4780_CLK_AHB0 11
  25. #define JZ4780_CLK_AHB2PMUX 12
  26. #define JZ4780_CLK_AHB2 13
  27. #define JZ4780_CLK_PCLK 14
  28. #define JZ4780_CLK_DDR 15
  29. #define JZ4780_CLK_VPU 16
  30. #define JZ4780_CLK_I2SPLL 17
  31. #define JZ4780_CLK_I2S 18
  32. #define JZ4780_CLK_LCD0PIXCLK 19
  33. #define JZ4780_CLK_LCD1PIXCLK 20
  34. #define JZ4780_CLK_MSCMUX 21
  35. #define JZ4780_CLK_MSC0 22
  36. #define JZ4780_CLK_MSC1 23
  37. #define JZ4780_CLK_MSC2 24
  38. #define JZ4780_CLK_UHC 25
  39. #define JZ4780_CLK_SSIPLL 26
  40. #define JZ4780_CLK_SSI 27
  41. #define JZ4780_CLK_CIMMCLK 28
  42. #define JZ4780_CLK_PCMPLL 29
  43. #define JZ4780_CLK_PCM 30
  44. #define JZ4780_CLK_GPU 31
  45. #define JZ4780_CLK_HDMI 32
  46. #define JZ4780_CLK_BCH 33
  47. #define JZ4780_CLK_NEMC 34
  48. #define JZ4780_CLK_OTG0 35
  49. #define JZ4780_CLK_SSI0 36
  50. #define JZ4780_CLK_SMB0 37
  51. #define JZ4780_CLK_SMB1 38
  52. #define JZ4780_CLK_SCC 39
  53. #define JZ4780_CLK_AIC 40
  54. #define JZ4780_CLK_TSSI0 41
  55. #define JZ4780_CLK_OWI 42
  56. #define JZ4780_CLK_KBC 43
  57. #define JZ4780_CLK_SADC 44
  58. #define JZ4780_CLK_UART0 45
  59. #define JZ4780_CLK_UART1 46
  60. #define JZ4780_CLK_UART2 47
  61. #define JZ4780_CLK_UART3 48
  62. #define JZ4780_CLK_SSI1 49
  63. #define JZ4780_CLK_SSI2 50
  64. #define JZ4780_CLK_PDMA 51
  65. #define JZ4780_CLK_GPS 52
  66. #define JZ4780_CLK_MAC 53
  67. #define JZ4780_CLK_SMB2 54
  68. #define JZ4780_CLK_CIM 55
  69. #define JZ4780_CLK_LCD 56
  70. #define JZ4780_CLK_TVE 57
  71. #define JZ4780_CLK_IPU 58
  72. #define JZ4780_CLK_DDR0 59
  73. #define JZ4780_CLK_DDR1 60
  74. #define JZ4780_CLK_SMB3 61
  75. #define JZ4780_CLK_TSSI1 62
  76. #define JZ4780_CLK_COMPRESS 63
  77. #define JZ4780_CLK_AIC1 64
  78. #define JZ4780_CLK_GPVLC 65
  79. #define JZ4780_CLK_OTG1 66
  80. #define JZ4780_CLK_UART4 67
  81. #define JZ4780_CLK_AHBMON 68
  82. #define JZ4780_CLK_SMB4 69
  83. #define JZ4780_CLK_DES 70
  84. #define JZ4780_CLK_X2D 71
  85. #define JZ4780_CLK_CORE1 72
  86. #endif /* __DT_BINDINGS_CLOCK_JZ4780_CGU_H__ */