arm64: dts: renesas: v2mevk2: Add PWC support
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Wed, 18 Jan 2023 14:47:46 +0000 (14:47 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2023 09:41:19 +0000 (10:41 +0100)
The RZ/V2M EVK uses the PWC IP to control external power supplies
and the I/O voltage for the uSD card.

This patch enables the PWC node, and it also enables the poweroff
features since PWC is actually used to control the board power
rails.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230118144747.24968-3-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts

index 11e1d51..d673739 100644 (file)
        };
 };
 
+&pwc {
+       renesas,rzv2m-pwc-power;
+       status = "okay";
+};
+
 &uart0 {
        status = "okay";
 };