ARM: OMAP2+: Use pdata quirks for wl12xx on VAR-STK/DVK-OM44
authorJoachim Eastwood <manabian@gmail.com>
Mon, 12 May 2014 18:32:03 +0000 (20:32 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 20 May 2014 00:20:30 +0000 (17:20 -0700)
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pdata-quirks.c

index c3b73351cb7af37343c7ada35c6e43c581fd04fc..ab94f3a87c32f2711ac14c04dd2b25d7cd208b7a 100644 (file)
@@ -254,6 +254,11 @@ static void __init omap4_panda_legacy_init(void)
 {
        legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 53);
 }
+
+static void __init var_som_om44_legacy_init(void)
+{
+       legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 41);
+}
 #endif
 
 #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5)
@@ -364,6 +369,8 @@ static struct pdata_init pdata_quirks[] __initdata = {
 #ifdef CONFIG_ARCH_OMAP4
        { "ti,omap4-sdp", omap4_sdp_legacy_init, },
        { "ti,omap4-panda", omap4_panda_legacy_init, },
+       { "variscite,var-dvk-om44", var_som_om44_legacy_init, },
+       { "variscite,var-stk-om44", var_som_om44_legacy_init, },
 #endif
 #ifdef CONFIG_SOC_AM33XX
        { "ti,am335x-evmsk", am335x_evmsk_legacy_init, },