summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-02 17:57:20 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-05-05 05:52:17 +0200
commitc0955a86f4af4fef7965bfcd41a9642a3f67486b (patch)
treee79ff4f83a5c213014c2191555fd04eca6d055c2 /arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
parentARM: dts: sun4i: Add pin-muxing info for the mmc0 controller (diff)
downloadlinux-c0955a86f4af4fef7965bfcd41a9642a3f67486b.tar.xz
linux-c0955a86f4af4fef7965bfcd41a9642a3f67486b.zip
ARM: dts: sun4i: Enable mmc controller on various A10 boards
Tested on a subset of these boards, for the others boards the settings match the ones of the tested boards according to the original firmware fex files. 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/sun4i-a10-mini-xplus.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-mini-xplus.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
index dd84a9e313b3..b7a4218ef2a4 100644
--- a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
+++ b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
@@ -20,6 +20,15 @@
compatible = "pineriver,mini-xplus", "allwinner,sun4i-a10";
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>;