imx5-clock.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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_di 26
  39. tve_s 27
  40. uart1_ipg_gate 28
  41. uart1_per_gate 29
  42. uart2_ipg_gate 30
  43. uart2_per_gate 31
  44. uart3_ipg_gate 32
  45. uart3_per_gate 33
  46. i2c1_gate 34
  47. i2c2_gate 35
  48. gpt_ipg_gate 36
  49. pwm1_ipg_gate 37
  50. pwm1_hf_gate 38
  51. pwm2_ipg_gate 39
  52. pwm2_hf_gate 40
  53. gpt_hf_gate 41
  54. fec_gate 42
  55. usboh3_per_gate 43
  56. esdhc1_ipg_gate 44
  57. esdhc2_ipg_gate 45
  58. esdhc3_ipg_gate 46
  59. esdhc4_ipg_gate 47
  60. ssi1_ipg_gate 48
  61. ssi2_ipg_gate 49
  62. ssi3_ipg_gate 50
  63. ecspi1_ipg_gate 51
  64. ecspi1_per_gate 52
  65. ecspi2_ipg_gate 53
  66. ecspi2_per_gate 54
  67. cspi_ipg_gate 55
  68. sdma_gate 56
  69. emi_slow_gate 57
  70. ipu_s 58
  71. ipu_gate 59
  72. nfc_gate 60
  73. ipu_di1_gate 61
  74. vpu_s 62
  75. vpu_gate 63
  76. vpu_reference_gate 64
  77. uart4_ipg_gate 65
  78. uart4_per_gate 66
  79. uart5_ipg_gate 67
  80. uart5_per_gate 68
  81. tve_gate 69
  82. tve_pred 70
  83. esdhc1_per_gate 71
  84. esdhc2_per_gate 72
  85. esdhc3_per_gate 73
  86. esdhc4_per_gate 74
  87. usb_phy_gate 75
  88. hsi2c_gate 76
  89. mipi_hsc1_gate 77
  90. mipi_hsc2_gate 78
  91. mipi_esc_gate 79
  92. mipi_hsp_gate 80
  93. ldb_di1_div_3_5 81
  94. ldb_di1_div 82
  95. ldb_di0_div_3_5 83
  96. ldb_di0_div 84
  97. ldb_di1_gate 85
  98. can2_serial_gate 86
  99. can2_ipg_gate 87
  100. i2c3_gate 88
  101. lp_apm 89
  102. periph_apm 90
  103. main_bus 91
  104. ahb_max 92
  105. aips_tz1 93
  106. aips_tz2 94
  107. tmax1 95
  108. tmax2 96
  109. tmax3 97
  110. spba 98
  111. uart_sel 99
  112. esdhc_a_sel 100
  113. esdhc_b_sel 101
  114. esdhc_a_podf 102
  115. esdhc_b_podf 103
  116. ecspi_sel 104
  117. usboh3_sel 105
  118. usb_phy_sel 106
  119. iim_gate 107
  120. usboh3_gate 108
  121. emi_fast_gate 109
  122. ipu_di0_gate 110
  123. gpc_dvfs 111
  124. pll1_sw 112
  125. pll2_sw 113
  126. pll3_sw 114
  127. ipu_di0_sel 115
  128. ipu_di1_sel 116
  129. tve_ext_sel 117
  130. mx51_mipi 118
  131. pll4_sw 119
  132. ldb_di1_sel 120
  133. di_pll4_podf 121
  134. ldb_di0_sel 122
  135. ldb_di0_gate 123
  136. usb_phy1_gate 124
  137. usb_phy2_gate 125
  138. per_lp_apm 126
  139. per_pred1 127
  140. per_pred2 128
  141. per_podf 129
  142. per_root 130
  143. ssi_apm 131
  144. ssi1_root_sel 132
  145. ssi2_root_sel 133
  146. ssi3_root_sel 134
  147. ssi_ext1_sel 135
  148. ssi_ext2_sel 136
  149. ssi_ext1_com_sel 137
  150. ssi_ext2_com_sel 138
  151. ssi1_root_pred 139
  152. ssi1_root_podf 140
  153. ssi2_root_pred 141
  154. ssi2_root_podf 142
  155. ssi_ext1_pred 143
  156. ssi_ext1_podf 144
  157. ssi_ext2_pred 145
  158. ssi_ext2_podf 146
  159. ssi1_root_gate 147
  160. ssi2_root_gate 148
  161. ssi3_root_gate 149
  162. ssi_ext1_gate 150
  163. ssi_ext2_gate 151
  164. epit1_ipg_gate 152
  165. epit1_hf_gate 153
  166. epit2_ipg_gate 154
  167. epit2_hf_gate 155
  168. can_sel 156
  169. can1_serial_gate 157
  170. can1_ipg_gate 158
  171. owire_gate 159
  172. Examples (for mx53):
  173. clks: ccm@53fd4000{
  174. compatible = "fsl,imx53-ccm";
  175. reg = <0x53fd4000 0x4000>;
  176. interrupts = <0 71 0x04 0 72 0x04>;
  177. #clock-cells = <1>;
  178. };
  179. can1: can@53fc8000 {
  180. compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
  181. reg = <0x53fc8000 0x4000>;
  182. interrupts = <82>;
  183. clocks = <&clks 158>, <&clks 157>;
  184. clock-names = "ipg", "per";
  185. status = "disabled";
  186. };