ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:27 +0000 (13:21 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:21:27 +0000 (13:21 +0000)
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Backport of r42184

SVN-Revision: 42363

target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c

index 496956446b9d6d16308f5d9410a107c893e43a7b..701330cebd05f59ba396faa971a563a30f0da5bd 100644 (file)
@@ -164,6 +164,7 @@ static void __init mr600_base_setup(unsigned num_leds, struct gpio_led *leds)
 static void __init mr600_setup(void)
 {
        mr600_base_setup(ARRAY_SIZE(mr600_leds_gpio), mr600_leds_gpio);
+       ap9x_pci_setup_wmac_led_pin(0, 0);
 }
 
 MIPS_MACHINE(ATH79_MACH_MR600, "MR600", "OpenMesh MR600", mr600_setup);