ARM: shmobile: lager: add MMCIF support on DTS
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 7 Oct 2013 04:26:58 +0000 (21:26 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:26:50 +0000 (17:26 +0900)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager-reference.dts

index 0a3f0c60d3025e7c16fe1f8e3320c8f4a81ca54e..75730f5d147783c2d8f4933e41b6f91c8742973e 100644 (file)
                        gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
                };
        };
+
+       fixedregulator3v3: fixedregulator@0 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
 };
 
 &pfc {
                renesas,groups = "scif1_data";
                renesas,function = "scif1";
        };
+
+       mmc1_pins: mmc1 {
+               renesas,groups = "mmc1_data8", "mmc1_ctrl";
+               renesas,function = "mmc1";
+       };
+};
+
+&mmcif1 {
+       pinctrl-0 = <&mmc1_pins>;
+       pinctrl-names = "default";
+
+       vmmc-supply = <&fixedregulator3v3>;
+       bus-width = <8>;
+       non-removable;
+       status = "okay";
 };