aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-dt.c
diff options
context:
space:
mode:
authorSimon Baatz <gmbnomis@gmail.com>2012-04-30 17:55:17 -0400
committerJason Cooper <jason@lakedaemon.net>2012-05-14 23:18:49 -0400
commitf5520363532690f56e12126029864d9383d5203f (patch)
tree244f770e3354367f573b5583a41c6a7a8a2ac52e /arch/arm/mach-kirkwood/board-dt.c
parentc06cd9bfcad4960023bac1f052da748824e24961 (diff)
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)
62 if (of_machine_is_compatible("iom,iconnect")) 62 if (of_machine_is_compatible("iom,iconnect"))
63 iconnect_init(); 63 iconnect_init();
64 64
65 if (of_machine_is_compatible("raidsonic,ib-nas62x0"))
66 ib62x0_init();
67
65 of_platform_populate(NULL, kirkwood_dt_match_table, NULL, NULL); 68 of_platform_populate(NULL, kirkwood_dt_match_table, NULL, NULL);
66} 69}
67 70
@@ -70,6 +73,7 @@ static const char *kirkwood_dt_board_compat[] = {
70 "dlink,dns-320", 73 "dlink,dns-320",
71 "dlink,dns-325", 74 "dlink,dns-325",
72 "iom,iconnect", 75 "iom,iconnect",
76 "raidsonic,ib-nas62x0",
73 NULL 77 NULL
74}; 78};
75 79