aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-04-09 17:06:33 -0400
committerJason Cooper <jason@lakedaemon.net>2013-04-15 10:53:03 -0400
commita09a0b7c6ff122e3e74efab2565ded2a4bbef854 (patch)
tree4355e104f1a89e3564f5194aef050ec0dea3cf60 /arch/arm/boot/dts
parent7c14f6c719de092d69c81877786e83ce7ae1a860 (diff)
arm: mvebu: add PCIe Device Tree informations for Armada 370
The Armada 370 SoC has two 1x PCIe 2.0 interfaces, so we add the necessary Device Tree informations to make these interfaces availabel. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/armada-370.dtsi52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 5831994a311b..9cf60b2ce864 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -159,5 +159,57 @@
159 0xd0018304 0x4>; 159 0xd0018304 0x4>;
160 status = "okay"; 160 status = "okay";
161 }; 161 };
162
163 pcie-controller {
164 compatible = "marvell,armada-370-pcie";
165 status = "disabled";
166 device_type = "pci";
167
168 #address-cells = <3>;
169 #size-cells = <2>;
170
171 bus-range = <0x00 0xff>;
172
173 reg = <0xd0040000 0x2000>, <0xd0080000 0x2000>;
174
175 reg-names = "pcie0.0", "pcie1.0";
176
177 ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */
178 0x82000000 0 0xd0080000 0xd0080000 0 0x00002000 /* Port 1.0 registers */
179 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
180 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
181
182 pcie@1,0 {
183 device_type = "pci";
184 assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>;
185 reg = <0x0800 0 0 0 0>;
186 #address-cells = <3>;
187 #size-cells = <2>;
188 #interrupt-cells = <1>;
189 ranges;
190 interrupt-map-mask = <0 0 0 0>;
191 interrupt-map = <0 0 0 0 &mpic 58>;
192 marvell,pcie-port = <0>;
193 marvell,pcie-lane = <0>;
194 clocks = <&gateclk 5>;
195 status = "disabled";
196 };
197
198 pcie@2,0 {
199 device_type = "pci";
200 assigned-addresses = <0x82002800 0 0xd0080000 0 0x2000>;
201 reg = <0x1000 0 0 0 0>;
202 #address-cells = <3>;
203 #size-cells = <2>;
204 #interrupt-cells = <1>;
205 ranges;
206 interrupt-map-mask = <0 0 0 0>;
207 interrupt-map = <0 0 0 0 &mpic 62>;
208 marvell,pcie-port = <1>;
209 marvell,pcie-lane = <0>;
210 clocks = <&gateclk 9>;
211 status = "disabled";
212 };
213 };
162 }; 214 };
163}; 215};