arm: mvebu: PCIe Device Tree informations for Armada 370 DB
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Apr 2013 21:06:38 +0000 (23:06 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 15 Apr 2013 14:53:46 +0000 (14:53 +0000)
The Marvell evaluation board (DB) for the Armada 370 SoC has 2
physical full-size PCIe slots, so we enable the corresponding PCIe
interfaces in the Device Tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-db.dts

index e34b280ce6ec44c3abfc17284ef53d103a15f045..6403acdbb75fe5db201026750d23fd105585769a 100644 (file)
                                spi-max-frequency = <50000000>;
                        };
                };
+
+               pcie-controller {
+                       status = "okay";
+                       /*
+                        * The two PCIe units are accessible through
+                        * both standard PCIe slots and mini-PCIe
+                        * slots on the board.
+                        */
+                       pcie@1,0 {
+                               /* Port 0, Lane 0 */
+                               status = "okay";
+                       };
+                       pcie@2,0 {
+                               /* Port 1, Lane 0 */
+                               status = "okay";
+                       };
+               };
        };
 };