Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun9i: a80-optimus: Enable hardware reset and HS-DDR for eMMC

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>

authored by

Chen-Yu Tsai and committed by
Maxime Ripard
02df9cb8 675ec62b

+6
+6
arch/arm/boot/dts/sun9i-a80-optimus.dts
··· 174 174 vmmc-supply = <&reg_vcc3v0>; 175 175 bus-width = <8>; 176 176 non-removable; 177 + cap-mmc-hw-reset; 177 178 status = "okay"; 179 + }; 180 + 181 + &mmc2_8bit_pins { 182 + /* Increase drive strength for DDR modes */ 183 + allwinner,drive = <SUN4I_PINCTRL_40_MA>; 178 184 }; 179 185 180 186 &reg_usb1_vbus {