summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-02 19:57:28 +0400
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-05 07:58:56 +0400
commitc621183c203affa526c15e46432c24f31afed997 (patch)
tree4f40a7e8ac1085ecea203c7f1a133c5defd5ac0e /arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
parent11fbedf4dd960db39b40aa59253bb7375df54241 (diff)
downloadlinux-c621183c203affa526c15e46432c24f31afed997.tar.xz
ARM: dts: sun7i: Enable mmc controller on various A20 boards
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubieboard2.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubieboard2.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index 68de89ffbdfa..3918e2f6e8ca 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -20,6 +20,15 @@
compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";
soc@01c00000 {
+ mmc0: mmc@01c0f000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
+ bus-width = <4>;
+ cd-gpios = <&pio 7 1 0>; /* PH1 */
+ cd-inverted;
+ status = "okay";
+ };
+
usbphy: phy@01c13400 {
usb1_vbus-supply = <&reg_usb1_vbus>;
usb2_vbus-supply = <&reg_usb2_vbus>;