From 5ec6f2cd8ec4bcd38ba199ea8711a5ec906d85e7 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Wed, 16 Dec 2015 16:26:49 -0800 Subject: ARM: bcm2835: Add the Raspberry Pi power domain driver to the DT. This connects the USB driver to the USB power domain, so that USB can actually be turned on at boot if the bootloader didn't do it for us. Signed-off-by: Alexander Aring Signed-off-by: Eric Anholt Reviewed-by: Kevin Hilman --- arch/arm/boot/dts/bcm2835-rpi.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/arm/boot/dts/bcm2835-rpi.dtsi') diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi index a584a93f631d..76bdbcafab18 100644 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi @@ -1,3 +1,5 @@ +#include + / { memory { reg = <0 0x10000000>; @@ -18,6 +20,12 @@ compatible = "raspberrypi,bcm2835-firmware"; mboxes = <&mailbox>; }; + + power: power { + compatible = "raspberrypi,bcm2835-power"; + firmware = <&firmware>; + #power-domain-cells = <1>; + }; }; }; @@ -62,3 +70,7 @@ &pwm { status = "okay"; }; + +&usb { + power-domains = <&power RPI_POWER_DOMAIN_USB>; +}; -- cgit v1.2.3