ARM: dts: sun8i: Add mmc clocks to the dtsi
authorChen-Yu Tsai <wens@csie.org>
Sun, 17 Aug 2014 03:52:12 +0000 (11:52 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Aug 2014 07:58:29 +0000 (09:58 +0200)
The MMC module clocks on sun8i are the same as those found on
previous Allwinner SoCs, module 0 clocks.

This patch adds the clocks nodes to the dtsi with existing drivers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a23.dtsi

index 32c195c49b83748bc82b8e0f57827b0f89829fe6..9bd5dcc1beb33664c0997d78132b60c52c89c448 100644 (file)
                                        "apb2_uart1", "apb2_uart2",
                                        "apb2_uart3", "apb2_uart4";
                };
+
+               mmc0_clk: clk@01c20088 {
+                       #clock-cells = <0>;
+                       compatible = "allwinner,sun4i-a10-mod0-clk";
+                       reg = <0x01c20088 0x4>;
+                       clocks = <&osc24M>, <&pll6>;
+                       clock-output-names = "mmc0";
+               };
+
+               mmc1_clk: clk@01c2008c {
+                       #clock-cells = <0>;
+                       compatible = "allwinner,sun4i-a10-mod0-clk";
+                       reg = <0x01c2008c 0x4>;
+                       clocks = <&osc24M>, <&pll6>;
+                       clock-output-names = "mmc1";
+               };
+
+               mmc2_clk: clk@01c20090 {
+                       #clock-cells = <0>;
+                       compatible = "allwinner,sun4i-a10-mod0-clk";
+                       reg = <0x01c20090 0x4>;
+                       clocks = <&osc24M>, <&pll6>;
+                       clock-output-names = "mmc2";
+               };
        };
 
        soc@01c00000 {
This page took 0.025898 seconds and 5 git commands to generate.