mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
ath79: fix LED labels for PowerCloud CAP324
The order of function and color in the labels in inverted for the LAN LEDs. Fix it. Fixes:915966d861
("ath79: Port PowerCloud Systems CAP324 support") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit96023cd4ba
)
This commit is contained in:
parent
78c4c04dd7
commit
c25e3275ac
@ -91,7 +91,7 @@ on,n150r)
|
||||
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"
|
||||
|
@ -10,6 +10,9 @@ case "$board" in
|
||||
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|\
|
||||
|
@ -60,12 +60,12 @@
|
||||
};
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user