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

2015-10-16 Thread Lee Jones
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 | 33 +
 1 file changed, 33 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi 
b/arch/arm/boot/dts/stih407-family.dtsi
index ae05277..0e5d3ea 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -610,5 +610,38 @@
clocks  = <_sysin>;
st,pwm-num-chan = <4>;
};
+
+   mailbox0: mailbox@0  {
+   compatible  = "st,stih407-mailbox";
+   reg = <0x8f0 0x1000>;
+   interrupts  = ;
+   #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";
+   };
+
+   mailbox2: mailbox@2 {
+   compatible  = "st,stih407-mailbox";
+   reg = <0x8f02000 0x1000>;
+   #mbox-cells = <2>;
+   mbox-name   = "st231_gp_0";
+   status  = "okay";
+   };
+
+   mailbox3: mailbox@3 {
+   compatible  = "st,stih407-mailbox";
+   reg = <0x8f03000 0x1000>;
+   #mbox-cells = <2>;
+   mbox-name   = "st231_audio_video";
+   status  = "okay";
+   };
};
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2015-10-05 Thread Lee Jones
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 | 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 @@
  <_port2 PHY_TYPE_USB3>;
};
};
+
+   mailbox0: mailbox@0  {
+   compatible  = "st,stih407-mailbox";
+   reg = <0x8f0 0x1000>;
+   interrupts  = ;
+   #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 devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html