Skip to content

Commit 2bae46e

Browse files
Michal Wilczynskitt-fustini
authored andcommitted
riscv: dts: thead: Introduce power domain nodes with aon firmware
The DRM Imagination GPU requires a power-domain driver. In the T-HEAD TH1520 SoC implements power management capabilities through the E902 core, which can be communicated with through the mailbox, using firmware protocol. Add AON node, which servers as a power-domain controller. Signed-off-by: Michal Wilczynski <[email protected]> Reviewed-by: Drew Fustini <[email protected]> Signed-off-by: Drew Fustini <[email protected]>
1 parent 0af2f6b commit 2bae46e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/riscv/boot/dts/thead/th1520.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <dt-bindings/interrupt-controller/irq.h>
88
#include <dt-bindings/clock/thead,th1520-clk-ap.h>
9+
#include <dt-bindings/power/thead,th1520-power.h>
910

1011
/ {
1112
compatible = "thead,th1520";
@@ -229,6 +230,13 @@
229230
snps,blen = <0 0 64 32 0 0 0>;
230231
};
231232

233+
aon: aon {
234+
compatible = "thead,th1520-aon";
235+
mboxes = <&mbox_910t 1>;
236+
mbox-names = "aon";
237+
#power-domain-cells = <1>;
238+
};
239+
232240
soc {
233241
compatible = "simple-bus";
234242
interrupt-parent = <&plic>;

0 commit comments

Comments
 (0)