diff options
author | 2024-11-04 11:07:34 +0100 | |
---|---|---|
committer | 2024-12-12 20:07:16 -0800 | |
commit | c95c1362e5bcd90c45987828bbef02236d181ffd (patch) | |
tree | 8b83c3975a0925c9e4656d2b3cd9b0a8c88e2fcd | |
parent | Linux 6.13-rc1 (diff) | |
download | wireguard-linux-c95c1362e5bcd90c45987828bbef02236d181ffd.tar.xz wireguard-linux-c95c1362e5bcd90c45987828bbef02236d181ffd.zip |
riscv: dts: thead: Add mailbox node
Add mailbox device tree node. This work is based on the vendor kernel [1].
Link: https://github.com/revyos/thead-kernel.git [1]
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
Reviewed-by: Drew Fustini <dfustini@tenstorrent.com>
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Diffstat (limited to '')
-rw-r--r-- | arch/riscv/boot/dts/thead/th1520.dtsi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index acfe030e803a..527336417765 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -599,6 +599,22 @@ status = "disabled"; }; + mbox_910t: mailbox@ffffc38000 { + compatible = "thead,th1520-mbox"; + reg = <0xff 0xffc38000 0x0 0x6000>, + <0xff 0xffc40000 0x0 0x6000>, + <0xff 0xffc4c000 0x0 0x2000>, + <0xff 0xffc54000 0x0 0x2000>; + reg-names = "local", "remote-icu0", "remote-icu1", "remote-icu2"; + clocks = <&clk CLK_MBOX0>, <&clk CLK_MBOX1>, <&clk CLK_MBOX2>, + <&clk CLK_MBOX3>; + clock-names = "clk-local", "clk-remote-icu0", "clk-remote-icu1", + "clk-remote-icu2"; + interrupt-parent = <&plic>; + interrupts = <28 IRQ_TYPE_LEVEL_HIGH>; + #mbox-cells = <1>; + }; + gpio@fffff41000 { compatible = "snps,dw-apb-gpio"; reg = <0xff 0xfff41000 0x0 0x1000>; |