ramips: fix PSG1218 LEDs
Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
This commit is contained in:
parent
a71a8955f2
commit
8312738806
3 changed files with 6 additions and 5 deletions
|
@ -264,7 +264,8 @@ psg1208)
|
||||||
set_wifi_led "$board:white:wlan2g"
|
set_wifi_led "$board:white:wlan2g"
|
||||||
;;
|
;;
|
||||||
psg1218)
|
psg1218)
|
||||||
ucidef_set_led_default "power" "power" "$board:red:status" "1"
|
ucidef_set_led_netdev "Network" "Network" "$board:blue:status" "eth0"
|
||||||
|
ucidef_set_led_default "status" "STATUS" "$board:yellow:status" "0"
|
||||||
;;
|
;;
|
||||||
px-4885)
|
px-4885)
|
||||||
set_wifi_led "$board:orange:wifi"
|
set_wifi_led "$board:orange:wifi"
|
||||||
|
|
|
@ -99,7 +99,7 @@ get_status_led() {
|
||||||
status_led="$board:white:wps"
|
status_led="$board:white:wps"
|
||||||
;;
|
;;
|
||||||
psg1218)
|
psg1218)
|
||||||
status_led="$board:blue:status"
|
status_led="$board:yellow:status"
|
||||||
;;
|
;;
|
||||||
cy-swr1100|\
|
cy-swr1100|\
|
||||||
w502u)
|
w502u)
|
||||||
|
|
|
@ -11,17 +11,17 @@
|
||||||
|
|
||||||
blue {
|
blue {
|
||||||
label = "psg1218:blue:status";
|
label = "psg1218:blue:status";
|
||||||
gpios = <&gpio0 10 0>;
|
gpios = <&gpio0 10 1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
yellow {
|
yellow {
|
||||||
label = "psg1218:yellow:status";
|
label = "psg1218:yellow:status";
|
||||||
gpios = <&gpio0 11 0>;
|
gpios = <&gpio0 11 1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
red {
|
red {
|
||||||
label = "psg1218:red:status";
|
label = "psg1218:red:status";
|
||||||
gpios = <&gpio0 8 1>;
|
gpios = <&gpio0 8 0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue