ARM: dts: exynos4412-odroid*: fix sleep state for eMMC_nDET pin 91/24391/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 11 Jul 2014 11:17:33 +0000 (13:17 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 11 Jul 2014 12:21:43 +0000 (05:21 -0700)
During system sleep, eMMC must be put into reset state with eMMC_nDET line.
This patch adds proper configuration for eMMC_nDET pin in sleep state, so
now board finally correctly operates after suspend/resume cycle.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ied067cceb5fece61f1e5f9cab74c248878f9185c

arch/arm/boot/dts/exynos4412-odroid-common.dtsi

index 1aa270f..efb2683 100644 (file)
        };
 
        odroid_reboot {
+               pinctrl-names = "default";
+               pinctrl-0 = <&emmc_ndet>;
                compatible = "hardkernel,odroid-reboot";
                reset-gpio = <&gpk1 2 0>;
        };
                samsung,pins = "gpx3-7";
                samsung,pin-pud = <1>;
        };
+
+       emmc_ndet: emmc-ndet {
+               samsung,pins = "gpk1-2";
+               samsung,pin-pud = <0>;
+               samsung,pin-con-pdn = <1>;
+               samsung,pin-pud-pdn = <0>;
+       };
 };