ARM: dts: stm32: Add ipcc mailbox support on stm32mp1
authorFabien Dessenne <fabien.dessenne@st.com>
Tue, 14 May 2019 09:20:37 +0000 (11:20 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Fri, 12 Jul 2019 09:18:53 +0000 (11:18 +0200)
Add IPCC mailbox support on stm32mp157 eval and disco boards.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157a-dk1.dts
arch/arm/dts/stm32mp157c-ed1.dts
arch/arm/dts/stm32mp157c.dtsi

index e36773dde917ecbf91691c9b32f23f8fc3d8ceb1..b8dd4baec5a6a0e68a687cc7c860f03684c1e078 100644 (file)
        };
 };
 
+&ipcc {
+       status = "okay";
+};
+
 &iwdg2 {
        timeout-sec = <32>;
        status = "okay";
index b10208f698765fb2b6e0268f2595dd35b64156c3..ab11c832ec0c7c5b227fa7767732f83216192789 100644 (file)
        };
 };
 
+&ipcc {
+       status = "okay";
+};
+
 &iwdg2 {
        timeout-sec = <32>;
        status = "okay";
index 73215855ccd2659d5e3a2ef4d42a2678be317957..b9f0eacf71b6671847d092f37e67d40266c874b2 100644 (file)
                        status = "disabled";
                };
 
+               ipcc: mailbox@4c001000 {
+                       compatible = "st,stm32mp1-ipcc";
+                       #mbox-cells = <1>;
+                       reg = <0x4c001000 0x400>;
+                       st,proc-id = <0>;
+                       interrupts-extended =
+                               <&intc GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
+                               <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "rx", "tx";
+                       clocks = <&rcc IPCC>;
+                       status = "disabled";
+               };
+
                rcc: rcc@50000000 {
                        compatible = "st,stm32mp1-rcc", "syscon";
                        reg = <0x50000000 0x1000>;