arm: mvebu: PCIe Device Tree informations for Armada XP GP
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Apr 2013 21:06:39 +0000 (23:06 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 15 Apr 2013 14:53:53 +0000 (14:53 +0000)
The Marvell Armada XP GP board has 3 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-xp-gp.dts

index e57e9c72eb66f4c30e3bc9015e8c609205115245..04f28a712b985e1ed1d3a44b49b779d6083d73a5 100644 (file)
                                bank-width = <2>;
                        };
                };
+
+               pcie-controller {
+                       status = "okay";
+
+                       /*
+                        * The 3 slots are physically present as
+                        * standard PCIe slots on the board.
+                        */
+                       pcie@1,0 {
+                               /* Port 0, Lane 0 */
+                               status = "okay";
+                       };
+                       pcie@9,0 {
+                               /* Port 2, Lane 0 */
+                               status = "okay";
+                       };
+                       pcie@10,0 {
+                               /* Port 3, Lane 0 */
+                               status = "okay";
+                       };
+               };
        };
 };