]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: allwinner: a523: Add power controller device nodes
authorChen-Yu Tsai <wens@csie.org>
Sat, 12 Jul 2025 07:40:21 +0000 (15:40 +0800)
committerChen-Yu Tsai <wens@csie.org>
Tue, 15 Jul 2025 15:36:25 +0000 (23:36 +0800)
The A523 SoC family has two power controllers, one based on the existing
PPU, and one newer one based on ARM's PCK-600.

Add device nodes for both of them.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20250712074021.805953-6-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi

index ea37934052fe6c28bbeebb9f09a51cde3faf67b4..c16d63d2044ae7fd29f647e1c0f29d3d235d452e 100644 (file)
@@ -7,6 +7,8 @@
 #include <dt-bindings/clock/sun55i-a523-r-ccu.h>
 #include <dt-bindings/reset/sun55i-a523-ccu.h>
 #include <dt-bindings/reset/sun55i-a523-r-ccu.h>
+#include <dt-bindings/power/allwinner,sun55i-a523-ppu.h>
+#include <dt-bindings/power/allwinner,sun55i-a523-pck-600.h>
 
 / {
        interrupt-parent = <&gic>;
                        };
                };
 
+               ppu: power-controller@7001400 {
+                       compatible = "allwinner,sun55i-a523-ppu";
+                       reg = <0x07001400 0x400>;
+                       clocks = <&r_ccu CLK_BUS_R_PPU1>;
+                       resets = <&r_ccu RST_BUS_R_PPU1>;
+                       #power-domain-cells = <1>;
+               };
+
                r_ccu: clock-controller@7010000 {
                        compatible = "allwinner,sun55i-a523-r-ccu";
                        reg = <0x7010000 0x250>;
                        };
                };
 
+               pck600: power-controller@7060000 {
+                       compatible = "allwinner,sun55i-a523-pck-600";
+                       reg = <0x07060000 0x8000>;
+                       clocks = <&r_ccu CLK_BUS_R_PPU0>;
+                       resets = <&r_ccu RST_BUS_R_PPU0>;
+                       #power-domain-cells = <1>;
+               };
+
                r_i2c0: i2c@7081400 {
                        compatible = "allwinner,sun55i-a523-i2c",
                                     "allwinner,sun8i-v536-i2c",