arm: mvebu: enable mini-PCIe connectors on Armada 370 RD
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Jun 2013 13:37:41 +0000 (15:37 +0200)
committerJason Cooper <jason@lakedaemon.net>
Wed, 19 Jun 2013 14:20:52 +0000 (14:20 +0000)
The Armada 370 RD board has two internal mini-PCIe connectors. This
commit adds the necessary Device Tree informations to enable the usage
of those mini-PCIe connectors.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-rd.dts

index 89c21106cfa93de89fac1c9209efff44dad2ef06..a3a2fedb87267dd21f3146d4434e91f0f80bd614 100644 (file)
                                        gpios = <&gpio0 6 1>;
                                };
                        };
+
+                       pcie-controller {
+                               status = "okay";
+
+                               /* Internal mini-PCIe connector */
+                               pcie@1,0 {
+                                       /* Port 0, Lane 0 */
+                                       status = "okay";
+                               };
+
+                               /* Internal mini-PCIe connector */
+                               pcie@2,0 {
+                                       /* Port 1, Lane 0 */
+                                       status = "okay";
+                               };
+                       };
                };
        };
  };