Skip to content

Commit 1e57185

Browse files
committed
REVYOS: riscv: dts: th1520: add xuantie,th1520-mbox-r
Signed-off-by: Han Gao <[email protected]> [Icenowy: remove the interrupt-controller property] Signed-off-by: Icenowy Zheng <[email protected]>
1 parent fe55f7b commit 1e57185

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,24 @@
292292
resets = <&rst TH1520_RESET_ID_GPU_CLKGEN>;
293293
reset-names = "gpu-clkgen";
294294
#power-domain-cells = <1>;
295+
opensbi-mboxes = <&mbox_910r>;
296+
status = "okay";
297+
};
298+
299+
mbox_910r: mbox@ffefc53000 {
300+
compatible = "xuantie,th1520-mbox-r";
301+
reg = <0xff 0xefc53000 0x0 0x4000>,
302+
<0xff 0xefc3f000 0x0 0x1000>,
303+
<0xff 0xefc47000 0x0 0x1000>,
304+
<0xff 0xefc4f000 0x0 0x1000>;
305+
reg-names = "local_base",
306+
"remote_icu0",
307+
"remote_icu1",
308+
"remote_icu2";
309+
clocks = <&clk CLK_PERI_APB_PCLK>;
310+
clock-names = "ipg";
311+
icu_cpu_id = <3>;
312+
#mbox-cells = <2>;
295313
};
296314

297315
soc {

0 commit comments

Comments
 (0)