mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
fix 1000l LED
This commit is contained in:
parent
02e39d0cca
commit
a34822b089
2 changed files with 13 additions and 6 deletions
|
@ -62,7 +62,7 @@ pangu,l1000)
|
||||||
ucidef_set_led_default "power" "POWER" "${boardname}:blue:power" "1"
|
ucidef_set_led_default "power" "POWER" "${boardname}:blue:power" "1"
|
||||||
ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:blue:wlan2g" "phy0tpt"
|
ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:blue:wlan2g" "phy0tpt"
|
||||||
ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:blue:wlan5g" "phy1tpt"
|
ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:blue:wlan5g" "phy1tpt"
|
||||||
ucidef_set_led_switch "wan" "WAN" "${boardname}:blue:wan" "switch0" "0x20"
|
ucidef_set_led_netdev "wan" "WAN" "${boardname}:blue:wan" "eth1"
|
||||||
;;
|
;;
|
||||||
netgear,ex6100v2 |\
|
netgear,ex6100v2 |\
|
||||||
netgear,ex6150v2)
|
netgear,ex6150v2)
|
||||||
|
|
|
@ -123,24 +123,31 @@
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
power: status {
|
power: status {
|
||||||
label = "l1000:blue:status";
|
label = "blue:status";
|
||||||
gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan2g {
|
wlan2g {
|
||||||
label = "l1000:blue:wlan2g";
|
label = "blue:wlan2g";
|
||||||
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wlan5g {
|
wlan5g {
|
||||||
label = "l1000:bule:wlan5g";
|
label = "bule:wlan5g";
|
||||||
gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
wan: wan {
|
wan: wan {
|
||||||
label = "l1000:bule:usb";
|
label = "bule:wan";
|
||||||
gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
|
gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
led_usb: usb {
|
||||||
|
label = "green:usb";
|
||||||
|
gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
|
||||||
|
trigger-sources = <&usb3_port1>, <&usb3_port2>,
|
||||||
|
<&usb2_port1>;
|
||||||
|
linux,default-trigger = "usbport";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue