ARM: dts: sun9i: cubieboard4: Enable hardware reset and HS-DDR for eMMC
authorChen-Yu Tsai <wens@csie.org>
Thu, 21 Jan 2016 05:26:42 +0000 (13:26 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 24 Jan 2016 23:01:21 +0000 (00:01 +0100)
mmc2 has a special pin for eMMC hardware reset, which is controllable
from the controller. Add the "mmc-cap-hw-reset" property to denote that
this controller supports this function, and the pins are actually used.

Also increase the signal drive strength for mmc2 pins, for HS-DDR mode
support.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80-cubieboard4.dts

index 382bd9f..eb2ccd0 100644 (file)
        vmmc-supply = <&reg_vcc3v0>;
        bus-width = <8>;
        non-removable;
+       cap-mmc-hw-reset;
        status = "okay";
 };
 
+&mmc2_8bit_pins {
+       /* Increase drive strength for DDR modes */
+       allwinner,drive = <SUN4I_PINCTRL_40_MA>;
+};
+
 &r_ir {
        status = "okay";
 };