summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:21 +0000
commit01c76bf12803040bb47146269005bc99cd65fb83 (patch)
treef9f78f10ee4832f5c9e0e47ad728cf2fc1ee33b9 /target/linux/ar71xx
parentc1d3a23d19cde73cd59d2b64643e241e4c7bf6c7 (diff)
downloadmtk-20170518-01c76bf12803040bb47146269005bc99cd65fb83.zip
mtk-20170518-01c76bf12803040bb47146269005bc99cd65fb83.tar.gz
mtk-20170518-01c76bf12803040bb47146269005bc99cd65fb83.tar.bz2
ar71xx: fix WLAN LEDs on the DIR-825 board
SVN-Revision: 24650
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
index 3d31146..a36d2d0 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
@@ -178,6 +178,9 @@ static void __init dir825b1_setup(void)
platform_device_register(&dir825b1_rtl8366s_device);
+ ap94_pci_setup_wmac_led_pin(0, 5);
+ ap94_pci_setup_wmac_led_pin(1, 5);
+
ap94_pci_init((u8 *) KSEG1ADDR(DIR825B1_CAL_LOCATION_0),
(u8 *) KSEG1ADDR(DIR825B1_MAC_LOCATION_0),
(u8 *) KSEG1ADDR(DIR825B1_CAL_LOCATION_1),