Commit 225da7e6 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Kukjin Kim

ARM: dts: add eMMC reset line for exynos4412-odroid-common

This patch adds reset-gpios property to the eMMC slot, so the MMC driver
is able to properly reset eMMC card on system restart and thus fixes
system hang on software reboot.
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent e07eb1ec
...@@ -75,10 +75,18 @@ link0_codec: simple-audio-card,codec { ...@@ -75,10 +75,18 @@ link0_codec: simple-audio-card,codec {
}; };
}; };
emmc_pwrseq: pwrseq {
pinctrl-0 = <&sd1_cd>;
pinctrl-names = "default";
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpk1 2 1>;
};
mmc@12550000 { mmc@12550000 {
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default"; pinctrl-names = "default";
vmmc-supply = <&ldo20_reg &buck8_reg>; vmmc-supply = <&ldo20_reg &buck8_reg>;
mmc-pwrseq = <&emmc_pwrseq>;
status = "okay"; status = "okay";
num-slots = <1>; num-slots = <1>;
...@@ -413,6 +421,12 @@ ehci: ehci@12580000 { ...@@ -413,6 +421,12 @@ ehci: ehci@12580000 {
}; };
}; };
/* RSTN signal for eMMC */
&sd1_cd {
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
&pinctrl_1 { &pinctrl_1 {
gpio_power_key: power_key { gpio_power_key: power_key {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment