diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-12-29 16:31:53 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-12-29 16:31:53 -0500 |
commit | 2c6b473bfabdca1be95612543d7b31376df30caa (patch) | |
tree | d982eea37271c51d519baa12aa53148fe166b16a /arch/arm/boot/dts/sun4i-a10.dtsi | |
parent | 81ee429ffdd021626bf191bb8a3ae886dd94adcc (diff) | |
parent | 118c07aedad55de8be81845e6d6429d266906b7d (diff) |
Merge tag 'sunxi-clk-3.14-for-maxime' of https://bitbucket.org/emiliolopez/linux into sunxi/dt-for-3.14
Allwinner sunXi SoCs DT changes for clocks
This contains the DT parts of the "[PATCH v3 00/13] clk: sunxi: add PLL5
and PLL6 support" series. It adds DT nodes for PLL4/5/6 and mod0 clocks
on most sunxi platforms.
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10.dtsi | 146 |
1 files changed, 144 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 0bf70ee041ed..3ba2b4675f03 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi | |||
@@ -70,6 +70,29 @@ | |||
70 | clocks = <&osc24M>; | 70 | clocks = <&osc24M>; |
71 | }; | 71 | }; |
72 | 72 | ||
73 | pll4: pll4@01c20018 { | ||
74 | #clock-cells = <0>; | ||
75 | compatible = "allwinner,sun4i-pll1-clk"; | ||
76 | reg = <0x01c20018 0x4>; | ||
77 | clocks = <&osc24M>; | ||
78 | }; | ||
79 | |||
80 | pll5: pll5@01c20020 { | ||
81 | #clock-cells = <1>; | ||
82 | compatible = "allwinner,sun4i-pll5-clk"; | ||
83 | reg = <0x01c20020 0x4>; | ||
84 | clocks = <&osc24M>; | ||
85 | clock-output-names = "pll5_ddr", "pll5_other"; | ||
86 | }; | ||
87 | |||
88 | pll6: pll6@01c20028 { | ||
89 | #clock-cells = <1>; | ||
90 | compatible = "allwinner,sun4i-pll6-clk"; | ||
91 | reg = <0x01c20028 0x4>; | ||
92 | clocks = <&osc24M>; | ||
93 | clock-output-names = "pll6_sata", "pll6_other", "pll6"; | ||
94 | }; | ||
95 | |||
73 | /* dummy is 200M */ | 96 | /* dummy is 200M */ |
74 | cpu: cpu@01c20054 { | 97 | cpu: cpu@01c20054 { |
75 | #clock-cells = <0>; | 98 | #clock-cells = <0>; |
@@ -135,12 +158,11 @@ | |||
135 | "apb0_ir1", "apb0_keypad"; | 158 | "apb0_ir1", "apb0_keypad"; |
136 | }; | 159 | }; |
137 | 160 | ||
138 | /* dummy is pll62 */ | ||
139 | apb1_mux: apb1_mux@01c20058 { | 161 | apb1_mux: apb1_mux@01c20058 { |
140 | #clock-cells = <0>; | 162 | #clock-cells = <0>; |
141 | compatible = "allwinner,sun4i-apb1-mux-clk"; | 163 | compatible = "allwinner,sun4i-apb1-mux-clk"; |
142 | reg = <0x01c20058 0x4>; | 164 | reg = <0x01c20058 0x4>; |
143 | clocks = <&osc24M>, <&dummy>, <&osc32k>; | 165 | clocks = <&osc24M>, <&pll6 1>, <&osc32k>; |
144 | }; | 166 | }; |
145 | 167 | ||
146 | apb1: apb1@01c20058 { | 168 | apb1: apb1@01c20058 { |
@@ -162,6 +184,126 @@ | |||
162 | "apb1_uart4", "apb1_uart5", "apb1_uart6", | 184 | "apb1_uart4", "apb1_uart5", "apb1_uart6", |
163 | "apb1_uart7"; | 185 | "apb1_uart7"; |
164 | }; | 186 | }; |
187 | |||
188 | nand_clk: clk@01c20080 { | ||
189 | #clock-cells = <0>; | ||
190 | compatible = "allwinner,sun4i-mod0-clk"; | ||
191 | reg = <0x01c20080 0x4>; | ||
192 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
193 | clock-output-names = "nand"; | ||
194 | }; | ||
195 | |||
196 | ms_clk: clk@01c20084 { | ||
197 | #clock-cells = <0>; | ||
198 | compatible = "allwinner,sun4i-mod0-clk"; | ||
199 | reg = <0x01c20084 0x4>; | ||
200 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
201 | clock-output-names = "ms"; | ||
202 | }; | ||
203 | |||
204 | mmc0_clk: clk@01c20088 { | ||
205 | #clock-cells = <0>; | ||
206 | compatible = "allwinner,sun4i-mod0-clk"; | ||
207 | reg = <0x01c20088 0x4>; | ||
208 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
209 | clock-output-names = "mmc0"; | ||
210 | }; | ||
211 | |||
212 | mmc1_clk: clk@01c2008c { | ||
213 | #clock-cells = <0>; | ||
214 | compatible = "allwinner,sun4i-mod0-clk"; | ||
215 | reg = <0x01c2008c 0x4>; | ||
216 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
217 | clock-output-names = "mmc1"; | ||
218 | }; | ||
219 | |||
220 | mmc2_clk: clk@01c20090 { | ||
221 | #clock-cells = <0>; | ||
222 | compatible = "allwinner,sun4i-mod0-clk"; | ||
223 | reg = <0x01c20090 0x4>; | ||
224 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
225 | clock-output-names = "mmc2"; | ||
226 | }; | ||
227 | |||
228 | mmc3_clk: clk@01c20094 { | ||
229 | #clock-cells = <0>; | ||
230 | compatible = "allwinner,sun4i-mod0-clk"; | ||
231 | reg = <0x01c20094 0x4>; | ||
232 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
233 | clock-output-names = "mmc3"; | ||
234 | }; | ||
235 | |||
236 | ts_clk: clk@01c20098 { | ||
237 | #clock-cells = <0>; | ||
238 | compatible = "allwinner,sun4i-mod0-clk"; | ||
239 | reg = <0x01c20098 0x4>; | ||
240 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
241 | clock-output-names = "ts"; | ||
242 | }; | ||
243 | |||
244 | ss_clk: clk@01c2009c { | ||
245 | #clock-cells = <0>; | ||
246 | compatible = "allwinner,sun4i-mod0-clk"; | ||
247 | reg = <0x01c2009c 0x4>; | ||
248 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
249 | clock-output-names = "ss"; | ||
250 | }; | ||
251 | |||
252 | spi0_clk: clk@01c200a0 { | ||
253 | #clock-cells = <0>; | ||
254 | compatible = "allwinner,sun4i-mod0-clk"; | ||
255 | reg = <0x01c200a0 0x4>; | ||
256 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
257 | clock-output-names = "spi0"; | ||
258 | }; | ||
259 | |||
260 | spi1_clk: clk@01c200a4 { | ||
261 | #clock-cells = <0>; | ||
262 | compatible = "allwinner,sun4i-mod0-clk"; | ||
263 | reg = <0x01c200a4 0x4>; | ||
264 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
265 | clock-output-names = "spi1"; | ||
266 | }; | ||
267 | |||
268 | spi2_clk: clk@01c200a8 { | ||
269 | #clock-cells = <0>; | ||
270 | compatible = "allwinner,sun4i-mod0-clk"; | ||
271 | reg = <0x01c200a8 0x4>; | ||
272 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
273 | clock-output-names = "spi2"; | ||
274 | }; | ||
275 | |||
276 | pata_clk: clk@01c200ac { | ||
277 | #clock-cells = <0>; | ||
278 | compatible = "allwinner,sun4i-mod0-clk"; | ||
279 | reg = <0x01c200ac 0x4>; | ||
280 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
281 | clock-output-names = "pata"; | ||
282 | }; | ||
283 | |||
284 | ir0_clk: clk@01c200b0 { | ||
285 | #clock-cells = <0>; | ||
286 | compatible = "allwinner,sun4i-mod0-clk"; | ||
287 | reg = <0x01c200b0 0x4>; | ||
288 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
289 | clock-output-names = "ir0"; | ||
290 | }; | ||
291 | |||
292 | ir1_clk: clk@01c200b4 { | ||
293 | #clock-cells = <0>; | ||
294 | compatible = "allwinner,sun4i-mod0-clk"; | ||
295 | reg = <0x01c200b4 0x4>; | ||
296 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
297 | clock-output-names = "ir1"; | ||
298 | }; | ||
299 | |||
300 | spi3_clk: clk@01c200d4 { | ||
301 | #clock-cells = <0>; | ||
302 | compatible = "allwinner,sun4i-mod0-clk"; | ||
303 | reg = <0x01c200d4 0x4>; | ||
304 | clocks = <&osc24M>, <&pll6 1>, <&pll5 1>; | ||
305 | clock-output-names = "spi3"; | ||
306 | }; | ||
165 | }; | 307 | }; |
166 | 308 | ||
167 | soc@01c00000 { | 309 | soc@01c00000 { |