summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2015-02-04 16:35:58 +0100
committerKukjin Kim <kgene@kernel.org>2015-02-26 20:44:55 +0100
commit225da7e65a03d7b730ccb201f8acb6afde5eb40b (patch)
tree66bc57cbb0a520dca03a7145531b5f0ce64be3dd /arch/arm/boot/dts/exynos4412-odroid-common.dtsi
parentARM: dts: represent bridge and panel connection for exynos5420-peach-pit (diff)
downloadlinux-225da7e65a03d7b730ccb201f8acb6afde5eb40b.tar.xz
linux-225da7e65a03d7b730ccb201f8acb6afde5eb40b.zip
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: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroid-common.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos4412-odroid-common.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index de80b5bba204..3c5a7ab23c6b 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -75,10 +75,18 @@
};
};
+ emmc_pwrseq: pwrseq {
+ pinctrl-0 = <&sd1_cd>;
+ pinctrl-names = "default";
+ compatible = "mmc-pwrseq-emmc";
+ reset-gpios = <&gpk1 2 1>;
+ };
+
mmc@12550000 {
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
pinctrl-names = "default";
vmmc-supply = <&ldo20_reg &buck8_reg>;
+ mmc-pwrseq = <&emmc_pwrseq>;
status = "okay";
num-slots = <1>;
@@ -413,6 +421,12 @@
};
};
+/* RSTN signal for eMMC */
+&sd1_cd {
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+};
+
&pinctrl_1 {
gpio_power_key: power_key {
samsung,pins = "gpx1-3";