Skip to content

Commit 3b430dc

Browse files
committed
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Chen-Yu Tsai <[email protected]>
1 parent ca5ad73 commit 3b430dc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#include <dt-bindings/clock/sun55i-a523-r-ccu.h>
88
#include <dt-bindings/reset/sun55i-a523-ccu.h>
99
#include <dt-bindings/reset/sun55i-a523-r-ccu.h>
10+
#include <dt-bindings/power/allwinner,sun55i-a523-ppu.h>
11+
#include <dt-bindings/power/allwinner,sun55i-a523-pck-600.h>
1012

1113
/ {
1214
interrupt-parent = <&gic>;
@@ -584,6 +586,14 @@
584586
};
585587
};
586588

589+
ppu: power-controller@7001400 {
590+
compatible = "allwinner,sun55i-a523-ppu";
591+
reg = <0x07001400 0x400>;
592+
clocks = <&r_ccu CLK_BUS_R_PPU1>;
593+
resets = <&r_ccu RST_BUS_R_PPU1>;
594+
#power-domain-cells = <1>;
595+
};
596+
587597
r_ccu: clock-controller@7010000 {
588598
compatible = "allwinner,sun55i-a523-r-ccu";
589599
reg = <0x7010000 0x250>;
@@ -630,6 +640,14 @@
630640
};
631641
};
632642

643+
pck600: power-controller@7060000 {
644+
compatible = "allwinner,sun55i-a523-pck-600";
645+
reg = <0x07060000 0x8000>;
646+
clocks = <&r_ccu CLK_BUS_R_PPU0>;
647+
resets = <&r_ccu RST_BUS_R_PPU0>;
648+
#power-domain-cells = <1>;
649+
};
650+
633651
r_i2c0: i2c@7081400 {
634652
compatible = "allwinner,sun55i-a523-i2c",
635653
"allwinner,sun8i-v536-i2c",

0 commit comments

Comments
 (0)