Commit 5ec6f2cd authored by Alexander Aring's avatar Alexander Aring Committed by Eric Anholt

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: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarKevin Hilman <khilman@linaro.org>
parent 7a1298e3
#include <dt-bindings/power/raspberrypi-power.h>
/ {
memory {
reg = <0 0x10000000>;
......@@ -18,6 +20,12 @@ firmware: firmware {
compatible = "raspberrypi,bcm2835-firmware";
mboxes = <&mailbox>;
};
power: power {
compatible = "raspberrypi,bcm2835-power";
firmware = <&firmware>;
#power-domain-cells = <1>;
};
};
};
......@@ -62,3 +70,7 @@ &sdhci {
&pwm {
status = "okay";
};
&usb {
power-domains = <&power RPI_POWER_DOMAIN_USB>;
};
......@@ -218,7 +218,7 @@ i2c2: i2c@7e805000 {
status = "disabled";
};
usb@7e980000 {
usb: usb@7e980000 {
compatible = "brcm,bcm2835-usb";
reg = <0x7e980000 0x10000>;
interrupts = <1 9>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment