summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-20 18:40:10 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-07-06 14:36:10 +0300
commitcb9b608706c21cb7c748dcea7fa493344857f505 (patch)
treeb8dc7f73f1b655727a73c06b7452ce22f887ff4f
parent2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29 (diff)
downloadlinux-cb9b608706c21cb7c748dcea7fa493344857f505.tar.xz
ARM: dts: sun6i: Enable otg controller on the cs908
The cs908 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>
-rw-r--r--arch/arm/boot/dts/sun6i-a31s-cs908.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31s-cs908.dts b/arch/arm/boot/dts/sun6i-a31s-cs908.dts
index 1e2411a2bcea..5e8f8c4f2b30 100644
--- a/arch/arm/boot/dts/sun6i-a31s-cs908.dts
+++ b/arch/arm/boot/dts/sun6i-a31s-cs908.dts
@@ -93,6 +93,11 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
+
&usbphy {
status = "okay";
};