arm64: dts: allwinner: a523: Add power controller device nodes

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>
pull/1309/head
Chen-Yu Tsai 2025-07-12 15:40:21 +08:00
parent ca5ad734d3
commit 3b430dce33
1 changed files with 18 additions and 0 deletions

View 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>;
@ -584,6 +586,14 @@
};
};
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>;
@ -630,6 +640,14 @@
};
};
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",