From: Gabor Juhos Date: Sat, 21 Sep 2013 12:04:45 +0000 (+0000) Subject: ar71xx: fix LAN LEDs for dir-825-c1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=50f47324388bdf2c0c96046bc20ea558a15a92f1;p=openwrt%2Fstaging%2Fluka.git ar71xx: fix LAN LEDs for dir-825-c1 This patches fixes the lan led configuration. The new configuration is identical to the one in mach-db120.c and it works. The previous one didn't work at all. Signed-off-by: Sebastian Kemper Signed-off-by: Gabor Juhos SVN-Revision: 38094 --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c index 3ab16e04c3..21d4271bd6 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c @@ -140,11 +140,11 @@ static struct ar8327_pad_cfg dir825c1_ar8327_pad0_cfg = { }; static struct ar8327_led_cfg dir825c1_ar8327_led_cfg = { - .led_ctrl0 = 0xc737c737, - .led_ctrl1 = 0x00000000, + .led_ctrl0 = 0x00000000, + .led_ctrl1 = 0xc737c737, .led_ctrl2 = 0x00000000, - .led_ctrl3 = 0x0030c300, - .open_drain = false, + .led_ctrl3 = 0x00c30c00, + .open_drain = true, }; static struct ar8327_platform_data dir825c1_ar8327_data = {