2013-10-03 02:50:00 +00:00
|
|
|
From cce41fad080eb7e5f3e3e27bbcc5730d624c5d4b Mon Sep 17 00:00:00 2001
|
2013-10-02 00:33:47 +00:00
|
|
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
2013-10-03 02:50:00 +00:00
|
|
|
Date: Wed, 15 May 2013 15:36:57 +0200
|
2013-10-02 00:33:47 +00:00
|
|
|
Subject: [PATCH 12/29] arm: kirkwood: convert Iomega Iconnect to use DT for
|
|
|
|
the PCIe interface
|
|
|
|
|
|
|
|
Now that the PCIe mvebu driver is usable on Kirkwood, use it instead
|
|
|
|
of the legacy PCIe code, since it allows to describe the PCIe
|
|
|
|
interfaces in the Device Tree.
|
|
|
|
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
2013-10-03 02:50:00 +00:00
|
|
|
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
|
2013-10-02 00:33:47 +00:00
|
|
|
---
|
|
|
|
arch/arm/boot/dts/kirkwood-iconnect.dts | 8 ++++++++
|
|
|
|
arch/arm/mach-kirkwood/board-iconnect.c | 8 --------
|
|
|
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
|
|
|
|
--- a/arch/arm/boot/dts/kirkwood-iconnect.dts
|
|
|
|
+++ b/arch/arm/boot/dts/kirkwood-iconnect.dts
|
|
|
|
@@ -109,6 +109,14 @@
|
|
|
|
reg = <0x980000 0x1f400000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+ pcie-controller {
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ pcie@1,0 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
--- a/arch/arm/mach-kirkwood/board-iconnect.c
|
|
|
|
+++ b/arch/arm/mach-kirkwood/board-iconnect.c
|
|
|
|
@@ -22,11 +22,3 @@ void __init iconnect_init(void)
|
|
|
|
{
|
|
|
|
kirkwood_ge00_init(&iconnect_ge00_data);
|
|
|
|
}
|
|
|
|
-
|
|
|
|
-static int __init iconnect_pci_init(void)
|
|
|
|
-{
|
|
|
|
- if (of_machine_is_compatible("iom,iconnect"))
|
|
|
|
- kirkwood_pcie_init(KW_PCIE0);
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-subsys_initcall(iconnect_pci_init);
|