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
};
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>;
+ };
};