Skip to content
Snippets Groups Projects
Commit ad9ad376 authored by Daniel Gonzalez Cabanelas's avatar Daniel Gonzalez Cabanelas Committed by Piotr Dymacz
Browse files

ar71xx: WNDR4300: Fix switch HW controlled LEDs


The Netgear WNDR4300, equipped with an Atheros AR8327 Gigabit Switch,
has two LEDs on each port for monitoring LAN activity, but it currently
only uses one. Fix the configuration to use both.

The patch provides this new configuration:
- green LED: 1 Gbps link, 4Hz blink frequency
- amber LED: 10/100 Mbps link. 4Hz for 100Mbps, 2Hz for 10Mbps

Signed-off-by: default avatarDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>
parent 09862bb0
No related branches found
No related tags found
No related merge requests found
...@@ -136,11 +136,11 @@ static struct ar8327_pad_cfg wndr4300_ar8327_pad0_cfg = { ...@@ -136,11 +136,11 @@ static struct ar8327_pad_cfg wndr4300_ar8327_pad0_cfg = {
}; };
static struct ar8327_led_cfg wndr4300_ar8327_led_cfg = { static struct ar8327_led_cfg wndr4300_ar8327_led_cfg = {
.led_ctrl0 = 0xc737c737, .led_ctrl0 = 0xcc35cc35,
.led_ctrl1 = 0x00000000, .led_ctrl1 = 0xcb37cb37,
.led_ctrl2 = 0x00000000, .led_ctrl2 = 0x00000000,
.led_ctrl3 = 0x0030c300, .led_ctrl3 = 0x00f3cf00,
.open_drain = false, .open_drain = true,
}; };
static struct ar8327_platform_data wndr4300_ar8327_data = { static struct ar8327_platform_data wndr4300_ar8327_data = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment