Commit 1056a273 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Kukjin Kim

ARM: dts: add eMMC reset line for exynos5422-odroidxu3

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 225da7e6
...@@ -264,6 +264,13 @@ buck10_reg: BUCK10 { ...@@ -264,6 +264,13 @@ buck10_reg: BUCK10 {
}; };
}; };
emmc_pwrseq: pwrseq {
pinctrl-0 = <&emmc_nrst_pin>;
pinctrl-names = "default";
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpd1 0 1>;
};
i2c_2: i2c@12C80000 { i2c_2: i2c@12C80000 {
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>; samsung,i2c-max-bus-freq = <66000>;
...@@ -298,6 +305,7 @@ &mfc { ...@@ -298,6 +305,7 @@ &mfc {
&mmc_0 { &mmc_0 {
status = "okay"; status = "okay";
mmc-pwrseq = <&emmc_pwrseq>;
broken-cd; broken-cd;
card-detect-delay = <200>; card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>; samsung,dw-mshc-ciu-div = <3>;
...@@ -330,6 +338,15 @@ hdmi_hpd_irq: hdmi-hpd-irq { ...@@ -330,6 +338,15 @@ hdmi_hpd_irq: hdmi-hpd-irq {
}; };
}; };
&pinctrl_1 {
emmc_nrst_pin: emmc-nrst {
samsung,pins = "gpd1-0";
samsung,pin-function = <0>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
};
&usbdrd_dwc3_0 { &usbdrd_dwc3_0 {
dr_mode = "host"; dr_mode = "host";
}; };
......
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