summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2016-08-21 18:10:00 +0300
committerEric Anholt <eric@anholt.net>2016-08-24 23:33:11 +0300
commit00a33ec4649e059dfcf81d0f90402fb02db50691 (patch)
tree08e46fe1583f72faf20a06c39af95fb3cf85dbfa /arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi
parent33145fac8e7e9eb0e064cd0cd0032d6786b6420c (diff)
downloadlinux-00a33ec4649e059dfcf81d0f90402fb02db50691.tar.xz
ARM: dts: bcm283x: Add dtsi for USB host mode
In case dr_mode isn't passed via DT, the dwc2 defaults to OTG mode. But all Raspberry Pi boards here are designed only for host mode. So fix this issue by providing a dtsi file which set the dr_mode to host. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi b/arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi
new file mode 100644
index 000000000000..73f4ece8dcd0
--- /dev/null
+++ b/arch/arm/boot/dts/bcm283x-rpi-usb-host.dtsi
@@ -0,0 +1,3 @@
+&usb {
+ dr_mode = "host";
+};