aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun6i-a31.dtsi
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-07-11 13:39:06 -0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-14 04:45:26 -0500
commitd8c3a392a5a2a7113767e33b53f8af8f5312e323 (patch)
tree34107fc6cb0da4e4ef32de796db058bb9829a0b4 /arch/arm/boot/dts/sun6i-a31.dtsi
parent6b0b8ccff002414fab08a080c7a8a6ee3db22c0d (diff)
ARM: sunxi: dt: Add sample and output mmc clocks
Add the sample and output clocks for the MMC phase support. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31.dtsi')
-rw-r--r--arch/arm/boot/dts/sun6i-a31.dtsi72
1 files changed, 52 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 62d932e9b7d1..3e7db5191516 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -241,35 +241,43 @@
241 }; 241 };
242 242
243 mmc0_clk: clk@01c20088 { 243 mmc0_clk: clk@01c20088 {
244 #clock-cells = <0>; 244 #clock-cells = <1>;
245 compatible = "allwinner,sun4i-a10-mod0-clk"; 245 compatible = "allwinner,sun4i-a10-mmc-clk";
246 reg = <0x01c20088 0x4>; 246 reg = <0x01c20088 0x4>;
247 clocks = <&osc24M>, <&pll6 0>; 247 clocks = <&osc24M>, <&pll6 0>;
248 clock-output-names = "mmc0"; 248 clock-output-names = "mmc0",
249 "mmc0_output",
250 "mmc0_sample";
249 }; 251 };
250 252
251 mmc1_clk: clk@01c2008c { 253 mmc1_clk: clk@01c2008c {
252 #clock-cells = <0>; 254 #clock-cells = <1>;
253 compatible = "allwinner,sun4i-a10-mod0-clk"; 255 compatible = "allwinner,sun4i-a10-mmc-clk";
254 reg = <0x01c2008c 0x4>; 256 reg = <0x01c2008c 0x4>;
255 clocks = <&osc24M>, <&pll6 0>; 257 clocks = <&osc24M>, <&pll6 0>;
256 clock-output-names = "mmc1"; 258 clock-output-names = "mmc1",
259 "mmc1_output",
260 "mmc1_sample";
257 }; 261 };
258 262
259 mmc2_clk: clk@01c20090 { 263 mmc2_clk: clk@01c20090 {
260 #clock-cells = <0>; 264 #clock-cells = <1>;
261 compatible = "allwinner,sun4i-a10-mod0-clk"; 265 compatible = "allwinner,sun4i-a10-mmc-clk";
262 reg = <0x01c20090 0x4>; 266 reg = <0x01c20090 0x4>;
263 clocks = <&osc24M>, <&pll6 0>; 267 clocks = <&osc24M>, <&pll6 0>;
264 clock-output-names = "mmc2"; 268 clock-output-names = "mmc2",
269 "mmc2_output",
270 "mmc2_sample";
265 }; 271 };
266 272
267 mmc3_clk: clk@01c20094 { 273 mmc3_clk: clk@01c20094 {
268 #clock-cells = <0>; 274 #clock-cells = <1>;
269 compatible = "allwinner,sun4i-a10-mod0-clk"; 275 compatible = "allwinner,sun4i-a10-mmc-clk";
270 reg = <0x01c20094 0x4>; 276 reg = <0x01c20094 0x4>;
271 clocks = <&osc24M>, <&pll6 0>; 277 clocks = <&osc24M>, <&pll6 0>;
272 clock-output-names = "mmc3"; 278 clock-output-names = "mmc3",
279 "mmc3_output",
280 "mmc3_sample";
273 }; 281 };
274 282
275 spi0_clk: clk@01c200a0 { 283 spi0_clk: clk@01c200a0 {
@@ -366,8 +374,14 @@
366 mmc0: mmc@01c0f000 { 374 mmc0: mmc@01c0f000 {
367 compatible = "allwinner,sun5i-a13-mmc"; 375 compatible = "allwinner,sun5i-a13-mmc";
368 reg = <0x01c0f000 0x1000>; 376 reg = <0x01c0f000 0x1000>;
369 clocks = <&ahb1_gates 8>, <&mmc0_clk>; 377 clocks = <&ahb1_gates 8>,
370 clock-names = "ahb", "mmc"; 378 <&mmc0_clk 0>,
379 <&mmc0_clk 1>,
380 <&mmc0_clk 2>;
381 clock-names = "ahb",
382 "mmc",
383 "output",
384 "sample";
371 resets = <&ahb1_rst 8>; 385 resets = <&ahb1_rst 8>;
372 reset-names = "ahb"; 386 reset-names = "ahb";
373 interrupts = <0 60 4>; 387 interrupts = <0 60 4>;
@@ -377,8 +391,14 @@
377 mmc1: mmc@01c10000 { 391 mmc1: mmc@01c10000 {
378 compatible = "allwinner,sun5i-a13-mmc"; 392 compatible = "allwinner,sun5i-a13-mmc";
379 reg = <0x01c10000 0x1000>; 393 reg = <0x01c10000 0x1000>;
380 clocks = <&ahb1_gates 9>, <&mmc1_clk>; 394 clocks = <&ahb1_gates 9>,
381 clock-names = "ahb", "mmc"; 395 <&mmc1_clk 0>,
396 <&mmc1_clk 1>,
397 <&mmc1_clk 2>;
398 clock-names = "ahb",
399 "mmc",
400 "output",
401 "sample";
382 resets = <&ahb1_rst 9>; 402 resets = <&ahb1_rst 9>;
383 reset-names = "ahb"; 403 reset-names = "ahb";
384 interrupts = <0 61 4>; 404 interrupts = <0 61 4>;
@@ -388,8 +408,14 @@
388 mmc2: mmc@01c11000 { 408 mmc2: mmc@01c11000 {
389 compatible = "allwinner,sun5i-a13-mmc"; 409 compatible = "allwinner,sun5i-a13-mmc";
390 reg = <0x01c11000 0x1000>; 410 reg = <0x01c11000 0x1000>;
391 clocks = <&ahb1_gates 10>, <&mmc2_clk>; 411 clocks = <&ahb1_gates 10>,
392 clock-names = "ahb", "mmc"; 412 <&mmc2_clk 0>,
413 <&mmc2_clk 1>,
414 <&mmc2_clk 2>;
415 clock-names = "ahb",
416 "mmc",
417 "output",
418 "sample";
393 resets = <&ahb1_rst 10>; 419 resets = <&ahb1_rst 10>;
394 reset-names = "ahb"; 420 reset-names = "ahb";
395 interrupts = <0 62 4>; 421 interrupts = <0 62 4>;
@@ -399,8 +425,14 @@
399 mmc3: mmc@01c12000 { 425 mmc3: mmc@01c12000 {
400 compatible = "allwinner,sun5i-a13-mmc"; 426 compatible = "allwinner,sun5i-a13-mmc";
401 reg = <0x01c12000 0x1000>; 427 reg = <0x01c12000 0x1000>;
402 clocks = <&ahb1_gates 11>, <&mmc3_clk>; 428 clocks = <&ahb1_gates 11>,
403 clock-names = "ahb", "mmc"; 429 <&mmc3_clk 0>,
430 <&mmc3_clk 1>,
431 <&mmc3_clk 2>;
432 clock-names = "ahb",
433 "mmc",
434 "output",
435 "sample";
404 resets = <&ahb1_rst 11>; 436 resets = <&ahb1_rst 11>;
405 reset-names = "ahb"; 437 reset-names = "ahb";
406 interrupts = <0 63 4>; 438 interrupts = <0 63 4>;