aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessio Igor Bogani <alessio.bogani@elettra.eu>2016-05-03 08:31:18 -0400
committerScott Wood <oss@buserror.net>2016-05-16 19:45:39 -0400
commit1eef33bec12d7e46a58f12b3604556a80c362a0d (patch)
tree97f96a5096806903391a91ad83d0713e23d394a5
parenta66639d4eec5e03bdc5d9a312b7eebd3827a4d14 (diff)
powerpc/86xx: Fix PCI interrupt map definition
Fix PCI interrupt map definition from 2 to 4 cells. Move interrupt-map and interrupt-map-mask and clone interrupts into the pcie child nodes. Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu> Signed-off-by: Scott Wood <oss@buserror.net>
-rw-r--r--arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi32
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi b/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi
index a76ffda57f8e..eeb7c65d5f22 100644
--- a/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi
@@ -102,14 +102,6 @@
102 bus-range = <0x0 0xff>; 102 bus-range = <0x0 0xff>;
103 clock-frequency = <100000000>; 103 clock-frequency = <100000000>;
104 interrupts = <24 2 0 0>; 104 interrupts = <24 2 0 0>;
105 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
106
107 interrupt-map = <
108 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
109 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
110 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
111 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1
112 >;
113 105
114 pcie@0 { 106 pcie@0 {
115 reg = <0 0 0 0 0>; 107 reg = <0 0 0 0 0>;
@@ -117,6 +109,14 @@
117 #size-cells = <2>; 109 #size-cells = <2>;
118 #address-cells = <3>; 110 #address-cells = <3>;
119 device_type = "pci"; 111 device_type = "pci";
112 interrupts = <24 2 0 0>;
113 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
114 interrupt-map = <
115 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
116 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
117 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
118 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
119 >;
120 }; 120 };
121}; 121};
122 122
@@ -128,14 +128,6 @@
128 bus-range = <0x0 0xff>; 128 bus-range = <0x0 0xff>;
129 clock-frequency = <100000000>; 129 clock-frequency = <100000000>;
130 interrupts = <25 2 0 0>; 130 interrupts = <25 2 0 0>;
131 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
132
133 interrupt-map = <
134 0x0000 0x0 0x0 0x1 &mpic 0x4 0x1
135 0x0000 0x0 0x0 0x2 &mpic 0x5 0x1
136 0x0000 0x0 0x0 0x3 &mpic 0x6 0x1
137 0x0000 0x0 0x0 0x4 &mpic 0x7 0x1
138 >;
139 131
140 pcie@0 { 132 pcie@0 {
141 reg = <0 0 0 0 0>; 133 reg = <0 0 0 0 0>;
@@ -143,5 +135,13 @@
143 #size-cells = <2>; 135 #size-cells = <2>;
144 #address-cells = <3>; 136 #address-cells = <3>;
145 device_type = "pci"; 137 device_type = "pci";
138 interrupts = <25 2 0 0>;
139 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
140 interrupt-map = <
141 0x0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
142 0x0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
143 0x0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
144 0x0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
145 >;
146 }; 146 };
147}; 147};