The order of function and color in the labels in inverted for the
LAN LEDs. Fix it.
Fixes: 915966d86121 ("ath79: Port PowerCloud Systems CAP324 support")
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit
96023cd4ba66c33e77d9df562dda44b0a1ba1ac9)
ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
;;
pcs,cap324)
- ucidef_set_led_netdev "lan" "LAN" "pcs:lan:green" "eth0"
+ ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
;;
pcs,cr3000)
ucidef_set_led_netdev "wan" "WAN" "pcs:blue:wan" "eth1"
engenius,epg5000)
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
;;
+pcs,cap324)
+ migrate_leds "lan:amber=amber:lan" "lan:green=green:lan"
+ ;;
tplink,archer-c25-v1|\
tplink,archer-c58-v1|\
tplink,archer-c59-v1|\
};
lan_amber {
- label = "pcs:lan:amber";
+ label = "pcs:amber:lan";
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
};
lan_green {
- label = "pcs:lan:green";
+ label = "pcs:green:lan";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};