From: Leo Yan <[email protected]>

This patch add device mailbox node for Hi6220 in DT.

Signed-off-by: Leo Yan <[email protected]>
Signed-off-by: Wei Xu <[email protected]>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi 
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 2608b68..07b211b 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -665,5 +665,13 @@
                        g-tx-fifo-size = <128 128 128 128 128 128>;
                        interrupts = <0 77 0x4>;
                };
+
+               mailbox: mailbox@f7510000 {
+                       compatible = "hisilicon,hi6220-mbox";
+                       reg = <0x0 0xf7510000 0x0 0x1000>, /* IPC_S */
+                             <0x0 0x06dff800 0x0 0x0800>; /* Mailbox buffer */
+                       interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
+                       #mbox-cells = <3>;
+               };
        };
 };
-- 
1.9.1

Reply via email to