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 <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38094
This commit is contained in:
Gabor Juhos 2013-09-21 12:04:45 +00:00
parent 4894800bdd
commit 50f4732438

View file

@ -140,11 +140,11 @@ static struct ar8327_pad_cfg dir825c1_ar8327_pad0_cfg = {
}; };
static struct ar8327_led_cfg dir825c1_ar8327_led_cfg = { static struct ar8327_led_cfg dir825c1_ar8327_led_cfg = {
.led_ctrl0 = 0xc737c737, .led_ctrl0 = 0x00000000,
.led_ctrl1 = 0x00000000, .led_ctrl1 = 0xc737c737,
.led_ctrl2 = 0x00000000, .led_ctrl2 = 0x00000000,
.led_ctrl3 = 0x0030c300, .led_ctrl3 = 0x00c30c00,
.open_drain = false, .open_drain = true,
}; };
static struct ar8327_platform_data dir825c1_ar8327_data = { static struct ar8327_platform_data dir825c1_ar8327_data = {