diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2016-08-21 11:10:01 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-10-17 13:26:05 -0400 |
commit | a6d729dbe115d31e6bbd4dd7bfc28b5bcd1db9d1 (patch) | |
tree | a4250f2d38b24cf57cddecd91185fcce749b0c38 | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
ARM64: dts: bcm283x: Use dtsi for USB host mode
In case dr_mode isn't passed via DT, the dwc2 driver defaults
to OTG mode. But the Raspberry Pi 3 is designed only for host mode.
So fix this issue by linking to the dtsi file which set the dr_mode
to host.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 1 | ||||
l--------- | arch/arm64/boot/dts/broadcom/bcm283x-rpi-usb-host.dtsi | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts index 7841b724e340..7625e57a64b5 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts +++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "bcm2837.dtsi" | 2 | #include "bcm2837.dtsi" |
3 | #include "bcm2835-rpi.dtsi" | 3 | #include "bcm2835-rpi.dtsi" |
4 | #include "bcm283x-rpi-smsc9514.dtsi" | 4 | #include "bcm283x-rpi-smsc9514.dtsi" |
5 | #include "bcm283x-rpi-usb-host.dtsi" | ||
5 | 6 | ||
6 | / { | 7 | / { |
7 | compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; | 8 | compatible = "raspberrypi,3-model-b", "brcm,bcm2837"; |
diff --git a/arch/arm64/boot/dts/broadcom/bcm283x-rpi-usb-host.dtsi b/arch/arm64/boot/dts/broadcom/bcm283x-rpi-usb-host.dtsi new file mode 120000 index 000000000000..cbeebe312ff8 --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm283x-rpi-usb-host.dtsi | |||
@@ -0,0 +1 @@ | |||
../../../../arm/boot/dts/bcm283x-rpi-usb-host.dtsi \ No newline at end of file | |||