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

ARM: dts: sun9i: cubieboard4: 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
8826532c 02df9cb8

+6
+6
arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
··· 111 111 vmmc-supply = <&reg_vcc3v0>; 112 112 bus-width = <8>; 113 113 non-removable; 114 + cap-mmc-hw-reset; 114 115 status = "okay"; 116 + }; 117 + 118 + &mmc2_8bit_pins { 119 + /* Increase drive strength for DDR modes */ 120 + allwinner,drive = <SUN4I_PINCTRL_40_MA>; 115 121 }; 116 122 117 123 &r_ir {