[PATCH v3 7/9] mips: bmips: dts: add BCM6328 power domain support

From: Ãlvaro FernÃndez Rojas
Date: Wed Jun 10 2020 - 13:17:01 EST


BCM6328 SoCs have a power domain controller to enable/disable certain
components in order to save power.

Signed-off-by: Ãlvaro FernÃndez Rojas <noltari@xxxxxxxxx>
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
v3: Separate dt-bindings definitions from power domain .dtsi support.
v2: Add dt-bindings header files.

arch/mips/boot/dts/brcm/bcm6328.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/mips/boot/dts/brcm/bcm6328.dtsi b/arch/mips/boot/dts/brcm/bcm6328.dtsi
index af860d06def6..1f9edd710392 100644
--- a/arch/mips/boot/dts/brcm/bcm6328.dtsi
+++ b/arch/mips/boot/dts/brcm/bcm6328.dtsi
@@ -110,6 +110,12 @@ leds0: led-controller@10000800 {
status = "disabled";
};

+ periph_pwr: power-controller@10001848 {
+ compatible = "brcm,bcm6328-power-controller";
+ reg = <0x10001848 0x4>;
+ #power-domain-cells = <1>;
+ };
+
ehci: usb@10002500 {
compatible = "brcm,bcm6328-ehci", "generic-ehci";
reg = <0x10002500 0x100>;
--
2.26.2