ath79: fix usb led on wr-1043nd-v1
usb port was not triggered correctly also remove uneded wifi led trigger from the script Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
ab5b359876
commit
f7a220b2f6
2 changed files with 1 additions and 10 deletions
|
@ -37,10 +37,6 @@ case "$board" in
|
||||||
ucidef_set_led_switch "lan3" "LAN3" "$boardname:green:lan3" "switch0" "0x08"
|
ucidef_set_led_switch "lan3" "LAN3" "$boardname:green:lan3" "switch0" "0x08"
|
||||||
ucidef_set_led_switch "lan4" "LAN4" "$boardname:green:lan4" "switch0" "0x10"
|
ucidef_set_led_switch "lan4" "LAN4" "$boardname:green:lan4" "switch0" "0x10"
|
||||||
;;
|
;;
|
||||||
"tplink,tl-wr1043nd-v1")
|
|
||||||
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
|
|
||||||
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
|
@ -104,16 +104,11 @@
|
||||||
&usb {
|
&usb {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
port@1 {
|
|
||||||
reg = <1>;
|
|
||||||
#trigger-source-cells = <0>;
|
|
||||||
|
|
||||||
hub_port: port@1 {
|
hub_port: port@1 {
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
#trigger-source-cells = <0>;
|
#trigger-source-cells = <0>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&usb_phy {
|
&usb_phy {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
Loading…
Reference in a new issue