aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2023-04-24 22:00:18 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-03 16:16:19 +0200
commit3cac52f9a134cb2317660596d0cefe1c419c3220 (patch)
treed49159aa5fd665593c6e1c24365592cd13ebff96 /target
parent467aa08f8ae0123adf973bb9e637a7763a53d60d (diff)
downloadupstream-3cac52f9a134cb2317660596d0cefe1c419c3220.tar.gz
upstream-3cac52f9a134cb2317660596d0cefe1c419c3220.tar.bz2
upstream-3cac52f9a134cb2317660596d0cefe1c419c3220.zip
ipq40xx: convert AVM FRITZ!Repeater 3000 to DSA
Convert the repeater to DSA. Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts20
-rw-r--r--target/linux/ipq40xx/image/generic.mk3
3 files changed, 22 insertions, 2 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 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)