diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-02 17:57:28 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-05-05 05:58:56 +0200 |
commit | c621183c203affa526c15e46432c24f31afed997 (patch) | |
tree | 4f40a7e8ac1085ecea203c7f1a133c5defd5ac0e /arch/arm/boot/dts/sun7i-a20-cubietruck.dts | |
parent | ARM: dts: sun7i: Add pin-muxing info for the mmc controllers (diff) | |
download | linux-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.dts | 9 |
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 = <®_usb1_vbus>; usb2_vbus-supply = <®_usb2_vbus>; |