ipq40xx: convert some boards to DSA

Convert IPQ40xx boards to DSA setup.

Signed-off-by: Leon M. George <leon@georgemail.eu>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Nick Hainke <vincent@systemli.org>
Signed-off-by: ChunAm See <z1250747241@gmail.com>
Signed-off-by: Jeff Kletsky <git-commits@allycomm.com>
Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
Robert Marko 2021-12-14 01:00:00 +01:00 committed by David Bauer
parent ad9ecd33cc
commit 550253bdf9
32 changed files with 754 additions and 99 deletions

View File

@ -10,7 +10,7 @@ board=$(board_name)
case "$board" in
alfa-network,ap120c-ac)
ucidef_set_led_netdev "wan" "WAN" "amber:wan" "eth1"
ucidef_set_led_netdev "wan" "WAN" "amber:wan" "wan"
;;
asus,rt-ac42u)
ucidef_set_led_switch "lan1" "LAN1" "blue:lan-1" "switch0" "0x02"
@ -24,7 +24,7 @@ asus,rt-ac58u)
;;
avm,fritzbox-4040)
ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt" "phy1tpt"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x1e"
;;
avm,fritzbox-7530 |\
@ -58,17 +58,17 @@ glinet,gl-ap1300)
mikrotik,cap-ac)
ucidef_set_led_default "power" "POWER" "blue:power" "1"
ucidef_set_led_default "user" "USER" "green:user" "0"
ucidef_set_led_switch "eth1" "ETH1" "green:eth1" "switch0" "0x20"
ucidef_set_led_switch "eth2" "ETH2" "green:eth2" "switch0" "0x10"
ucidef_set_led_netdev "eth1" "ETH1" "green:eth1" "wan"
ucidef_set_led_netdev "eth2" "ETH2" "green:eth2" "lan"
ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy0tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy1tpt"
;;
mikrotik,hap-ac3)
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x10"
ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x08"
ucidef_set_led_switch "lan3" "LAN3" "green:lan3" "switch0" "0x04"
ucidef_set_led_switch "lan4" "LAN4" "green:lan4" "switch0" "0x02"
ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
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"
ucidef_set_led_netdev "lan4" "LAN4" "green:lan4" "lan4"
ucidef_set_led_gpio "poe" "POE" "red:poe" "452" "0"
;;
mikrotik,sxtsq-5-ac)

View File

@ -12,28 +12,58 @@ ipq40xx_setup_interfaces()
case "$board" in
8dev,habanero-dvk|\
avm,fritzbox-4040|\
asus,rt-ac58u|\
linksys,ea6350v3|\
linksys,ea8300|\
linksys,mr8300|\
mikrotik,hap-ac2|\
mikrotik,hap-ac3|\
p2w,r619ac-64m|\
p2w,r619ac-128m|\
zyxel,nbg6617)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;
8dev,jalapeno|\
alfa-network,ap120c-ac|\
asus,map-ac2200|\
cilab,meshpoint-one|\
edgecore,ecw5211|\
glinet,gl-b2200|\
mikrotik,cap-ac|\
netgear,wac510)
ucidef_set_interfaces_lan_wan "lan" "wan"
;;
aruba,ap-303|\
avm,fritzrepeater-1200|\
meraki,mr33|\
meraki,mr74|\
mikrotik,lhgg-60ad|\
mikrotik,sxtsq-5-ac)
ucidef_set_interface_lan "lan"
;;
avm,fritzbox-7530)
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
;;
cellc,rtl30vw)
ucidef_set_interface_lan "lan1 lan2"
;;
glinet,gl-b1300)
ucidef_set_interfaces_lan_wan "lan1 lan2" "wan"
;;
engenius,emr3500|\
engenius,ens620ext|\
luma,wrtq-329acn|\
netgear,wac510|\
plasmacloud,pa1200|\
plasmacloud,pa2200|\
sony,ncp-hg100-cellular)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
aruba,ap-303|\
aruba,ap-365|\
avm,fritzrepeater-1200|\
dlink,dap-2610 |\
engenius,eap1300|\
engenius,emd1|\
extreme-networks,ws-ap3915i|\
meraki,mr33|\
meraki,mr74|\
mikrotik,lhgg-60ad|\
mikrotik,sxtsq-5-ac|\
netgear,ex6100v2|\
netgear,ex6150v2|\
zyxel,wre6606)
@ -45,8 +75,6 @@ ipq40xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0u@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "0u@eth1" "5:wan"
;;
asus,map-ac2200|\
cilab,meshpoint-one|\
edgecore,ecw5211|\
edgecore,oap100|\
google,wifi|\
@ -54,37 +82,11 @@ ipq40xx_setup_interfaces()
openmesh,a62)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
mikrotik,cap-ac)
ucidef_add_switch "switch0" \
"0t@eth0" "4:lan" "5:wan"
;;
asus,rt-ac42u|\
asus,rt-ac58u|\
mikrotik,hap-ac2|\
mikrotik,hap-ac3|\
p2w,r619ac-64m|\
p2w,r619ac-128m|\
zyxel,nbg6617)
asus,rt-ac42u)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
avm,fritzbox-4040|\
linksys,ea6350v3|\
linksys,ea8300)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
;;
linksys,mr8300)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
;;
avm,fritzbox-7530)
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
avm,fritzrepeater-3000|\
linksys,whw01-v1)
ucidef_add_switch "switch0" \
@ -101,10 +103,8 @@ ipq40xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0u@eth0" "2:lan:3" "3:lan:2" "4:lan:1"
;;
cellc,rtl30vw)
ucidef_set_interface_lan "eth0"
ucidef_add_switch "switch0" \
"0u@eth0" "3:lan" "4:lan"
compex,wpj428)
ucidef_set_interface_lan "lan1 lan2"
;;
devolo,magic-2-wifi-next)
ucidef_set_interface_lan "eth0 eth1 eth2"
@ -115,17 +115,11 @@ ipq40xx_setup_interfaces()
"0u@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "0u@eth1" "5:wan"
;;
glinet,gl-ap1300 |\
glinet,gl-b1300 |\
glinet,gl-s1300)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "3:lan" "4:lan"
;;
glinet,gl-b2200)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "1:lan" "2:lan" "3:lan" "5:lan" "0u@eth1" "4:wan"
;;
mobipromo,cm520-79f)
ucidef_add_switch "switch0" \
"0u@eth0" "3:lan:2" "4:lan:1"
@ -157,9 +151,7 @@ ipq40xx_setup_interfaces()
"0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "0u@eth1" "5:wan"
;;
zte,mf286d)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"0u@eth0" "2:lan:4" "3:lan:3" "4:lan:2" "0u@eth1" "5:wan"
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" "wan"
;;
zte,mf289f)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
@ -216,7 +208,9 @@ ipq40xx_setup_macs()
ezviz,cs-w3-wd1200g-eup)
label_mac=$(mtd_get_mac_binary "ART" 0x6)
;;
linksys,ea6350v3)
linksys,ea6350v3|\
linksys,ea8300 |\
linksys,mr8300)
wan_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
lan_mac=$(macaddr_add "$wan_mac" 1)
;;

View File

@ -0,0 +1,18 @@
#
# Copyright (C) 2022 OpenWrt.org
#
. /lib/functions.sh
. /lib/functions/uci-defaults.sh
board_config_update
case "$(board_name)" in
*)
ucidef_set_compat_version "1.1"
;;
esac
board_config_flush
exit 0

View File

@ -21,8 +21,8 @@ preinit_set_mac_address() {
linksys,ea8300|\
linksys,mr8300)
base_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
ip link set dev eth0 address "$base_mac"
ip link set dev eth1 address $(macaddr_add "$base_mac" 1)
ip link set dev lan1 address $(macaddr_add "$base_mac" 1)
ip link set dev eth0 address $(macaddr_setbit "$base_mac" 7)
;;
meraki,mr33|\
meraki,mr74)

View File

