am35xx-clocks.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /*
  2. * Device Tree Source for OMAP3 clock data
  3. *
  4. * Copyright (C) 2013 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. emac_ick: emac_ick {
  12. #clock-cells = <0>;
  13. compatible = "ti,am35xx-gate-clock";
  14. clocks = <&ipss_ick>;
  15. reg = <0x059c>;
  16. ti,bit-shift = <1>;
  17. };
  18. emac_fck: emac_fck {
  19. #clock-cells = <0>;
  20. compatible = "ti,gate-clock";
  21. clocks = <&rmii_ck>;
  22. reg = <0x059c>;
  23. ti,bit-shift = <9>;
  24. };
  25. vpfe_ick: vpfe_ick {
  26. #clock-cells = <0>;
  27. compatible = "ti,am35xx-gate-clock";
  28. clocks = <&ipss_ick>;
  29. reg = <0x059c>;
  30. ti,bit-shift = <2>;
  31. };
  32. vpfe_fck: vpfe_fck {
  33. #clock-cells = <0>;
  34. compatible = "ti,gate-clock";
  35. clocks = <&pclk_ck>;
  36. reg = <0x059c>;
  37. ti,bit-shift = <10>;
  38. };
  39. hsotgusb_ick_am35xx: hsotgusb_ick_am35xx {
  40. #clock-cells = <0>;
  41. compatible = "ti,am35xx-gate-clock";
  42. clocks = <&ipss_ick>;
  43. reg = <0x059c>;
  44. ti,bit-shift = <0>;
  45. };
  46. hsotgusb_fck_am35xx: hsotgusb_fck_am35xx {
  47. #clock-cells = <0>;
  48. compatible = "ti,gate-clock";
  49. clocks = <&sys_ck>;
  50. reg = <0x059c>;
  51. ti,bit-shift = <8>;
  52. };
  53. hecc_ck: hecc_ck {
  54. #clock-cells = <0>;
  55. compatible = "ti,am35xx-gate-clock";
  56. clocks = <&sys_ck>;
  57. reg = <0x059c>;
  58. ti,bit-shift = <3>;
  59. };
  60. };
  61. &cm_clocks {
  62. ipss_ick: ipss_ick {
  63. #clock-cells = <0>;
  64. compatible = "ti,am35xx-interface-clock";
  65. clocks = <&core_l3_ick>;
  66. reg = <0x0a10>;
  67. ti,bit-shift = <4>;
  68. };
  69. rmii_ck: rmii_ck {
  70. #clock-cells = <0>;
  71. compatible = "fixed-clock";
  72. clock-frequency = <50000000>;
  73. };
  74. pclk_ck: pclk_ck {
  75. #clock-cells = <0>;
  76. compatible = "fixed-clock";
  77. clock-frequency = <27000000>;
  78. };
  79. uart4_ick_am35xx: uart4_ick_am35xx {
  80. #clock-cells = <0>;
  81. compatible = "ti,omap3-interface-clock";
  82. clocks = <&core_l4_ick>;
  83. reg = <0x0a10>;
  84. ti,bit-shift = <23>;
  85. };
  86. uart4_fck_am35xx: uart4_fck_am35xx {
  87. #clock-cells = <0>;
  88. compatible = "ti,wait-gate-clock";
  89. clocks = <&core_48m_fck>;
  90. reg = <0x0a00>;
  91. ti,bit-shift = <23>;
  92. };
  93. };
  94. &cm_clockdomains {
  95. core_l3_clkdm: core_l3_clkdm {
  96. compatible = "ti,clockdomain";
  97. clocks = <&sdrc_ick>, <&ipss_ick>, <&emac_ick>, <&vpfe_ick>,
  98. <&hsotgusb_ick_am35xx>, <&hsotgusb_fck_am35xx>,
  99. <&hecc_ck>;
  100. };
  101. core_l4_clkdm: core_l4_clkdm {
  102. compatible = "ti,clockdomain";
  103. clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
  104. <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
  105. <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
  106. <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
  107. <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
  108. <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
  109. <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
  110. <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
  111. <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
  112. <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
  113. <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
  114. <&uart4_ick_am35xx>, <&uart4_fck_am35xx>;
  115. };
  116. };