summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-20 18:40:09 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-07-06 14:36:09 +0300
commit2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29 (patch)
tree1bb5c2edbcf5a2de4ddbb3c60b5c37b77d6b8442 /arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
parentccef71cc6ae1b1bda3fc2f27493ea831edd6caaa (diff)
downloadlinux-2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29.tar.xz
ARM: dts: sun4i: Enable otg controller on the mini-x
The mini-x has the otg controller connected to one of the 2 usb-A receptacles it has on the front, so enable the otg controller in host-only mode. 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.dts15
1 files changed, 15 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 ebe2a04ef649..a7dd86d30fa2 100644
--- a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
+++ b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
@@ -114,6 +114,15 @@
status = "okay";
};
+&otg_sram {
+ status = "okay";
+};
+
+&reg_usb0_vbus {
+ regulator-boot-on;
+ status = "okay";
+};
+
&reg_usb1_vbus {
status = "okay";
};
@@ -128,7 +137,13 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
+
&usbphy {
+ usb0_vbus-supply = <&reg_usb0_vbus>;
usb1_vbus-supply = <&reg_usb1_vbus>;
usb2_vbus-supply = <&reg_usb2_vbus>;
status = "okay";