Commit 36e57220 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 670ee03c
...@@ -109,6 +109,14 @@ partition@980000 { ...@@ -109,6 +109,14 @@ partition@980000 {
reg = <0x980000 0x1f400000>; reg = <0x980000 0x1f400000>;
}; };
}; };
pcie-controller {
status = "okay";
pcie@1,0 {
status = "okay";
};
};
}; };
gpio-leds { gpio-leds {
......
...@@ -22,11 +22,3 @@ void __init iconnect_init(void) ...@@ -22,11 +22,3 @@ void __init iconnect_init(void)
{ {
kirkwood_ge00_init(&iconnect_ge00_data); 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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment