aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2022-10-22 13:00:38 -0700
committerPetr Štetiar <ynezz@true.cz>2022-10-23 08:27:40 +0200
commita3da858ab03088088dca9aabf0c8b379385ad671 (patch)
treef4ce8b927225d7fd25ceeb2c23e6faf5320862f2 /target/linux/ipq40xx/base-files/etc
parent78cbcc77cc33638b185f85c0e40daee1906a2c3c (diff)
downloadupstream-a3da858ab03088088dca9aabf0c8b379385ad671.tar.gz
upstream-a3da858ab03088088dca9aabf0c8b379385ad671.tar.bz2
upstream-a3da858ab03088088dca9aabf0c8b379385ad671.zip
ipq40xx: Convert Google Wifi to DSA, reenable
Undo parts of these: 116feb4a1cad ipq40xx: remove non-converted network configs db19efee9512 ipq40xx: disable boards not converted to DSA Reintroduce the DT paths /soc/edma@c080000/gmac{0,1}, because the stock bootloader has memorized them (instead of following aliases); then plug the MAC address back in via 05_set_iface_mac_ipq40xx.sh, since the 'local-mac-address' property is no longer in the correct node. Cc: David Bauer <mail@david-bauer.net> Cc: Robert Marko <robert.marko@sartura.hr> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index fc9751eb13..57c228e123 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -32,6 +32,7 @@ ipq40xx_setup_interfaces()
cilab,meshpoint-one|\
edgecore,ecw5211|\
glinet,gl-b2200|\
+ google,wifi|\
luma,wrtq-329acn|\
mikrotik,cap-ac|\
netgear,wac510|\
@@ -119,6 +120,10 @@ ipq40xx_setup_macs()
ezviz,cs-w3-wd1200g-eup)
label_mac=$(mtd_get_mac_binary "ART" 0x6)
;;
+ google,wifi)
+ wan_mac=$(get_mac_label)
+ lan_mac=$(macaddr_add "$wan_mac" 1)
+ ;;
linksys,ea6350v3|\
linksys,ea8300 |\
linksys,mr8300)