qualcommax: set default switch MAC modes
authorRobert Marko <robimarko@gmail.com>
Sat, 11 Nov 2023 20:50:15 +0000 (21:50 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 14 Nov 2023 04:21:27 +0000 (05:21 +0100)
Every board that has the switch enabled needs to have MAC modes defined for
all 3 UNIPHY instances.

So, instead of having to at least put the disabled MAC mode for UNIPHY-s
let disable them by default and then boards can override it.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi

index f0c1efce9ed5091c58d8a00b89640730f0763e32..5cfd75664f269449fc1a562bad9ded4d0f115ce5 100644 (file)
                              "nss_port4_rst", "nss_port5_rst",
                              "nss_port6_rst";
                mdio-bus = <&mdio>;
+
+               switch_mac_mode = <MAC_MODE_DISABLED>; /* MAC mode for UNIPHY instance 0 */
+               switch_mac_mode1 = <MAC_MODE_DISABLED>; /* MAC mode for UNIPHY instance 1 */
+               switch_mac_mode2 = <MAC_MODE_DISABLED>; /* MAC mode for UNIPHY instance 2 */
+
                status = "disabled";
 
                port_scheduler_resource {