mvebu: add preliminary support for PCI express
[openwrt/svn-archive/archive.git] / target / linux / mvebu / patches-3.8 / 042-arm_mvebu_add_pcie_dt_a370_db.patch
1 The Marvell evaluation board (DB) for the Armada 370 SoC has 2
2 physical 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-370-db.dts | 15 +++++++++++++++
8 1 file changed, 15 insertions(+)
9
10 --- a/arch/arm/boot/dts/armada-370-db.dts
11 +++ b/arch/arm/boot/dts/armada-370-db.dts
12 @@ -82,5 +82,20 @@
13 usb@d0051000 {
14 status = "okay";
15 };
16 +
17 + pcie-controller {
18 + status = "okay";
19 + /*
20 + * The two PCIe units are accessible through
21 + * both standard PCIe slots and mini-PCIe
22 + * slots on the board.
23 + */
24 + pcie0@0xd0040000 {
25 + status = "okay";
26 + };
27 + pcie1@0xd0080000 {
28 + status = "okay";
29 + };
30 + };
31 };
32 };