ARM: dts: STi: stih407-family: Add nodes for Mailbox
authorLee Jones <lee.jones@linaro.org>
Thu, 21 Apr 2016 15:07:00 +0000 (17:07 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Tue, 26 Apr 2016 14:10:19 +0000 (16:10 +0200)
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>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih407-family.dtsi

index eb2601f..680b7c1 100644 (file)
                        clocks          = <&clk_sysin>;
                        status          = "okay";
                };
+
+               mailbox0: mailbox@8f00000  {
+                       compatible      = "st,stih407-mailbox";
+                       reg             = <0x8f00000 0x1000>;
+                       interrupts      = <GIC_SPI 1 IRQ_TYPE_NONE>;
+                       #mbox-cells     = <2>;
+                       mbox-name       = "a9";
+                       status          = "okay";
+               };
+
+               mailbox1: mailbox@8f01000 {
+                       compatible      = "st,stih407-mailbox";
+                       reg             = <0x8f01000 0x1000>;
+                       #mbox-cells     = <2>;
+                       mbox-name       = "st231_gp_1";
+                       status          = "okay";
+               };
+
+               mailbox2: mailbox@8f02000 {
+                       compatible      = "st,stih407-mailbox";
+                       reg             = <0x8f02000 0x1000>;
+                       #mbox-cells     = <2>;
+                       mbox-name       = "st231_gp_0";
+                       status          = "okay";
+               };
+
+               mailbox3: mailbox@8f03000 {
+                       compatible      = "st,stih407-mailbox";
+                       reg             = <0x8f03000 0x1000>;
+                       #mbox-cells     = <2>;
+                       mbox-name       = "st231_audio_video";
+                       status          = "okay";
+               };
        };
 };