81ab352d9f72c7dcfee995b6d541b495a05d5349
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0032-arm-mvebu-enable-mini-PCIe-connectors-on-Armada-370-.patch
1 From e552d168344e941a1781682207269dbfd27850b1 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 18 Jun 2013 15:37:41 +0200
4 Subject: [PATCH 032/203] arm: mvebu: enable mini-PCIe connectors on Armada 370
5  RD
6
7 The Armada 370 RD board has two internal mini-PCIe connectors. This
8 commit adds the necessary Device Tree informations to enable the usage
9 of those mini-PCIe connectors.
10
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 Cc: Florian Fainelli <florian@openwrt.org>
13 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
14 ---
15  arch/arm/boot/dts/armada-370-rd.dts | 16 ++++++++++++++++
16  1 file changed, 16 insertions(+)
17
18 --- a/arch/arm/boot/dts/armada-370-rd.dts
19 +++ b/arch/arm/boot/dts/armada-370-rd.dts
20 @@ -85,6 +85,22 @@
21                                         gpios = <&gpio0 6 1>;
22                                 };
23                         };
24 +
25 +                       pcie-controller {
26 +                               status = "okay";
27 +
28 +                               /* Internal mini-PCIe connector */
29 +                               pcie@1,0 {
30 +                                       /* Port 0, Lane 0 */
31 +                                       status = "okay";
32 +                               };
33 +
34 +                               /* Internal mini-PCIe connector */
35 +                               pcie@2,0 {
36 +                                       /* Port 1, Lane 0 */
37 +                                       status = "okay";
38 +                               };
39 +                       };
40                 };
41         };
42   };