omap2430-clocks.dtsi 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. /*
  2. * Device Tree Source for OMAP2430 clock data
  3. *
  4. * Copyright (C) 2014 Texas Instruments, Inc.
  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 version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. &scrm_clocks {
  11. mcbsp3_mux_fck: mcbsp3_mux_fck {
  12. #clock-cells = <0>;
  13. compatible = "ti,composite-mux-clock";
  14. clocks = <&func_96m_ck>, <&mcbsp_clks>;
  15. reg = <0x02e8>;
  16. };
  17. mcbsp3_fck: mcbsp3_fck {
  18. #clock-cells = <0>;
  19. compatible = "ti,composite-clock";
  20. clocks = <&mcbsp3_gate_fck>, <&mcbsp3_mux_fck>;
  21. };
  22. mcbsp4_mux_fck: mcbsp4_mux_fck {
  23. #clock-cells = <0>;
  24. compatible = "ti,composite-mux-clock";
  25. clocks = <&func_96m_ck>, <&mcbsp_clks>;
  26. ti,bit-shift = <2>;
  27. reg = <0x02e8>;
  28. };
  29. mcbsp4_fck: mcbsp4_fck {
  30. #clock-cells = <0>;
  31. compatible = "ti,composite-clock";
  32. clocks = <&mcbsp4_gate_fck>, <&mcbsp4_mux_fck>;
  33. };
  34. mcbsp5_mux_fck: mcbsp5_mux_fck {
  35. #clock-cells = <0>;
  36. compatible = "ti,composite-mux-clock";
  37. clocks = <&func_96m_ck>, <&mcbsp_clks>;
  38. ti,bit-shift = <4>;
  39. reg = <0x02e8>;
  40. };
  41. mcbsp5_fck: mcbsp5_fck {
  42. #clock-cells = <0>;
  43. compatible = "ti,composite-clock";
  44. clocks = <&mcbsp5_gate_fck>, <&mcbsp5_mux_fck>;
  45. };
  46. };
  47. &prcm_clocks {
  48. iva2_1_gate_ick: iva2_1_gate_ick {
  49. #clock-cells = <0>;
  50. compatible = "ti,composite-gate-clock";
  51. clocks = <&dsp_fck>;
  52. ti,bit-shift = <0>;
  53. reg = <0x0800>;
  54. };
  55. iva2_1_div_ick: iva2_1_div_ick {
  56. #clock-cells = <0>;
  57. compatible = "ti,composite-divider-clock";
  58. clocks = <&dsp_fck>;
  59. ti,bit-shift = <5>;
  60. ti,max-div = <3>;
  61. reg = <0x0840>;
  62. ti,index-starts-at-one;
  63. };
  64. iva2_1_ick: iva2_1_ick {
  65. #clock-cells = <0>;
  66. compatible = "ti,composite-clock";
  67. clocks = <&iva2_1_gate_ick>, <&iva2_1_div_ick>;
  68. };
  69. mdm_gate_ick: mdm_gate_ick {
  70. #clock-cells = <0>;
  71. compatible = "ti,composite-interface-clock";
  72. clocks = <&core_ck>;
  73. ti,bit-shift = <0>;
  74. reg = <0x0c10>;
  75. };
  76. mdm_div_ick: mdm_div_ick {
  77. #clock-cells = <0>;
  78. compatible = "ti,composite-divider-clock";
  79. clocks = <&core_ck>;
  80. reg = <0x0c40>;
  81. ti,dividers = <0>, <1>, <0>, <0>, <4>, <0>, <6>, <0>, <0>, <9>;
  82. };
  83. mdm_ick: mdm_ick {
  84. #clock-cells = <0>;
  85. compatible = "ti,composite-clock";
  86. clocks = <&mdm_gate_ick>, <&mdm_div_ick>;
  87. };
  88. mdm_osc_ck: mdm_osc_ck {
  89. #clock-cells = <0>;
  90. compatible = "ti,omap3-interface-clock";
  91. clocks = <&osc_ck>;
  92. ti,bit-shift = <1>;
  93. reg = <0x0c00>;
  94. };
  95. mcbsp3_ick: mcbsp3_ick {
  96. #clock-cells = <0>;
  97. compatible = "ti,omap3-interface-clock";
  98. clocks = <&l4_ck>;
  99. ti,bit-shift = <3>;
  100. reg = <0x0214>;
  101. };
  102. mcbsp3_gate_fck: mcbsp3_gate_fck {
  103. #clock-cells = <0>;
  104. compatible = "ti,composite-gate-clock";
  105. clocks = <&mcbsp_clks>;
  106. ti,bit-shift = <3>;
  107. reg = <0x0204>;
  108. };
  109. mcbsp4_ick: mcbsp4_ick {
  110. #clock-cells = <0>;
  111. compatible = "ti,omap3-interface-clock";
  112. clocks = <&l4_ck>;
  113. ti,bit-shift = <4>;
  114. reg = <0x0214>;
  115. };
  116. mcbsp4_gate_fck: mcbsp4_gate_fck {
  117. #clock-cells = <0>;
  118. compatible = "ti,composite-gate-clock";
  119. clocks = <&mcbsp_clks>;
  120. ti,bit-shift = <4>;
  121. reg = <0x0204>;
  122. };
  123. mcbsp5_ick: mcbsp5_ick {
  124. #clock-cells = <0>;
  125. compatible = "ti,omap3-interface-clock";
  126. clocks = <&l4_ck>;
  127. ti,bit-shift = <5>;
  128. reg = <0x0214>;
  129. };
  130. mcbsp5_gate_fck: mcbsp5_gate_fck {
  131. #clock-cells = <0>;
  132. compatible = "ti,composite-gate-clock";
  133. clocks = <&mcbsp_clks>;
  134. ti,bit-shift = <5>;
  135. reg = <0x0204>;
  136. };
  137. mcspi3_ick: mcspi3_ick {
  138. #clock-cells = <0>;
  139. compatible = "ti,omap3-interface-clock";
  140. clocks = <&l4_ck>;
  141. ti,bit-shift = <9>;
  142. reg = <0x0214>;
  143. };
  144. mcspi3_fck: mcspi3_fck {
  145. #clock-cells = <0>;
  146. compatible = "ti,wait-gate-clock";
  147. clocks = <&func_48m_ck>;
  148. ti,bit-shift = <9>;
  149. reg = <0x0204>;
  150. };
  151. icr_ick: icr_ick {
  152. #clock-cells = <0>;
  153. compatible = "ti,omap3-interface-clock";
  154. clocks = <&sys_ck>;
  155. ti,bit-shift = <6>;
  156. reg = <0x0410>;
  157. };
  158. i2chs1_fck: i2chs1_fck {
  159. #clock-cells = <0>;
  160. compatible = "ti,omap2430-interface-clock";
  161. clocks = <&func_96m_ck>;
  162. ti,bit-shift = <19>;
  163. reg = <0x0204>;
  164. };
  165. i2chs2_fck: i2chs2_fck {
  166. #clock-cells = <0>;
  167. compatible = "ti,omap2430-interface-clock";
  168. clocks = <&func_96m_ck>;
  169. ti,bit-shift = <20>;
  170. reg = <0x0204>;
  171. };
  172. usbhs_ick: usbhs_ick {
  173. #clock-cells = <0>;
  174. compatible = "ti,omap3-interface-clock";
  175. clocks = <&core_l3_ck>;
  176. ti,bit-shift = <6>;
  177. reg = <0x0214>;
  178. };
  179. mmchs1_ick: mmchs1_ick {
  180. #clock-cells = <0>;
  181. compatible = "ti,omap3-interface-clock";
  182. clocks = <&l4_ck>;
  183. ti,bit-shift = <7>;
  184. reg = <0x0214>;
  185. };
  186. mmchs1_fck: mmchs1_fck {
  187. #clock-cells = <0>;
  188. compatible = "ti,wait-gate-clock";
  189. clocks = <&func_96m_ck>;
  190. ti,bit-shift = <7>;
  191. reg = <0x0204>;
  192. };
  193. mmchs2_ick: mmchs2_ick {
  194. #clock-cells = <0>;
  195. compatible = "ti,omap3-interface-clock";
  196. clocks = <&l4_ck>;
  197. ti,bit-shift = <8>;
  198. reg = <0x0214>;
  199. };
  200. mmchs2_fck: mmchs2_fck {
  201. #clock-cells = <0>;
  202. compatible = "ti,wait-gate-clock";
  203. clocks = <&func_96m_ck>;
  204. ti,bit-shift = <8>;
  205. reg = <0x0204>;
  206. };
  207. gpio5_ick: gpio5_ick {
  208. #clock-cells = <0>;
  209. compatible = "ti,omap3-interface-clock";
  210. clocks = <&l4_ck>;
  211. ti,bit-shift = <10>;
  212. reg = <0x0214>;
  213. };
  214. gpio5_fck: gpio5_fck {
  215. #clock-cells = <0>;
  216. compatible = "ti,wait-gate-clock";
  217. clocks = <&func_32k_ck>;
  218. ti,bit-shift = <10>;
  219. reg = <0x0204>;
  220. };
  221. mdm_intc_ick: mdm_intc_ick {
  222. #clock-cells = <0>;
  223. compatible = "ti,omap3-interface-clock";
  224. clocks = <&l4_ck>;
  225. ti,bit-shift = <11>;
  226. reg = <0x0214>;
  227. };
  228. mmchsdb1_fck: mmchsdb1_fck {
  229. #clock-cells = <0>;
  230. compatible = "ti,wait-gate-clock";
  231. clocks = <&func_32k_ck>;
  232. ti,bit-shift = <16>;
  233. reg = <0x0204>;
  234. };
  235. mmchsdb2_fck: mmchsdb2_fck {
  236. #clock-cells = <0>;
  237. compatible = "ti,wait-gate-clock";
  238. clocks = <&func_32k_ck>;
  239. ti,bit-shift = <17>;
  240. reg = <0x0204>;
  241. };
  242. };
  243. &prcm_clockdomains {
  244. gfx_clkdm: gfx_clkdm {
  245. compatible = "ti,clockdomain";
  246. clocks = <&gfx_ick>;
  247. };
  248. core_l3_clkdm: core_l3_clkdm {
  249. compatible = "ti,clockdomain";
  250. clocks = <&cam_fck>, <&usb_fck>, <&usbhs_ick>;
  251. };
  252. wkup_clkdm: wkup_clkdm {
  253. compatible = "ti,clockdomain";
  254. clocks = <&dpll_ck>, <&emul_ck>, <&gpt1_ick>, <&gpios_ick>,
  255. <&gpios_fck>, <&mpu_wdt_ick>, <&mpu_wdt_fck>,
  256. <&sync_32k_ick>, <&wdt1_ick>, <&omapctrl_ick>,
  257. <&icr_ick>;
  258. };
  259. dss_clkdm: dss_clkdm {
  260. compatible = "ti,clockdomain";
  261. clocks = <&dss_ick>, <&dss_54m_fck>;
  262. };
  263. core_l4_clkdm: core_l4_clkdm {
  264. compatible = "ti,clockdomain";
  265. clocks = <&ssi_l4_ick>, <&gpt2_ick>, <&gpt3_ick>, <&gpt4_ick>,
  266. <&gpt5_ick>, <&gpt6_ick>, <&gpt7_ick>, <&gpt8_ick>,
  267. <&gpt9_ick>, <&gpt10_ick>, <&gpt11_ick>, <&gpt12_ick>,
  268. <&mcbsp1_ick>, <&mcbsp2_ick>, <&mcbsp3_ick>,
  269. <&mcbsp4_ick>, <&mcbsp5_ick>, <&mcspi1_ick>,
  270. <&mcspi1_fck>, <&mcspi2_ick>, <&mcspi2_fck>,
  271. <&mcspi3_ick>, <&mcspi3_fck>, <&uart1_ick>,
  272. <&uart1_fck>, <&uart2_ick>, <&uart2_fck>, <&uart3_ick>,
  273. <&uart3_fck>, <&cam_ick>, <&mailboxes_ick>,
  274. <&wdt4_ick>, <&wdt4_fck>, <&mspro_ick>, <&mspro_fck>,
  275. <&fac_ick>, <&fac_fck>, <&hdq_ick>, <&hdq_fck>,
  276. <&i2c1_ick>, <&i2chs1_fck>, <&i2c2_ick>, <&i2chs2_fck>,
  277. <&des_ick>, <&sha_ick>, <&rng_ick>, <&aes_ick>,
  278. <&pka_ick>, <&mmchs1_ick>, <&mmchs1_fck>,
  279. <&mmchs2_ick>, <&mmchs2_fck>, <&gpio5_ick>,
  280. <&gpio5_fck>, <&mdm_intc_ick>, <&mmchsdb1_fck>,
  281. <&mmchsdb2_fck>;
  282. };
  283. mdm_clkdm: mdm_clkdm {
  284. compatible = "ti,clockdomain";
  285. clocks = <&mdm_osc_ck>;
  286. };
  287. };
  288. &func_96m_ck {
  289. compatible = "ti,mux-clock";
  290. clocks = <&apll96_ck>, <&alt_ck>;
  291. ti,bit-shift = <4>;
  292. reg = <0x0540>;
  293. };
  294. &dsp_div_fck {
  295. ti,max-div = <4>;
  296. ti,index-starts-at-one;
  297. };
  298. &ssi_ssr_sst_div_fck {
  299. ti,max-div = <5>;
  300. ti,index-starts-at-one;
  301. };