diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-01-26 13:40:37 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-26 13:40:37 +0800 |
commit | e0f7d905242f5eedc4801ce588f7f588f4ec57cb (patch) | |
tree | 21199a9f950194f08ec8c3122abe245ca16819d9 /arch/arm/mach-mxs | |
parent | da021ee3a069b897833f737d86a343b860ad7a54 (diff) | |
download | lwn-e0f7d905242f5eedc4801ce588f7f588f4ec57cb.tar.gz lwn-e0f7d905242f5eedc4801ce588f7f588f4ec57cb.zip |
ARM: mxs: dt: Add Crystalfontz CFA-10037 device tree support
The CFA-10037 is another expansion board for the CFA-10036 module, with
only a USB Host, a Ethernet device and a lot of gpios.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index c66129b5dd18..19c5aeb20b89 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c @@ -395,6 +395,12 @@ static void __init cfa10049_init(void) update_fec_mac_prop(OUI_CRYSTALFONTZ); } +static void __init cfa10037_init(void) +{ + enable_clk_enet_out(); + update_fec_mac_prop(OUI_CRYSTALFONTZ); +} + static void __init apf28_init(void) { enable_clk_enet_out(); @@ -415,6 +421,8 @@ static void __init mxs_machine_init(void) m28evk_init(); else if (of_machine_is_compatible("bluegiga,apx4devkit")) apx4devkit_init(); + else if (of_machine_is_compatible("crystalfontz,cfa10037")) + cfa10037_init(); else if (of_machine_is_compatible("crystalfontz,cfa10049")) cfa10049_init(); else if (of_machine_is_compatible("armadeus,imx28-apf28")) |