mvebu: backport mainline patches from kernel 3.12
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0079-ARM-mvebu-link-PCIe-controllers-to-the-MSI-controlle.patch
1 From 7171305e9caebac8cd12ef5a5ef3823f0fbe4a1c Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Thu, 6 Jun 2013 18:30:19 +0200
4 Subject: [PATCH 079/203] ARM: mvebu: link PCIe controllers to the MSI
5  controller
6
7 This commit adjusts the Armada 370 and Armada XP PCIe controllers
8 Device Tree informations to reference their MSI controller. In the
9 case of this platform, the MSI controller is implemented by the MPIC.
10
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 Tested-by: Daniel Price <daniel.price@gmail.com>
13 Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
14 ---
15  arch/arm/boot/dts/armada-370.dtsi        | 1 +
16  arch/arm/boot/dts/armada-xp-mv78230.dtsi | 1 +
17  arch/arm/boot/dts/armada-xp-mv78260.dtsi | 1 +
18  arch/arm/boot/dts/armada-xp-mv78460.dtsi | 1 +
19  4 files changed, 4 insertions(+)
20
21 --- a/arch/arm/boot/dts/armada-370.dtsi
22 +++ b/arch/arm/boot/dts/armada-370.dtsi
23 @@ -44,6 +44,7 @@
24                         #address-cells = <3>;
25                         #size-cells = <2>;
26  
27 +                       msi-parent = <&mpic>;
28                         bus-range = <0x00 0xff>;
29  
30                         ranges =
31 --- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
32 +++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
33 @@ -57,6 +57,7 @@
34                         #address-cells = <3>;
35                         #size-cells = <2>;
36  
37 +                               msi-parent = <&mpic>;
38                         bus-range = <0x00 0xff>;
39  
40                         ranges =
41 --- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi
42 +++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
43 @@ -58,6 +58,7 @@
44                         #address-cells = <3>;
45                         #size-cells = <2>;
46  
47 +                               msi-parent = <&mpic>;
48                         bus-range = <0x00 0xff>;
49  
50                         ranges =
51 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
52 +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
53 @@ -74,6 +74,7 @@
54                         #address-cells = <3>;
55                         #size-cells = <2>;
56  
57 +                               msi-parent = <&mpic>;
58                         bus-range = <0x00 0xff>;
59  
60                         ranges =