From f5520363532690f56e12126029864d9383d5203f Mon Sep 17 00:00:00 2001 From: Simon Baatz Date: Mon, 30 Apr 2012 23:55:17 +0200 Subject: 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 Signed-off-by: Jason Cooper --- arch/arm/mach-kirkwood/board-dt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-kirkwood/board-dt.c') diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 7e82a8e9379..10d1969b9e3 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 }; -- cgit v1.2.3-70-g09d2