aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2835.dtsi
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2013-12-26 21:43:10 -0500
committerOlof Johansson <olof@lixom.net>2014-01-02 15:08:03 -0500
commit5631e7f4e29b1ebf3d856614c0b5876463857da6 (patch)
treed7d2f785fd040dbe0ac233efdbf247b0c3c74e99 /arch/arm/boot/dts/bcm2835.dtsi
parentc53cb8d6a2cbcf9d85f5129e9efd4a0275f89d03 (diff)
ARM: bcm2835: add USB controller to device tree
The BCM2835 SoC contains a DWC2 USB controller. Add this to the DT. Set up the pin controller to fully enable the USB controller on the Raspberry Pi. The GPIO setup works because the default output value for GPIO 6 (LAN_RUN/n_reset) just happens to be 1, which enables the USB/LAN chip. Note that you'll need a U-Boot which enables power to the USB controller; search for U-Boot patch "ARM: rpi_b: power on SDHCI and USB HW modules". Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm2835.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index aa537ed13f0a..b021c96d3ba1 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -107,6 +107,12 @@
107 clocks = <&clk_mmc>; 107 clocks = <&clk_mmc>;
108 status = "disabled"; 108 status = "disabled";
109 }; 109 };
110
111 usb {
112 compatible = "brcm,bcm2835-usb";
113 reg = <0x7e980000 0x10000>;
114 interrupts = <1 9>;
115 };
110 }; 116 };
111 117
112 clocks { 118 clocks {