ARM: dts: am437x gp-evm: add sd card dt nodes
authorBalaji T K <balajitk@ti.com>
Mon, 3 Mar 2014 14:50:18 +0000 (20:20 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Mar 2014 19:53:36 +0000 (11:53 -0800)
enable sd card slot on am437x-gp-evm

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-gp-evm.dts

index 4eb72b803d6d748fcf03d1d6a272e865e6037ae1..df8798e8bd255bbf789da0b44f5229b9f3dc80dd 100644 (file)
        model = "TI AM437x GP EVM";
        compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
 
+       vmmcsd_fixed: fixedregulator-sd {
+               compatible = "regulator-fixed";
+               regulator-name = "vmmcsd_fixed";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               enable-active-high;
+       };
+
        backlight {
                compatible = "pwm-backlight";
                pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
                >;
        };
 
+       mmc1_pins: pinmux_mmc1_pins {
+               pinctrl-single,pins = <
+                       0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
+               >;
+       };
+
        ecap0_pins: backlight_pins {
                pinctrl-single,pins = <
                        0x164 MUX_MODE0       /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
        pinctrl-0 = <&ecap0_pins>;
 };
 
+&gpio0 {
+       status = "okay";
+};
+
 &gpio3 {
        status = "okay";
 };
 &gpio4 {
        status = "okay";
 };
+
+&mmc1 {
+       status = "okay";
+       vmmc-supply = <&vmmcsd_fixed>;
+       bus-width = <4>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins>;
+       cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
+};
This page took 0.032036 seconds and 5 git commands to generate.