sun5i-ccu.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /*
  2. * Copyright 2016 Maxime Ripard
  3. *
  4. * Maxime Ripard <maxime.ripard@free-electrons.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. */
  16. #ifndef _DT_BINDINGS_CLK_SUN5I_H_
  17. #define _DT_BINDINGS_CLK_SUN5I_H_
  18. #define CLK_HOSC 1
  19. #define CLK_PLL_VIDEO0_2X 9
  20. #define CLK_PLL_VIDEO1_2X 16
  21. #define CLK_CPU 17
  22. #define CLK_AHB_OTG 23
  23. #define CLK_AHB_EHCI 24
  24. #define CLK_AHB_OHCI 25
  25. #define CLK_AHB_SS 26
  26. #define CLK_AHB_DMA 27
  27. #define CLK_AHB_BIST 28
  28. #define CLK_AHB_MMC0 29
  29. #define CLK_AHB_MMC1 30
  30. #define CLK_AHB_MMC2 31
  31. #define CLK_AHB_NAND 32
  32. #define CLK_AHB_SDRAM 33
  33. #define CLK_AHB_EMAC 34
  34. #define CLK_AHB_TS 35
  35. #define CLK_AHB_SPI0 36
  36. #define CLK_AHB_SPI1 37
  37. #define CLK_AHB_SPI2 38
  38. #define CLK_AHB_GPS 39
  39. #define CLK_AHB_HSTIMER 40
  40. #define CLK_AHB_VE 41
  41. #define CLK_AHB_TVE 42
  42. #define CLK_AHB_LCD 43
  43. #define CLK_AHB_CSI 44
  44. #define CLK_AHB_HDMI 45
  45. #define CLK_AHB_DE_BE 46
  46. #define CLK_AHB_DE_FE 47
  47. #define CLK_AHB_IEP 48
  48. #define CLK_AHB_GPU 49
  49. #define CLK_APB0_CODEC 50
  50. #define CLK_APB0_SPDIF 51
  51. #define CLK_APB0_I2S 52
  52. #define CLK_APB0_PIO 53
  53. #define CLK_APB0_IR 54
  54. #define CLK_APB0_KEYPAD 55
  55. #define CLK_APB1_I2C0 56
  56. #define CLK_APB1_I2C1 57
  57. #define CLK_APB1_I2C2 58
  58. #define CLK_APB1_UART0 59
  59. #define CLK_APB1_UART1 60
  60. #define CLK_APB1_UART2 61
  61. #define CLK_APB1_UART3 62
  62. #define CLK_NAND 63
  63. #define CLK_MMC0 64
  64. #define CLK_MMC1 65
  65. #define CLK_MMC2 66
  66. #define CLK_TS 67
  67. #define CLK_SS 68
  68. #define CLK_SPI0 69
  69. #define CLK_SPI1 70
  70. #define CLK_SPI2 71
  71. #define CLK_IR 72
  72. #define CLK_I2S 73
  73. #define CLK_SPDIF 74
  74. #define CLK_KEYPAD 75
  75. #define CLK_USB_OHCI 76
  76. #define CLK_USB_PHY0 77
  77. #define CLK_USB_PHY1 78
  78. #define CLK_GPS 79
  79. #define CLK_DRAM_VE 80
  80. #define CLK_DRAM_CSI 81
  81. #define CLK_DRAM_TS 82
  82. #define CLK_DRAM_TVE 83
  83. #define CLK_DRAM_DE_FE 84
  84. #define CLK_DRAM_DE_BE 85
  85. #define CLK_DRAM_ACE 86
  86. #define CLK_DRAM_IEP 87
  87. #define CLK_DE_BE 88
  88. #define CLK_DE_FE 89
  89. #define CLK_TCON_CH0 90
  90. #define CLK_TCON_CH1 92
  91. #define CLK_CSI 93
  92. #define CLK_VE 94
  93. #define CLK_CODEC 95
  94. #define CLK_AVS 96
  95. #define CLK_HDMI 97
  96. #define CLK_GPU 98
  97. #define CLK_IEP 100
  98. #endif /* _DT_BINDINGS_CLK_SUN5I_H_ */