[RFCv1,10/11] arm: mvebu: enable MSI support in DT

Submitted by Thomas Petazzoni on March 26, 2013, 4:52 p.m.

Details

Message ID 1364316746-8702-11-git-send-email-thomas.petazzoni@free-electrons.com
State Not Applicable
Headers show

Commit Message

Thomas Petazzoni March 26, 2013, 4:52 p.m.
Now that the Marvell EBU PCIe driver supports MSI, we can adjust the
Device Tree for the Armada 370 and Armada XP SoCs so that the PCIe
controller nodes point to the MSI interrupt controller using the
'msi-parent' property.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/boot/dts/armada-370.dtsi        |    1 +
 arch/arm/boot/dts/armada-xp-mv78230.dtsi |    1 +
 arch/arm/boot/dts/armada-xp-mv78260.dtsi |    1 +
 arch/arm/boot/dts/armada-xp-mv78460.dtsi |    1 +
 4 files changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index a23a74f..e9cda70 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -161,6 +161,7 @@ 
 			#address-cells = <3>;
 			#size-cells = <2>;
 
+			msi-parent = <&msi>;
 			bus-range = <0x00 0xff>;
 
 			reg = <0xd0040000 0x2000>, <0xd0080000 0x2000>;
diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
index 4b05815..0e0c891 100644
--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
@@ -90,6 +90,7 @@ 
 			#address-cells = <3>;
 			#size-cells = <2>;
 
+			msi-parent = <&msi>;
 			bus-range = <0x00 0xff>;
 
 			reg = <0xd0040000 0x2000>, <0xd0042000 0x2000>,
diff --git a/arch/arm/boot/dts/armada-xp-mv78260.dtsi b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
index ee6c269..1db9da0 100644
--- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
@@ -110,6 +110,7 @@ 
 			#address-cells = <3>;
 			#size-cells = <2>;
 
+			msi-parent = <&msi>;
 			bus-range = <0x00 0xff>;
 
 			reg = <0xd0040000 0x2000>, <0xd0042000 0x2000>,
diff --git a/arch/arm/boot/dts/armada-xp-mv78460.dtsi b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
index ba54990..1263269 100644
--- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
@@ -125,6 +125,7 @@ 
 			#address-cells = <3>;
 			#size-cells = <2>;
 
+			msi-parent = <&msi>;
 			bus-range = <0x00 0xff>;
 
 			reg = <0xd0040000 0x2000>, <0xd0042000 0x2000>,