exynos4-clock.txt 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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. mout_mpll_user_t 17 Exynos4x12
  36. mout_mpll_user_c 18 Exynos4x12
  37. mout_core 19
  38. mout_apll 20
  39. [Clock Gate for Special Clocks]
  40. Clock ID SoC (if specific)
  41. -----------------------------------------------
  42. sclk_fimc0 128
  43. sclk_fimc1 129
  44. sclk_fimc2 130
  45. sclk_fimc3 131
  46. sclk_cam0 132
  47. sclk_cam1 133
  48. sclk_csis0 134
  49. sclk_csis1 135
  50. sclk_hdmi 136
  51. sclk_mixer 137
  52. sclk_dac 138
  53. sclk_pixel 139
  54. sclk_fimd0 140
  55. sclk_mdnie0 141 Exynos4412
  56. sclk_mdnie_pwm0 12 142 Exynos4412
  57. sclk_mipi0 143
  58. sclk_audio0 144
  59. sclk_mmc0 145
  60. sclk_mmc1 146
  61. sclk_mmc2 147
  62. sclk_mmc3 148
  63. sclk_mmc4 149
  64. sclk_sata 150 Exynos4210
  65. sclk_uart0 151
  66. sclk_uart1 152
  67. sclk_uart2 153
  68. sclk_uart3 154
  69. sclk_uart4 155
  70. sclk_audio1 156
  71. sclk_audio2 157
  72. sclk_spdif 158
  73. sclk_spi0 159
  74. sclk_spi1 160
  75. sclk_spi2 161
  76. sclk_slimbus 162
  77. sclk_fimd1 163 Exynos4210
  78. sclk_mipi1 164 Exynos4210
  79. sclk_pcm1 165
  80. sclk_pcm2 166
  81. sclk_i2s1 167
  82. sclk_i2s2 168
  83. sclk_mipihsi 169 Exynos4412
  84. sclk_mfc 170
  85. sclk_pcm0 171
  86. sclk_g3d 172
  87. sclk_pwm_isp 173 Exynos4x12
  88. sclk_spi0_isp 174 Exynos4x12
  89. sclk_spi1_isp 175 Exynos4x12
  90. sclk_uart_isp 176 Exynos4x12
  91. sclk_fimg2d 177
  92. [Peripheral Clock Gates]
  93. Clock ID SoC (if specific)
  94. -----------------------------------------------
  95. fimc0 256
  96. fimc1 257
  97. fimc2 258
  98. fimc3 259
  99. csis0 260
  100. csis1 261
  101. jpeg 262
  102. smmu_fimc0 263
  103. smmu_fimc1 264
  104. smmu_fimc2 265
  105. smmu_fimc3 266
  106. smmu_jpeg 267
  107. vp 268
  108. mixer 269
  109. tvenc 270 Exynos4210
  110. hdmi 271
  111. smmu_tv 272
  112. mfc 273
  113. smmu_mfcl 274
  114. smmu_mfcr 275
  115. g3d 276
  116. g2d 277
  117. rotator 278 Exynos4210
  118. mdma 279 Exynos4210
  119. smmu_g2d 280 Exynos4210
  120. smmu_rotator 281 Exynos4210
  121. smmu_mdma 282 Exynos4210
  122. fimd0 283
  123. mie0 284
  124. mdnie0 285 Exynos4412
  125. dsim0 286
  126. smmu_fimd0 287
  127. fimd1 288 Exynos4210
  128. mie1 289 Exynos4210
  129. dsim1 290 Exynos4210
  130. smmu_fimd1 291 Exynos4210
  131. pdma0 292
  132. pdma1 293
  133. pcie_phy 294
  134. sata_phy 295 Exynos4210
  135. tsi 296
  136. sdmmc0 297
  137. sdmmc1 298
  138. sdmmc2 299
  139. sdmmc3 300
  140. sdmmc4 301
  141. sata 302 Exynos4210
  142. sromc 303
  143. usb_host 304
  144. usb_device 305
  145. pcie 306
  146. onenand 307
  147. nfcon 308
  148. smmu_pcie 309
  149. gps 310
  150. smmu_gps 311
  151. uart0 312
  152. uart1 313
  153. uart2 314
  154. uart3 315
  155. uart4 316
  156. i2c0 317
  157. i2c1 318
  158. i2c2 319
  159. i2c3 320
  160. i2c4 321
  161. i2c5 322
  162. i2c6 323
  163. i2c7 324
  164. i2c_hdmi 325
  165. tsadc 326
  166. spi0 327
  167. spi1 328
  168. spi2 329
  169. i2s1 330
  170. i2s2 331
  171. pcm0 332
  172. i2s0 333
  173. pcm1 334
  174. pcm2 335
  175. pwm 336
  176. slimbus 337
  177. spdif 338
  178. ac97 339
  179. modemif 340
  180. chipid 341
  181. sysreg 342
  182. hdmi_cec 343
  183. mct 344
  184. wdt 345
  185. rtc 346
  186. keyif 347
  187. audss 348
  188. mipi_hsi 349 Exynos4210
  189. mdma2 350 Exynos4210
  190. pixelasyncm0 351
  191. pixelasyncm1 352
  192. fimc_lite0 353 Exynos4x12
  193. fimc_lite1 354 Exynos4x12
  194. ppmuispx 355 Exynos4x12
  195. ppmuispmx 356 Exynos4x12
  196. fimc_isp 357 Exynos4x12
  197. fimc_drc 358 Exynos4x12
  198. fimc_fd 359 Exynos4x12
  199. mcuisp 360 Exynos4x12
  200. gicisp 361 Exynos4x12
  201. smmu_isp 362 Exynos4x12
  202. smmu_drc 363 Exynos4x12
  203. smmu_fd 364 Exynos4x12
  204. smmu_lite0 365 Exynos4x12
  205. smmu_lite1 366 Exynos4x12
  206. mcuctl_isp 367 Exynos4x12
  207. mpwm_isp 368 Exynos4x12
  208. i2c0_isp 369 Exynos4x12
  209. i2c1_isp 370 Exynos4x12
  210. mtcadc_isp 371 Exynos4x12
  211. pwm_isp 372 Exynos4x12
  212. wdt_isp 373 Exynos4x12
  213. uart_isp 374 Exynos4x12
  214. asyncaxim 375 Exynos4x12
  215. smmu_ispcx 376 Exynos4x12
  216. spi0_isp 377 Exynos4x12
  217. spi1_isp 378 Exynos4x12
  218. pwm_isp_sclk 379 Exynos4x12
  219. spi0_isp_sclk 380 Exynos4x12
  220. spi1_isp_sclk 381 Exynos4x12
  221. uart_isp_sclk 382 Exynos4x12
  222. [Mux Clocks]
  223. Clock ID SoC (if specific)
  224. -----------------------------------------------
  225. mout_fimc0 384
  226. mout_fimc1 385
  227. mout_fimc2 386
  228. mout_fimc3 387
  229. mout_cam0 388
  230. mout_cam1 389
  231. mout_csis0 390
  232. mout_csis1 391
  233. mout_g3d0 392
  234. mout_g3d1 393
  235. mout_g3d 394
  236. aclk400_mcuisp 395 Exynos4x12
  237. [Div Clocks]
  238. Clock ID SoC (if specific)
  239. -----------------------------------------------
  240. div_isp0 450 Exynos4x12
  241. div_isp1 451 Exynos4x12
  242. div_mcuisp0 452 Exynos4x12
  243. div_mcuisp1 453 Exynos4x12
  244. div_aclk200 454 Exynos4x12
  245. div_aclk400_mcuisp 455 Exynos4x12
  246. Example 1: An example of a clock controller node is listed below.
  247. clock: clock-controller@0x10030000 {
  248. compatible = "samsung,exynos4210-clock";
  249. reg = <0x10030000 0x20000>;
  250. #clock-cells = <1>;
  251. };
  252. Example 2: UART controller node that consumes the clock generated by the clock
  253. controller. Refer to the standard clock bindings for information
  254. about 'clocks' and 'clock-names' property.
  255. serial@13820000 {
  256. compatible = "samsung,exynos4210-uart";
  257. reg = <0x13820000 0x100>;
  258. interrupts = <0 54 0>;
  259. clocks = <&clock 314>, <&clock 153>;
  260. clock-names = "uart", "clk_uart_baud0";
  261. };