ipq40xx: convert AVM FRITZ!Repeater 3000 to DSA
authorNick Hainke <vincent@systemli.org>
Mon, 24 Apr 2023 20:00:18 +0000 (22:00 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 3 May 2023 14:16:19 +0000 (16:16 +0200)
Convert the repeater to DSA.

Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/ipq40xx/base-files/etc/board.d/02_network
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts
target/linux/ipq40xx/image/generic.mk

index 2e0e8d33cd625530c1f6c32f155cf49477f0a66f..cb318d36a30e392cb7128060cf15506718a4ec14 100644 (file)
@@ -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"
                ;;
index babf07727a6806992bd049f758d0c86e272a5cef..8d88bc1521109f5469a0a7ce893af4b92b4f39ed 100644 (file)
                };
        };
 };
+
+&gmac {
+       status = "okay";
+};
+
+&switch {
+       status = "okay";
+};
+
+&swport4 {
+       status = "okay";
+
+       label = "lan1";
+};
+
+&swport5 {
+       status = "okay";
+
+       label = "lan2";
+};
index 8fa4f4175a23b413c2b295779134ebbfe1a3ed37..adce4fe0f26c86597f7733a9a747d6f98765fed4 100644 (file)
@@ -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)