kernel: update linux 3.8 to 3.8.2
[openwrt.git] / target / linux / mvebu / patches-3.8 / 040-arm_mvebu_add_pcie_axp_db.patch
1 The Marvell evaluation board (DB) for the Armada XP SoC has 6
2 physicals full-size PCIe slots, so we enable the corresponding PCIe
3 interfaces in the Device Tree.
4
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 ---
7  arch/arm/boot/dts/armada-xp-db.dts |   27 +++++++++++++++++++++++++++
8  1 file changed, 27 insertions(+)
9
10 --- a/arch/arm/boot/dts/armada-xp-db.dts
11 +++ b/arch/arm/boot/dts/armada-xp-db.dts
12 @@ -109,5 +109,32 @@
13                 usb@d0052000 {
14                         status = "okay";
15                 };
16 +
17 +               pcie-controller {
18 +                       status = "okay";
19 +
20 +                       /*
21 +                        * All 6 slots are physically present as
22 +                        * standard PCIe slots on the board.
23 +                        */
24 +                       pcie0.0@0xd0040000 {
25 +                               status = "okay";
26 +                       };
27 +                       pcie0.1@0xd0044000 {
28 +                               status = "okay";
29 +                       };
30 +                       pcie0.2@0xd0048000 {
31 +                               status = "okay";
32 +                       };
33 +                       pcie0.3@0xd004C000 {
34 +                               status = "okay";
35 +                       };
36 +                       pcie2@0xd0042000 {
37 +                               status = "okay";
38 +                       };
39 +                       pcie3@0xd0082000 {
40 +                               status = "okay";
41 +                       };
42 +               };
43         };
44  };