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>
This commit is contained in:
Sven Eckelmann
2022-10-24 18:55:44 +02:00
committed by Hauke Mehrtens
parent 65d9a715fc
commit 66a3c32b47
4 changed files with 33 additions and 6 deletions

View File

@@ -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";