Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239533

[PATCH v4 3/5] ARM: STi: stih407-family: Add nodes for Mailbox

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v4 3/5] ARM: STi: stih407-family: Add nodes for Mailbox
Date 2015-10-05 15:10 +0200
Message-ID <qgdGG-8dn-21@gated-at.bofh.it> (permalink)
References <qgdGF-8dn-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407-family.dtsi | 36 +++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..32da3f8 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -565,5 +565,41 @@
 						  <&phy_port2 PHY_TYPE_USB3>;
 			};
 		};
+
+		mailbox0: mailbox@0  {
+			compatible	= "st,stih407-mailbox";
+			reg		= <0x8f00000 0x1000>;
+			interrupts	= <GIC_SPI 1 IRQ_TYPE_NONE>;
+			#mbox-cells	= <2>;
+			mbox-name	= "a9";
+			status		= "okay";
+		};
+
+		mailbox1: mailbox@1 {
+			compatible	= "st,stih407-mailbox";
+			reg		= <0x8f01000 0x1000>;
+			#mbox-cells	= <2>;
+			mbox-name	= "st231_gp_1";
+			status		= "okay";
+			tx-only;
+		};
+
+		mailbox2: mailbox@2 {
+			compatible	= "st,stih407-mailbox";
+			reg		= <0x8f02000 0x1000>;
+			#mbox-cells	= <2>;
+			mbox-name	= "st231_gp_0";
+			status		= "okay";
+			tx-only;
+		};
+
+		mailbox3: mailbox@3 {
+			compatible	= "st,stih407-mailbox";
+			reg		= <0x8f03000 0x1000>;
+			#mbox-cells	= <2>;
+			mbox-name	= "st231_audio_video";
+			status		= "okay";
+			tx-only;
+		};
 	};
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/5] Mailbox: Provide support STi based platforms Lee Jones <lee.jones@linaro.org> - 2015-10-05 15:10 +0200
  [PATCH v4 3/5] ARM: STi: stih407-family: Add nodes for Mailbox Lee Jones <lee.jones@linaro.org> - 2015-10-05 15:10 +0200
  [PATCH v4 4/5] mailbox: Add generic mechanism for testing Mailbox Controllers Lee Jones <lee.jones@linaro.org> - 2015-10-05 15:10 +0200
  [PATCH v4 1/5] mailbox: dt: Supply bindings for ST's Mailbox IP Lee Jones <lee.jones@linaro.org> - 2015-10-05 15:10 +0200
  [PATCH v4 2/5] mailbox: Add support for ST's Mailbox IP Lee Jones <lee.jones@linaro.org> - 2015-10-05 15:10 +0200
  Re: [PATCH v4 0/5] Mailbox: Provide support STi based platforms Jassi Brar <jaswinder.singh@linaro.org> - 2015-10-16 06:20 +0200
    Re: [PATCH v4 0/5] Mailbox: Provide support STi based platforms Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:20 +0200

csiph-web