From: Michal Wilczynski Date: Wed, 19 Feb 2025 14:02:37 +0000 (+0100) Subject: riscv: dts: thead: Introduce power domain nodes with aon firmware X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2bae46e3de2a64fe3a619d61b16da0c01b8df2a1;p=users%2Fwilly%2Fxarray.git 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 Reviewed-by: Drew Fustini Signed-off-by: Drew Fustini --- diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index 527336417765..fa7985e89d45 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -6,6 +6,7 @@ #include #include +#include / { compatible = "thead,th1520"; @@ -229,6 +230,13 @@ snps,blen = <0 0 64 32 0 0 0>; }; + aon: aon { + compatible = "thead,th1520-aon"; + mboxes = <&mbox_910t 1>; + mbox-names = "aon"; + #power-domain-cells = <1>; + }; + soc { compatible = "simple-bus"; interrupt-parent = <&plic>;