@ -1,24 +0,0 @@
set_preinit_iface() {
. /lib/functions.sh
case $(board_name) in
aruba,ap-303| \
asus,rt-ac42u| \
asus,rt-ac58u| \
avm,fritzbox-4040| \
ezviz,cs-w3-wd1200g-eup| \
glinet,gl-b1300| \
linksys,ea8300| \
linksys,mr8300| \
meraki,mr33| \
meraki,mr74| \
zyxel,nbg6617)
ifname=eth0
;;
devolo,magic-2-wifi-next)
ifname=eth1
;;
esac
}
boot_hook_add preinit_main set_preinit_iface

View File

@ -14,6 +14,7 @@
led-failsafe = &status;
led-running = &status;
led-upgrade = &status;
ethernet1 = &swport5;
};
keys {
@ -320,6 +321,24 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -222,6 +222,24 @@
#gpio-cells = <2>;
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";

View File

@ -102,6 +102,34 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -14,6 +14,8 @@
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
ethernet0 = &swport5;
ethernet1 = &gmac;
};
chosen {
@ -287,6 +289,24 @@
pinctrl-names = "default";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -273,6 +273,34 @@
#gpio-cells = <2>;
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&swport5 {
status = "okay";
};
&usb3_ss_phy {
status = "okay";
};

View File

@ -251,6 +251,38 @@
qcom,single-led-10;
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
label = "lan4";
};
&swport2 {
status = "okay";
label = "lan3";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";

View File

@ -7,6 +7,10 @@
#include <dt-bindings/soc/qcom,tcsr.h>
/ {
aliases {
ethernet1 = &swport5;
};
soc {
rng@22000 {
status = "okay";
@ -227,6 +231,24 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -302,6 +302,42 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
label = "lan4";
};
&swport2 {
status = "okay";
label = "lan3";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "ZyXEL-NBG6617";

View File

@ -277,6 +277,34 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "RT-AC58U";

View File

@ -220,3 +220,20 @@
&mdio {
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
/delete-property/ psgmii-ethphy;
};
&swport5 {
status = "okay";
label = "lan";
phy-mode = "rgmii";
};

View File

@ -16,6 +16,7 @@
led-failsafe = &led_power_amber;
led-running = &led_power_green;
led-upgrade = &led_power_amber;
ethernet1 = &swport5;
};
chosen {
@ -336,6 +337,24 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan";
};
&swport5 {
status = "okay";
};
&mdio {
status = "okay";

View File

@ -262,6 +262,30 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";

View File

@ -26,6 +26,10 @@
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
ethphy: ethernet-phy@0 {
reg = <0x0>;
};
};
tcsr@1949000 {
@ -237,8 +241,32 @@
status = "okay";
};
&ethphy0 {
status = "disabled";
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
};
&wifi1 {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
/delete-property/ psgmii-ethphy;
};
&swport5 {
status = "okay";
label = "lan";
phy-handle = <&ethphy>;
phy-mode = "rgmii-id";
};
&ethphy1 {
@ -260,13 +288,3 @@
&psgmiiphy {
status = "disabled";
};
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
};
&wifi1 {
status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
};

View File

@ -18,6 +18,10 @@
bootargs-append = " root=/dev/mmcblk0p2 rw rootwait clk_ignore_unused";
};
aliases {
ethernet1 = &swport4;
};
soc {
rng@22000 {
status = "okay";
@ -346,6 +350,26 @@
};
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "wan";
};
&swport5 {
status = "okay";
label = "lan";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -15,6 +15,7 @@
led-failsafe = &led_status;
led-running = &led_status;
led-upgrade = &led_upgrade;
ethernet1 = &swport5;
};
soc {
@ -331,6 +332,34 @@
};
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -306,6 +306,38 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
label = "lan4";
};
&swport2 {
status = "okay";
label = "lan3";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";

View File

@ -261,3 +261,21 @@
&psgmiiphy {
status = "disabled";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
/delete-property/ psgmii-ethphy;
};
&swport5 {
status = "okay";
label = "lan";
phy-handle = <&ethphy0>;
phy-mode = "rgmii-id";
};

View File

@ -15,6 +15,7 @@
led-failsafe = &led_red0;
led-running = &led_blue0;
led-upgrade = &led_red0;
ethernet1 = &swport4;
};
soc {
@ -340,3 +341,23 @@
pinctrl-names = "default";
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "wan";
};
&swport5 {
status = "okay";
label = "lan";
};

View File

@ -217,6 +217,12 @@
status = "okay";
};
&gmac {
status = "okay";
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_config_0>;
};
&nand {
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
@ -319,6 +325,36 @@
status = "okay";
};
&switch {
status = "okay";
};
&swport2 {
status = "okay";
label = "lan4";
};
&swport3 {
status = "okay";
label = "lan3";
};
&swport4 {
status = "okay";
label = "lan2";
};
&swport5 {
status = "okay";
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_config_0>;
mac-address-increment = <1>;
};
&tlmm {
i2c_0_pins: i2c_0_pinmux {
mux {

View File

@ -320,6 +320,42 @@
qcom,single-led-10;
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
label = "lan4";
};
&swport2 {
status = "okay";
label = "lan3";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};
&swport5 {
status = "okay";
};
&usb3_ss_phy {
status = "okay";
};

View File

@ -371,3 +371,23 @@
status = "okay";
qcom,ath10k-calibration-variant = "cellc,rtl30vw";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};

View File

@ -3,7 +3,7 @@
/*
* Device Tree Source for Linksys xx8300 (Dallas)
*
* Copyright (C) 2019 Jeff Kletsky
* Copyright (C) 2019, 2022 Jeff Kletsky
* Updated 2020 Hans Geiblinger
*
*/
@ -286,3 +286,31 @@
&usb3_ss_phy {
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport1 {
status = "okay";
};
&swport2 {
status = "okay";
};
&swport3 {
status = "okay";
};
&swport4 {
status = "okay";
};
&swport5 {
status = "okay";
};

View File

@ -227,6 +227,14 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_art_e010: mac-address@e010 {
reg = <0xe010 0x6>;
};
macaddr_art_e018: mac-address@e018 {
reg = <0xe018 0x6>;
};
};
partition6@180000 {
compatible = "denx,fit";
@ -247,6 +255,30 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport4 {
status = "okay";
label = "lan1";
nvmem-cells = <&macaddr_art_e018>;
nvmem-cell-names = "mac-address";
};
&swport5 {
status = "okay";
label = "lan2";
nvmem-cells = <&macaddr_art_e010>;
nvmem-cell-names = "mac-address";
};
&usb3_ss_phy {
status = "okay";
};

View File

@ -21,7 +21,7 @@
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
ethernet-phy@5 {
ethphy: ethernet-phy@5 {
reg = <0x5>;
};
};
@ -214,6 +214,24 @@
};
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
/delete-property/ psgmii-ethphy;
};
&swport5 {
status = "okay";
label = "lan";
phy-handle = <&ethphy>;
phy-mode = "rgmii-id";
};
&ethphy0 {
status = "disabled";
};

View File

@ -266,6 +266,30 @@
status = "okay";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
};
&swport3 {
status = "okay";
label = "lan2";
};
&swport4 {
status = "okay";
label = "lan1";
};
&swport5 {
status = "okay";
};
&wifi0 {
status = "okay";
nvmem-cell-names = "pre-calibration";

View File

@ -386,3 +386,41 @@
status = "okay";
qcom,ath10k-calibration-variant = "Meraki-MR33";
};
&gmac {
status = "okay";
};
&switch {
status = "okay";
/delete-property/ psgmii-ethphy;
};
&swport5 {
status = "okay";
label = "lan";
phy-handle = <&ethphy1>;
phy-mode = "rgmii-rxid";
};
&ethphy0 {
status = "disabled";
};
&ethphy2 {
status = "disabled";
};
&ethphy3 {
status = "disabled";
};
&ethphy4 {
status = "disabled";
};
&psgmiiphy {
status = "disabled";
};

View File

@ -10,6 +10,8 @@ define Device/Default
IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin = sysupgrade-tar | append-metadata
IMAGE/sysupgrade.bin/squashfs :=
DEVICE_COMPAT_VERSION := 1.1
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
endef
include $(SUBTARGET).mk