From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: [PATCH v2 4/6] ARM: STi: stih407-family: Add nodes for Mailbox Date: Mon, 27 Jul 2015 10:44:30 +0100 Message-ID: <1437990272-23111-5-git-send-email-lee.jones@linaro.org> References: <1437990272-23111-1-git-send-email-lee.jones@linaro.org> Return-path: In-Reply-To: <1437990272-23111-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones List-Id: devicetree@vger.kernel.org This patch supplies the Mailbox Controller nodes. In order to request channels, these nodes will be referenced by Mailbox Client nodes. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..c061d11 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -11,6 +11,7 @@ #include #include #include +#include / { #address-cells = <1>; #size-cells = <1>; @@ -565,5 +566,38 @@ <&phy_port2 PHY_TYPE_USB3>; }; }; + + mailbox0: mailbox@0 { + compatible = "st,stih407-mailbox"; + reg = <0x8f00000 0x1000>; + interrupts = ; + #mbox-cells = <3>; + mbox-name = "a9"; + status = "okay"; + }; + + mailbox1: mailbox@1 { + compatible = "st,stih407-mailbox"; + reg = <0x8f01000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_gp_1"; + status = "okay"; + }; + + mailbox2: mailbox@2 { + compatible = "st,stih407-mailbox"; + reg = <0x8f02000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_gp_0"; + status = "okay"; + }; + + mailbox3: mailbox@3 { + compatible = "st,stih407-mailbox"; + reg = <0x8f03000 0x1000>; + #mbox-cells = <3>; + mbox-name = "st231_audio_video"; + status = "okay"; + }; }; }; -- 1.9.1