summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-dt.c
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2012-04-30 23:55:17 +0200
committerJason Cooper <jason@lakedaemon.net>2012-05-15 03:18:49 +0000
commitf5520363532690f56e12126029864d9383d5203f (patch)
tree244f770e3354367f573b5583a41c6a7a8a2ac52e /arch/arm/mach-kirkwood/board-dt.c
parentc06cd9bfcad4960023bac1f052da748824e24961 (diff)
downloadlinux-f5520363532690f56e12126029864d9383d5203f.tar.bz2
ARM: kirkwood: Add support for RaidSonic IB-NAS6210/6220 using devicetree
Add support for the IB-NAS6210 and IB-NAS 6220. Describe as much as currently possible in the devicetree files, including the NAND partitions. Use the partition scheme of the original firmware by default. Create a board-ib62x0.c for everything else. Signed-off-by: Simon Baatz <gmbnomis@gmail.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dt.c')
-rw-r--r--arch/arm/mach-kirkwood/board-dt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c
index 7e82a8e93795..10d1969b9e3a 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -62,6 +62,9 @@ static void __init kirkwood_dt_init(void)
if (of_machine_is_compatible("iom,iconnect"))
iconnect_init();
+ if (of_machine_is_compatible("raidsonic,ib-nas62x0"))
+ ib62x0_init();
+
of_platform_populate(NULL, kirkwood_dt_match_table, NULL, NULL);
}
@@ -70,6 +73,7 @@ static const char *kirkwood_dt_board_compat[] = {
"dlink,dns-320",
"dlink,dns-325",
"iom,iconnect",
+ "raidsonic,ib-nas62x0",
NULL
};