aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/mach-mxs.c
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2013-12-05 08:28:06 -0500
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 08:33:20 -0500
commit9a4cc056530d88b25215da155061e5449a9b8f99 (patch)
treea4aab127139de2daeba4b2829469dfc1d374f481 /arch/arm/mach-mxs/mach-mxs.c
parentbb89b8d2aa371d2a4f74ff66c386089c4d0c2f99 (diff)
ARM: mxs: Add support for the eukrea-cpuimx28.
The following devices/functionalities were tested: * Main UART. * Ethernet0. * Ethernet1. * SD. * USB host. * USB otg. * Display(and its backlight). * Touchscreen. * Audio. * nand. * i2c and the pcf8563 device. * The gpio buttons. * The gpio leds. * Watchdog Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Denis Carikli <denis@eukrea.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/mach-mxs.c')
-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 02b17f7c4b6f..2e7cec86e50e 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -448,6 +448,11 @@ static int __init mxs_restart_init(void)
448 return 0; 448 return 0;
449} 449}
450 450
451static void __init eukrea_mbmx283lc_init(void)
452{
453 mxs_saif_clkmux_select(MXS_DIGCTL_SAIF_CLKMUX_EXTMSTR0);
454}
455
451static void __init mxs_machine_init(void) 456static void __init mxs_machine_init(void)
452{ 457{
453 struct device_node *root; 458 struct device_node *root;
@@ -486,6 +491,8 @@ static void __init mxs_machine_init(void)
486 apx4devkit_init(); 491 apx4devkit_init();
487 else if (of_machine_is_compatible("crystalfontz,cfa10036")) 492 else if (of_machine_is_compatible("crystalfontz,cfa10036"))
488 crystalfontz_init(); 493 crystalfontz_init();
494 else if (of_machine_is_compatible("eukrea,mbmx283lc"))
495 eukrea_mbmx283lc_init();
489 else if (of_machine_is_compatible("i2se,duckbill")) 496 else if (of_machine_is_compatible("i2se,duckbill"))
490 duckbill_init(); 497 duckbill_init();
491 else if (of_machine_is_compatible("msr,m28cu3")) 498 else if (of_machine_is_compatible("msr,m28cu3"))