exynos4-clock.txt 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. * Samsung Exynos4 Clock Controller
  2. The Exynos4 clock controller generates and supplies clock to various controllers
  3. within the Exynos4 SoC. The clock binding described here is applicable to all
  4. SoC's in the Exynos4 family.
  5. Required Properties:
  6. - comptible: should be one of the following.
  7. - "samsung,exynos4210-clock" - controller compatible with Exynos4210 SoC.
  8. - "samsung,exynos4412-clock" - controller compatible with Exynos4412 SoC.
  9. - reg: physical base address of the controller and length of memory mapped
  10. region.
  11. - #clock-cells: should be 1.
  12. The following is the list of clocks generated by the controller. Each clock is
  13. assigned an identifier and client nodes use this identifier to specify the
  14. clock which they consume. Some of the clocks are available only on a particular
  15. Exynos4 SoC and this is specified where applicable.
  16. [Core Clocks]
  17. Clock ID SoC (if specific)
  18. -----------------------------------------------
  19. xxti 1
  20. xusbxti 2
  21. fin_pll 3
  22. fout_apll 4
  23. fout_mpll 5
  24. fout_epll 6
  25. fout_vpll 7
  26. sclk_apll 8
  27. sclk_mpll 9
  28. sclk_epll 10
  29. sclk_vpll 11
  30. arm_clk 12
  31. aclk200 13
  32. aclk100 14
  33. aclk160 15
  34. aclk133 16
  35. [Clock Gate for Special Clocks]
  36. Clock ID SoC (if specific)
  37. -----------------------------------------------
  38. sclk_fimc0 128
  39. sclk_fimc1 129
  40. sclk_fimc2 130
  41. sclk_fimc3 131
  42. sclk_cam0 132
  43. sclk_cam1 133
  44. sclk_csis0 134
  45. sclk_csis1 135
  46. sclk_hdmi 136
  47. sclk_mixer 137
  48. sclk_dac 138
  49. sclk_pixel 139
  50. sclk_fimd0 140
  51. sclk_mdnie0 141 Exynos4412
  52. sclk_mdnie_pwm0 12 142 Exynos4412
  53. sclk_mipi0 143
  54. sclk_audio0 144
  55. sclk_mmc0 145
  56. sclk_mmc1 146
  57. sclk_mmc2 147
  58. sclk_mmc3 148
  59. sclk_mmc4 149
  60. sclk_sata 150 Exynos4210
  61. sclk_uart0 151
  62. sclk_uart1 152
  63. sclk_uart2 153
  64. sclk_uart3 154
  65. sclk_uart4 155
  66. sclk_audio1 156
  67. sclk_audio2 157
  68. sclk_spdif 158
  69. sclk_spi0 159
  70. sclk_spi1 160
  71. sclk_spi2 161
  72. sclk_slimbus 162
  73. sclk_fimd1 163 Exynos4210
  74. sclk_mipi1 164 Exynos4210
  75. sclk_pcm1 165
  76. sclk_pcm2 166
  77. sclk_i2s1 167
  78. sclk_i2s2 168
  79. sclk_mipihsi 169 Exynos4412
  80. [Peripheral Clock Gates]
  81. Clock ID SoC (if specific)
  82. -----------------------------------------------
  83. fimc0 256
  84. fimc1 257
  85. fimc2 258
  86. fimc3 259
  87. csis0 260
  88. csis1 261
  89. jpeg 262
  90. smmu_fimc0 263
  91. smmu_fimc1 264
  92. smmu_fimc2 265
  93. smmu_fimc3 266
  94. smmu_jpeg 267
  95. vp 268
  96. mixer 269
  97. tvenc 270 Exynos4210
  98. hdmi 271
  99. smmu_tv 272
  100. mfc 273
  101. smmu_mfcl 274
  102. smmu_mfcr 275
  103. g3d 276
  104. g2d 277 Exynos4210
  105. rotator 278 Exynos4210
  106. mdma 279 Exynos4210
  107. smmu_g2d 280 Exynos4210
  108. smmu_rotator 281 Exynos4210
  109. smmu_mdma 282 Exynos4210
  110. fimd0 283
  111. mie0 284
  112. mdnie0 285 Exynos4412
  113. dsim0 286
  114. smmu_fimd0 287
  115. fimd1 288 Exynos4210
  116. mie1 289 Exynos4210
  117. dsim1 290 Exynos4210
  118. smmu_fimd1 291 Exynos4210
  119. pdma0 292
  120. pdma1 293
  121. pcie_phy 294
  122. sata_phy 295 Exynos4210
  123. tsi 296
  124. sdmmc0 297
  125. sdmmc1 298
  126. sdmmc2 299
  127. sdmmc3 300
  128. sdmmc4 301
  129. sata 302 Exynos4210
  130. sromc 303
  131. usb_host 304
  132. usb_device 305
  133. pcie 306
  134. onenand 307
  135. nfcon 308
  136. smmu_pcie 309
  137. gps 310
  138. smmu_gps 311
  139. uart0 312
  140. uart1 313
  141. uart2 314
  142. uart3 315
  143. uart4 316
  144. i2c0 317
  145. i2c1 318
  146. i2c2 319
  147. i2c3 320
  148. i2c4 321
  149. i2c5 322
  150. i2c6 323
  151. i2c7 324
  152. i2c_hdmi 325
  153. tsadc 326
  154. spi0 327
  155. spi1 328
  156. spi2 329
  157. i2s1 330
  158. i2s2 331
  159. pcm0 332
  160. i2s0 333
  161. pcm1 334
  162. pcm2 335
  163. pwm 336
  164. slimbus 337
  165. spdif 338
  166. ac97 339
  167. modemif 340
  168. chipid 341
  169. sysreg 342
  170. hdmi_cec 343
  171. mct 344
  172. wdt 345
  173. rtc 346
  174. keyif 347
  175. audss 348
  176. mipi_hsi 349 Exynos4210
  177. mdma2 350 Exynos4210
  178. Example 1: An example of a clock controller node is listed below.
  179. clock: clock-controller@0x10030000 {
  180. compatible = "samsung,exynos4210-clock";
  181. reg = <0x10030000 0x20000>;
  182. #clock-cells = <1>;
  183. };
  184. Example 2: UART controller node that consumes the clock generated by the clock
  185. controller. Refer to the standard clock bindings for information
  186. about 'clocks' and 'clock-names' property.
  187. serial@13820000 {
  188. compatible = "samsung,exynos4210-uart";
  189. reg = <0x13820000 0x100>;
  190. interrupts = <0 54 0>;
  191. clocks = <&clock 314>, <&clock 153>;
  192. clock-names = "uart", "clk_uart_baud0";
  193. };