mediatek: drop broken en8811h phy led node for tplink 7dr7250
The PHY LED is connected to EN8811H's internal GPIO, which is unable
to be controlled by current driver.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 9e3c8c9d94)
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
gpios = <&pio 53 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
led_status_green: led-2 {
|
||||
led_status_green: led-1 {
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
gpios = <&pio 54 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
@@ -57,17 +57,5 @@
|
||||
reset-gpios = <&pio 66 GPIO_ACTIVE_LOW>;
|
||||
reset-assert-us = <10000>;
|
||||
reset-deassert-us = <20000>;
|
||||
|
||||
leds {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/* FIXME: this does not work */
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
function = LED_FUNCTION_WAN;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -168,7 +168,6 @@ tplink,tl-7dr7250-v1)
|
||||
ucidef_set_led_netdev "lan1" "LAN1" "mt7530-0:01:green:lan" "lan1"
|
||||
ucidef_set_led_netdev "lan2" "LAN2" "mt7530-0:00:green:lan" "lan2"
|
||||
ucidef_set_led_netdev "lan3" "LAN3" "mdio-bus:0f:green:lan" "lan3"
|
||||
ucidef_set_led_netdev "wan" "WAN" "mdio-bus:0d:green:wan" "wan"
|
||||
;;
|
||||
wavlink,wl-wn586x3)
|
||||
ucidef_set_led_netdev "lan-1" "lan-1" "blue:lan-1" "lan1" "link tx rx"
|
||||
|
||||
Reference in New Issue
Block a user