summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/board-dt.c
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2012-09-04 11:55:02 +0200
committerJason Cooper <jason@lakedaemon.net>2012-09-21 17:07:17 +0000
commit0510c8a014432b45f09509d1fb450922ec96b40d (patch)
tree82d01eea4ec0a5dfded7f000ad19055d135efaff /arch/arm/mach-kirkwood/board-dt.c
parent903234673f1421f5ad9a74bafca427b812f59c93 (diff)
downloadtalos-op-linux-0510c8a014432b45f09509d1fb450922ec96b40d.tar.gz
talos-op-linux-0510c8a014432b45f09509d1fb450922ec96b40d.zip
ARM: initial DTS support for km_kirkwood
This is a first attempt to support the km_kirkwood reference design with a device tree. This km_kirkwood design is present in many Keymile products. It is based on the Marvell Bobcat SOC which integrates a Kirkwood CPU next to a big L2 Ethernet Switch. The Kirkwood in the SOC is very similar to the "normal" one, but there are a few differences. This initial support is minimal: the kernel can boot with network (ge0), serial port and NAND functional. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: Andrew Lunn <andrew@lunn.ch> 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 30a4caa2b76c..496554664e08 100644
--- a/arch/arm/mach-kirkwood/board-dt.c
+++ b/arch/arm/mach-kirkwood/board-dt.c
@@ -93,6 +93,9 @@ static void __init kirkwood_dt_init(void)
if (of_machine_is_compatible("iom,ix2-200"))
iomega_ix2_200_init();
+ if (of_machine_is_compatible("keymile,km_kirkwood"))
+ km_kirkwood_init();
+
of_platform_populate(NULL, kirkwood_dt_match_table,
kirkwood_auxdata_lookup, NULL);
}
@@ -108,6 +111,7 @@ static const char *kirkwood_dt_board_compat[] = {
"seagate,goflexnet",
"buffalo,lsxl",
"iom,ix2-200",
+ "keymile,km_kirkwood",
NULL
};
OpenPOWER on IntegriCloud