summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-02 17:57:28 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-05 05:58:56 +0200
commitc621183c203affa526c15e46432c24f31afed997 (patch)
tree4f40a7e8ac1085ecea203c7f1a133c5defd5ac0e /arch/arm/boot/dts/sun7i-a20-cubietruck.dts
parentARM: dts: sun7i: Add pin-muxing info for the mmc controllers (diff)
downloadlinux-c621183c203affa526c15e46432c24f31afed997.tar.xz
linux-c621183c203affa526c15e46432c24f31afed997.zip
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-cubietruck.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-cubietruck.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 0c3bd127a5fd..a39f08970b64 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -20,6 +20,15 @@
compatible = "cubietech,cubietruck", "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>;