aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorArınç ÜNAL <arinc.unal@arinc9.com>2022-10-19 14:43:00 +0300
committerChuanhong Guo <gch981213@gmail.com>2023-01-08 12:31:52 +0800
commitfc33c41c21362b7186aa051a2140623943fa3143 (patch)
tree3100c6ff9da7c2d877c2c476839ed332e8b28589 /target/linux/ramips/mt7621
parent3c31f6b521bb5fc49e222a8f2bcd454b73452a0e (diff)
downloadupstream-fc33c41c21362b7186aa051a2140623943fa3143.tar.gz
upstream-fc33c41c21362b7186aa051a2140623943fa3143.tar.bz2
upstream-fc33c41c21362b7186aa051a2140623943fa3143.zip
ramips: do not use GPIO function on switch pins on certain devices
The pins of the MT7530 switch that translate to GPIO 0, 3, 6, 9 and 12 has got a function, by default, which does the same thing as the netdev trigger. Because of bridge offloading on DSA, the netdev trigger won't see the frames between the switch ports whilst the default function will. Do not use the GPIO function on switch pins on devices that fall under this category. Keep it for: mt7621_belkin_rt1800.dts: There's only one LED which is for the wan interface and there's no bridge offloading between the "wan" interface and other interfaces. mt7621_yuncore_ax820.dts: There's no bridge offloading between the "wan" and "lan" interfaces. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/01_leds17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
index 5fafb9b50a..985eefb860 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
@@ -94,13 +94,6 @@ keenetic,kn-3010)
linksys,e5600)
ucidef_set_led_netdev "wan" "wan link" "blue:wan" "wan" "link"
;;
-linksys,e7350)
- ucidef_set_led_netdev "lan1" "lan1" "blue:lan-1" "lan1"
- ucidef_set_led_netdev "lan2" "lan2" "blue:lan-2" "lan2"
- ucidef_set_led_netdev "lan3" "lan4" "blue:lan-3" "lan3"
- ucidef_set_led_netdev "lan4" "lan4" "blue:lan-4" "lan4"
- ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan"
- ;;
linksys,ea6350-v4|\
linksys,ea7300-v1|\
linksys,ea7300-v2|\
@@ -149,9 +142,6 @@ netgear,r7450)
;;
netgear,wax202)
ucidef_set_led_netdev "internet" "Internet" "green:net" "wan"
- ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "lan1"
- ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "lan2"
- ucidef_set_led_netdev "lan3" "LAN3" "green:lan3" "lan3"
;;
oraybox,x3a)
ucidef_set_led_netdev "wan" "wan link" "red:status" "wan"
@@ -204,13 +194,6 @@ yuncore,ax820)
ucidef_set_led_netdev "lan" "LAN" "green:lan" "lan"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
;;
-zbtlink,zbt-wg1608-16m)
- ucidef_set_led_netdev "lan1" "LAN1" "green:lan-1" "lan1"
- ucidef_set_led_netdev "lan2" "LAN2" "green:lan-2" "lan2"
- ucidef_set_led_netdev "lan3" "LAN3" "green:lan-3" "lan3"
- ucidef_set_led_netdev "lan4" "LAN4" "green:lan-4" "lan4"
- ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
- ;;
zyxel,lte3301-plus)
ucidef_set_led_netdev "internet" "internet" "white:internet" "wwan0"
;;