diff options
author | Marek Vasut <marex@denx.de> | 2013-09-29 18:41:29 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-04 22:16:33 -0400 |
commit | e0ec2f39ef9905a24d5d88238eda3dabb8d591e0 (patch) | |
tree | 043899557a73d02ab98361eaea8140a2d246ed8d /arch/arm/mach-mxs/mach-mxs.c | |
parent | 80121372ec26eb1871e62688f74316f4fd838beb (diff) |
ARM: dts: mxs: Add MSR M28CU3 board
This board is based on the M28 SoM with custom baseboard. Supported
are LEDs, ethernet, PWM, LCD, SD slots.
Signed-off-by: Marek Vasut <marex@denx.de>
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.c | 7 |
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 98f6e2adb53e..c0ceb17649fa 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
@@ -332,6 +332,11 @@ static void __init crystalfontz_init(void) | |||
332 | update_fec_mac_prop(OUI_CRYSTALFONTZ); | 332 | update_fec_mac_prop(OUI_CRYSTALFONTZ); |
333 | } | 333 | } |
334 | 334 | ||
335 | static void __init m28cu3_init(void) | ||
336 | { | ||
337 | update_fec_mac_prop(OUI_DENX); | ||
338 | } | ||
339 | |||
335 | static const char __init *mxs_get_soc_id(void) | 340 | static const char __init *mxs_get_soc_id(void) |
336 | { | 341 | { |
337 | struct device_node *np; | 342 | struct device_node *np; |
@@ -459,6 +464,8 @@ static void __init mxs_machine_init(void) | |||
459 | apx4devkit_init(); | 464 | apx4devkit_init(); |
460 | else if (of_machine_is_compatible("crystalfontz,cfa10036")) | 465 | else if (of_machine_is_compatible("crystalfontz,cfa10036")) |
461 | crystalfontz_init(); | 466 | crystalfontz_init(); |
467 | else if (of_machine_is_compatible("msr,m28cu3")) | ||
468 | m28cu3_init(); | ||
462 | 469 | ||
463 | of_platform_populate(NULL, of_default_bus_match_table, | 470 | of_platform_populate(NULL, of_default_bus_match_table, |
464 | NULL, parent); | 471 | NULL, parent); |