diff options
author | Chen-Yu Tsai <wens@csie.org> | 2016-01-21 00:26:41 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-01-24 18:01:21 -0500 |
commit | 02df9cb85e156924339f2244aec29dcc37d9ab8c (patch) | |
tree | 52ef35fe3698685775daf6cef53aa2605aa153c8 | |
parent | 675ec62b08480fe1250c70cba61ad6e74652ed6f (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/sun9i-a80-optimus.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index c0060e4f7379..958160e40fd0 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts | |||
@@ -174,9 +174,15 @@ | |||
174 | vmmc-supply = <®_vcc3v0>; | 174 | vmmc-supply = <®_vcc3v0>; |
175 | bus-width = <8>; | 175 | bus-width = <8>; |
176 | non-removable; | 176 | non-removable; |
177 | cap-mmc-hw-reset; | ||
177 | status = "okay"; | 178 | status = "okay"; |
178 | }; | 179 | }; |
179 | 180 | ||
181 | &mmc2_8bit_pins { | ||
182 | /* Increase drive strength for DDR modes */ | ||
183 | allwinner,drive = <SUN4I_PINCTRL_40_MA>; | ||
184 | }; | ||
185 | |||
180 | ®_usb1_vbus { | 186 | ®_usb1_vbus { |
181 | pinctrl-0 = <&usb1_vbus_pin_optimus>; | 187 | pinctrl-0 = <&usb1_vbus_pin_optimus>; |
182 | gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ | 188 | gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ |