aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch/arm/boot/dts
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2022-10-24 18:55:44 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-12 18:15:55 +0100
commit66a3c32b47a9c9da155fd04045d7262b005a1de3 (patch)
tree02951a3e7df68d105a0ef46c5c9ce5d0848088cf /target/linux/ipq40xx/files/arch/arm/boot/dts
parent65d9a715fc891740a900052be625f60da3a2b6a3 (diff)
downloadupstream-66a3c32b47a9c9da155fd04045d7262b005a1de3.tar.gz
upstream-66a3c32b47a9c9da155fd04045d7262b005a1de3.tar.bz2
upstream-66a3c32b47a9c9da155fd04045d7262b005a1de3.zip
ipq40xx: Convert openmesh,a42 to DSA
* ethernet1: - physical port label "Ethernet 1" - can be used to power the device - its mac address is printed on the device label * ethernet2: - physical port label "Ethernet 2" Both ports are not marked by there role (because the vendor firmware automatically detects roles) but the "Ethernet 1" port was used in the past for "WAN" functionality in OpenWrt. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'target/linux/ipq40xx/files/arch/arm/boot/dts')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts26
1 files changed, 22 insertions, 4 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts
index 2236edf80b..89f5183045 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts
@@ -17,10 +17,6 @@
status = "okay";
};
- mdio@90000 {
- status = "okay";
- };
-
tcsr@194b000 {
/* select hostmode */
compatible = "qcom,tcsr";
@@ -166,6 +162,28 @@
status = "okay";
};
+&mdio {
+ status = "okay";
+};
+
+&gmac {
+ status = "okay";
+};
+
+&switch {
+ status = "okay";
+};
+
+&swport4 {
+ status = "okay";
+ label = "ethernet2";
+};
+
+&swport5 {
+ status = "okay";
+ label = "ethernet1";
+};
+
&wifi0 {
status = "okay";
qcom,ath10k-calibration-variant = "OM-A42";