]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: bcm2835: add USB controller to device tree
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 4 Dec 2013 04:18:12 +0000 (21:18 -0700)
committerStephen Warren <swarren@wwwdotorg.org>
Thu, 5 Dec 2013 05:13:57 +0000 (22:13 -0700)
commit3e271252b048eddb57a634f1c4afe5676935137f
tree1cb77dc42c62466ece15d8f976ce5aa6b799270e
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
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>
arch/arm/boot/dts/bcm2835-rpi-b.dts
arch/arm/boot/dts/bcm2835.dtsi