aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorJulien Boibessot <julien.boibessot@armadeus.com>2012-10-18 05:50:26 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-10-19 04:45:20 -0400
commita957fdca4feb7fbc51f9c7c6a152a86f35ca7751 (patch)
tree02fe1029ff58c3af71eb3e1b84f464e2ed47cc83 /arch/arm/mach-mxs
parent8eec4b3117405e5561d2c65c9222cf3334c0ca3a (diff)
ARM: mxs: Add support for the Armadeus Systems APF28 module
The APF28 is a small SOM built around an i.MX28 processor with 128MBytes DDR2, 256MBytes NAND Flash and an Ethernet PHY. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/mach-mxs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c
index b8c452a1b0ae..9cfb25cb0e90 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -367,6 +367,11 @@ static void __init cfa10049_init(void)
367 update_fec_mac_prop(OUI_CRYSTALFONTZ); 367 update_fec_mac_prop(OUI_CRYSTALFONTZ);
368} 368}
369 369
370static void __init apf28_init(void)
371{
372 enable_clk_enet_out();
373}
374
370static void __init mxs_machine_init(void) 375static void __init mxs_machine_init(void)
371{ 376{
372 if (of_machine_is_compatible("fsl,imx28-evk")) 377 if (of_machine_is_compatible("fsl,imx28-evk"))
@@ -379,6 +384,8 @@ static void __init mxs_machine_init(void)
379 apx4devkit_init(); 384 apx4devkit_init();
380 else if (of_machine_is_compatible("crystalfontz,cfa10049")) 385 else if (of_machine_is_compatible("crystalfontz,cfa10049"))
381 cfa10049_init(); 386 cfa10049_init();
387 else if (of_machine_is_compatible("armadeus,imx28-apf28"))
388 apf28_init();
382 389
383 of_platform_populate(NULL, of_default_bus_match_table, 390 of_platform_populate(NULL, of_default_bus_match_table,
384 mxs_auxdata_lookup, NULL); 391 mxs_auxdata_lookup, NULL);