From: Nick Hainke Date: Mon, 24 Apr 2023 20:00:18 +0000 (+0200) Subject: ipq40xx: convert AVM FRITZ!Repeater 3000 to DSA X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3cac52f9a134cb2317660596d0cefe1c419c3220;p=openwrt%2Fstaging%2Frobimarko.git ipq40xx: convert AVM FRITZ!Repeater 3000 to DSA Convert the repeater to DSA. Signed-off-by: Nick Hainke --- 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 2e0e8d33cd..cb318d36a3 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -61,6 +61,7 @@ ipq40xx_setup_interfaces() avm,fritzbox-7530) ucidef_set_interface_lan "lan1 lan2 lan3 lan4" ;; + avm,fritzrepeater-3000|\ cellc,rtl30vw) ucidef_set_interface_lan "lan1 lan2" ;; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts index babf07727a..8d88bc1521 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts @@ -247,3 +247,23 @@ }; }; }; + +&gmac { + status = "okay"; +}; + +&switch { + status = "okay"; +}; + +&swport4 { + status = "okay"; + + label = "lan1"; +}; + +&swport5 { + status = "okay"; + + label = "lan2"; +}; diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk index 8fa4f4175a..adce4fe0f2 100644 --- a/target/linux/ipq40xx/image/generic.mk +++ b/target/linux/ipq40xx/image/generic.mk @@ -295,8 +295,7 @@ define Device/avm_fritzrepeater-3000 SOC := qcom-ipq4019 DEVICE_PACKAGES := ath10k-firmware-qca9984-ct fritz-caldata fritz-tffs-nand endef -# Missing DSA Setup -#TARGET_DEVICES += avm_fritzrepeater-3000 +TARGET_DEVICES += avm_fritzrepeater-3000 define Device/buffalo_wtr-m2133hp $(call Device/FitImage)