aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files
diff options
context:
space:
mode:
authorDirk Buchwalder <buchwalder@posteo.de>2022-10-06 18:25:12 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-09 22:39:48 +0200
commit579ea6b97079cf57949892969064dbee3203d1f4 (patch)
tree8a5553c36d433a4bb7d21914de99bd2b34f06127 /target/linux/ipq40xx/files
parent911012662047ec133bdf4f5e490e0891cb782f3c (diff)
downloadupstream-579ea6b97079cf57949892969064dbee3203d1f4.tar.gz
upstream-579ea6b97079cf57949892969064dbee3203d1f4.tar.bz2
upstream-579ea6b97079cf57949892969064dbee3203d1f4.zip
ipq40xx: ZTE MF289F: convert to DSA
Convert ZTE MF289F device to DSA, re-order network ports to match the labels on the case and re-enable the device. Signed-off-by: Dirk Buchwalder <buchwalder@posteo.de> Reviewed-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/files')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf289f.dts30
1 files changed, 16 insertions, 14 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf289f.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf289f.dts
index 2dac307990..ccb70dce87 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf289f.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mf289f.dts
@@ -71,10 +71,6 @@
};
soc {
- ess-psgmii@98000 {
- status = "okay";
- };
-
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
@@ -100,14 +96,6 @@
reg = <0x1957000 0x100>;
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
-
- ess-switch@c000000 {
- status = "okay";
- };
-
- edma@c080000 {
- status = "okay";
- };
};
};
@@ -319,17 +307,31 @@
status = "okay";
};
-&gmac0 {
+&gmac {
+ status = "okay";
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_mac_0>;
};
-&gmac1 {
+&switch {
+ status = "okay";
+};
+
+&swport2 {
+ status = "okay";
+
+ label = "wan";
+
nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_mac_0>;
mac-address-increment = <1>;
};
+&swport5 {
+ status = "okay";
+
+ label = "lan";
+};
&qpic_bam {
status = "okay";