Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
#include <dt-bindings/power/raspberrypi-power.h>

/ {
	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>;
};
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@
			status = "disabled";
		};

		usb@7e980000 {
		usb: usb@7e980000 {
			compatible = "brcm,bcm2835-usb";
			reg = <0x7e980000 0x10000>;
			interrupts = <1 9>;