Skip to content

Commit

Permalink
ARM: dts: add eMMC reset line for exynos5422-odroidxu3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mszyprow authored and Kukjin Kim committed Feb 26, 2015
1 parent 225da7e commit 1056a27
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/exynos5422-odroidxu3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@
};
};

emmc_pwrseq: pwrseq {
pinctrl-0 = <&emmc_nrst_pin>;
pinctrl-names = "default";
compatible = "mmc-pwrseq-emmc";
reset-gpios = <&gpd1 0 1>;
};

i2c_2: i2c@12C80000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <66000>;
Expand Down Expand Up @@ -298,6 +305,7 @@

&mmc_0 {
status = "okay";
mmc-pwrseq = <&emmc_pwrseq>;
broken-cd;
card-detect-delay = <200>;
samsung,dw-mshc-ciu-div = <3>;
Expand Down Expand Up @@ -330,6 +338,15 @@
};
};

&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 {
dr_mode = "host";
};
Expand Down

0 comments on commit 1056a27

Please sign in to comment.