imx5-clock.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. * Clock bindings for Freescale i.MX5
  2. Required properties:
  3. - compatible: Should be "fsl,<soc>-ccm" , where <soc> can be imx51 or imx53
  4. - reg: Address and length of the register set
  5. - interrupts: Should contain CCM interrupt
  6. - #clock-cells: Should be <1>
  7. The clock consumer should specify the desired clock by having the clock
  8. ID in its "clocks" phandle cell. The following is a full list of i.MX5
  9. clocks and IDs.
  10. Clock ID
  11. ---------------------------
  12. dummy 0
  13. ckil 1
  14. osc 2
  15. ckih1 3
  16. ckih2 4
  17. ahb 5
  18. ipg 6
  19. axi_a 7
  20. axi_b 8
  21. uart_pred 9
  22. uart_root 10
  23. esdhc_a_pred 11
  24. esdhc_b_pred 12
  25. esdhc_c_s 13
  26. esdhc_d_s 14
  27. emi_sel 15
  28. emi_slow_podf 16
  29. nfc_podf 17
  30. ecspi_pred 18
  31. ecspi_podf 19
  32. usboh3_pred 20
  33. usboh3_podf 21
  34. usb_phy_pred 22
  35. usb_phy_podf 23
  36. cpu_podf 24
  37. di_pred 25
  38. tve_s 27
  39. uart1_ipg_gate 28
  40. uart1_per_gate 29
  41. uart2_ipg_gate 30
  42. uart2_per_gate 31
  43. uart3_ipg_gate 32
  44. uart3_per_gate 33
  45. i2c1_gate 34
  46. i2c2_gate 35
  47. gpt_ipg_gate 36
  48. pwm1_ipg_gate 37
  49. pwm1_hf_gate 38
  50. pwm2_ipg_gate 39
  51. pwm2_hf_gate 40
  52. gpt_hf_gate 41
  53. fec_gate 42
  54. usboh3_per_gate 43
  55. esdhc1_ipg_gate 44
  56. esdhc2_ipg_gate 45
  57. esdhc3_ipg_gate 46
  58. esdhc4_ipg_gate 47
  59. ssi1_ipg_gate 48
  60. ssi2_ipg_gate 49
  61. ssi3_ipg_gate 50
  62. ecspi1_ipg_gate 51
  63. ecspi1_per_gate 52
  64. ecspi2_ipg_gate 53
  65. ecspi2_per_gate 54
  66. cspi_ipg_gate 55
  67. sdma_gate 56
  68. emi_slow_gate 57
  69. ipu_s 58
  70. ipu_gate 59
  71. nfc_gate 60
  72. ipu_di1_gate 61
  73. vpu_s 62
  74. vpu_gate 63
  75. vpu_reference_gate 64
  76. uart4_ipg_gate 65
  77. uart4_per_gate 66
  78. uart5_ipg_gate 67
  79. uart5_per_gate 68
  80. tve_gate 69
  81. tve_pred 70
  82. esdhc1_per_gate 71
  83. esdhc2_per_gate 72
  84. esdhc3_per_gate 73
  85. esdhc4_per_gate 74
  86. usb_phy_gate 75
  87. hsi2c_gate 76
  88. mipi_hsc1_gate 77
  89. mipi_hsc2_gate 78
  90. mipi_esc_gate 79
  91. mipi_hsp_gate 80
  92. ldb_di1_div_3_5 81
  93. ldb_di1_div 82
  94. ldb_di0_div_3_5 83
  95. ldb_di0_div 84
  96. ldb_di1_gate 85
  97. can2_serial_gate 86
  98. can2_ipg_gate 87
  99. i2c3_gate 88
  100. lp_apm 89
  101. periph_apm 90
  102. main_bus 91
  103. ahb_max 92
  104. aips_tz1 93
  105. aips_tz2 94
  106. tmax1 95
  107. tmax2 96
  108. tmax3 97
  109. spba 98
  110. uart_sel 99
  111. esdhc_a_sel 100
  112. esdhc_b_sel 101
  113. esdhc_a_podf 102
  114. esdhc_b_podf 103
  115. ecspi_sel 104
  116. usboh3_sel 105
  117. usb_phy_sel 106
  118. iim_gate 107
  119. usboh3_gate 108
  120. emi_fast_gate 109
  121. ipu_di0_gate 110
  122. gpc_dvfs 111
  123. pll1_sw 112
  124. pll2_sw 113
  125. pll3_sw 114
  126. ipu_di0_sel 115
  127. ipu_di1_sel 116
  128. tve_ext_sel 117
  129. mx51_mipi 118
  130. pll4_sw 119
  131. ldb_di1_sel 120
  132. di_pll4_podf 121
  133. ldb_di0_sel 122
  134. ldb_di0_gate 123
  135. usb_phy1_gate 124
  136. usb_phy2_gate 125
  137. per_lp_apm 126
  138. per_pred1 127
  139. per_pred2 128
  140. per_podf 129
  141. per_root 130
  142. ssi_apm 131
  143. ssi1_root_sel 132
  144. ssi2_root_sel 133
  145. ssi3_root_sel 134
  146. ssi_ext1_sel 135
  147. ssi_ext2_sel 136
  148. ssi_ext1_com_sel 137
  149. ssi_ext2_com_sel 138
  150. ssi1_root_pred 139
  151. ssi1_root_podf 140
  152. ssi2_root_pred 141
  153. ssi2_root_podf 142
  154. ssi_ext1_pred 143
  155. ssi_ext1_podf 144
  156. ssi_ext2_pred 145
  157. ssi_ext2_podf 146
  158. ssi1_root_gate 147
  159. ssi2_root_gate 148
  160. ssi3_root_gate 149
  161. ssi_ext1_gate 150
  162. ssi_ext2_gate 151
  163. epit1_ipg_gate 152
  164. epit1_hf_gate 153
  165. epit2_ipg_gate 154
  166. epit2_hf_gate 155
  167. can_sel 156
  168. can1_serial_gate 157
  169. can1_ipg_gate 158
  170. owire_gate 159
  171. gpu3d_s 160
  172. gpu2d_s 161
  173. gpu3d_gate 162
  174. gpu2d_gate 163
  175. garb_gate 164
  176. cko1_sel 165
  177. cko1_podf 166
  178. cko1 167
  179. cko2_sel 168
  180. cko2_podf 169
  181. cko2 170
  182. srtc_gate 171
  183. pata_gate 172
  184. sata_gate 173
  185. spdif_xtal_sel 174
  186. spdif0_sel 175
  187. spdif1_sel 176
  188. spdif0_pred 177
  189. spdif0_podf 178
  190. spdif1_pred 179
  191. spdif1_podf 180
  192. spdif0_com_sel 181
  193. spdif1_com_sel 182
  194. spdif0_gate 183
  195. spdif1_gate 184
  196. spdif_ipg_gate 185
  197. Examples (for mx53):
  198. clks: ccm@53fd4000{
  199. compatible = "fsl,imx53-ccm";
  200. reg = <0x53fd4000 0x4000>;
  201. interrupts = <0 71 0x04 0 72 0x04>;
  202. #clock-cells = <1>;
  203. };
  204. can1: can@53fc8000 {
  205. compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
  206. reg = <0x53fc8000 0x4000>;
  207. interrupts = <82>;
  208. clocks = <&clks 158>, <&clks 157>;
  209. clock-names = "ipg", "per";
  210. status = "disabled";
  211. };