diff mbox

[v3,10/16] arm64: dts: add mailbox node for Hi6220

Message ID 1459862860-9775-11-git-send-email-guodong.xu@linaro.org
State New
Headers show

Commit Message

Guodong Xu April 5, 2016, 1:27 p.m. UTC
From: Leo Yan <leo.yan@linaro.org>


This patch add device mailbox node for Hi6220 in DT.

Signed-off-by: Leo Yan <leo.yan@linaro.org>

Acked-by: Jassi Brar <jassisinghbrar@gmail.com>

Acked-by: Wei Xu <xuwei5@hisilicon.com>

---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
1.9.1
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3faa004..6cddd47 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -667,5 +667,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>;
+		};
 	};
 };