summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x/board-dt.c
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-16 16:39:46 +0100
committerJason Cooper <jason@lakedaemon.net>2012-11-21 21:00:51 +0000
commit07f645df9ff2550749b806af626576d5ad418215 (patch)
tree2f2c90f91a64ff8089261e4a81db2f218a125c58 /arch/arm/mach-orion5x/board-dt.c
parent1bffb4a8729838f5ee27364803406416459c3252 (diff)
downloadtalos-obmc-linux-07f645df9ff2550749b806af626576d5ad418215.tar.gz
talos-obmc-linux-07f645df9ff2550749b806af626576d5ad418215.zip
arm: orion5x: convert 'LaCie Ethernet Disk mini v2' to Device Tree
This commit converts the 'LaCie Ethernet Disk mini v2' board to the Device Tree. All devices that have existing Device Tree bindings are converted over to the Device Tree, the other devices remain instantiated in the old way, until the respective drivers get the needed Device Tree bindings. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested by: Maxime Hadjinlian <mhadjinlian@lacie.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-orion5x/board-dt.c')
-rw-r--r--arch/arm/mach-orion5x/board-dt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/board-dt.c b/arch/arm/mach-orion5x/board-dt.c
index a26397f58f1f..32e5c211a89b 100644
--- a/arch/arm/mach-orion5x/board-dt.c
+++ b/arch/arm/mach-orion5x/board-dt.c
@@ -55,6 +55,9 @@ static void __init orion5x_dt_init(void)
disable_hlt();
}
+ if (of_machine_is_compatible("lacie,ethernet-disk-mini-v2"))
+ edmini_v2_init();
+
of_platform_populate(NULL, of_default_bus_match_table,
orion5x_auxdata_lookup, NULL);
}
OpenPOWER on IntegriCloud