netgear,wndap660)
ucidef_set_led_netdev "lan_act" "LAN (Activity)" "green:activity" "eth0"
- ucidef_set_led_switch "lan1_100" "LAN 100Mbps" "amber:lan-0" "switch0" "0x04" "0x04" "link"
- ucidef_set_led_switch "lan1_1000" "LAN 1000Mbps" "green:lan-0" "switch0" "0x04" "0x08" "link"
- ucidef_set_led_switch "lan2_100" "LAN 100Mbps" "amber:lan-1" "switch0" "0x02" "0x04" "link"
- ucidef_set_led_switch "lan2_1000" "LAN 1000Mbps" "green:lan-1" "switch0" "0x02" "0x08" "link"
+ ucidef_set_led_switch "lan1_100" "LAN 100Mbps" "amber:lan-1" "switch0" "0x02" "0x04" "link"
+ ucidef_set_led_switch "lan1_1000" "LAN 1000Mbps" "green:lan-1" "switch0" "0x02" "0x08" "link"
+ ucidef_set_led_switch "lan2_100" "LAN 100Mbps" "amber:lan-2" "switch0" "0x04" "0x04" "link"
+ ucidef_set_led_switch "lan2_1000" "LAN 1000Mbps" "green:lan-2" "switch0" "0x04" "0x08" "link"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan-0" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan-1" "phy1tpt"
;;
":test=:fault" \
":wlan2g=:wlan-0" \
":wlan5g=:wlan-1" \
- ":lan1-link100=:lan-0" \
+ ":lan1-link100=:lan-1" \
":lan1-link1000=:lan-1" \
- ":lan2-link100=:lan-1" \
+ ":lan2-link100=:lan-2" \
":lan2-link1000=:lan-2"
;;
netgear,wndr4700)
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
function-enumerator = <1>;
- gpios = <&GPIO0 22 GPIO_ACTIVE_HIGH>;
+ gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>;
};
led-6 {
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_LAN;
- function-enumerator = <0>;
- gpios = <&GPIO0 23 GPIO_ACTIVE_HIGH>;
+ function-enumerator = <1>;
+ gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>;
};
led-7 {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_LAN;
function-enumerator = <2>;
- gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>;
+ gpios = <&GPIO0 22 GPIO_ACTIVE_HIGH>;
};
led-8 {
color = <LED_COLOR_ID_AMBER>;
function = LED_FUNCTION_LAN;
- function-enumerator = <1>;
- gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>;
+ function-enumerator = <2>;
+ gpios = <&GPIO0 23 GPIO_ACTIVE_HIGH>;
};
};