arm64: dts: renesas: r9a09g011: Add PWC support
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Wed, 18 Jan 2023 14:47:45 +0000 (14:47 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Jan 2023 09:41:19 +0000 (10:41 +0100)
The RZ/V2M SoC contains an External Power Sequence Controller (PWC)
module. This module provides an external power supply on/off
sequence, on/off signal for the LPDDR4 core power supply, General
Purpose Outputs, and key input signals.

This patch adds PWC support to the SoC specific device tree.

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-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g011.dtsi

index b0c066c..b5d6f77 100644 (file)
                        #power-domain-cells = <0>;
                };
 
+               pwc: pwc@a3700000 {
+                       compatible = "renesas,r9a09g011-pwc", "renesas,rzv2m-pwc";
+                       reg = <0 0xa3700000 0 0x800>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       status = "disabled";
+               };
+
                sys: system-controller@a3f03000 {
                        compatible = "renesas,r9a09g011-sys";
                        reg = <0 0xa3f03000 0 0x400>;