diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-16 16:39:46 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-11-21 21:00:51 +0000 |
commit | 07f645df9ff2550749b806af626576d5ad418215 (patch) | |
tree | 2f2c90f91a64ff8089261e4a81db2f218a125c58 /arch/arm/mach-orion5x/board-dt.c | |
parent | 1bffb4a8729838f5ee27364803406416459c3252 (diff) | |
download | op-kernel-dev-07f645df9ff2550749b806af626576d5ad418215.zip op-kernel-dev-07f645df9ff2550749b806af626576d5ad418215.tar.gz |
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.c | 3 |
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 a26397f..32e5c21 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); } |