From: Robert Marko Date: Sat, 11 Nov 2023 20:50:15 +0000 (+0100) Subject: qualcommax: set default switch MAC modes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8e162868abf0fc2356b54fcf0b5ec86a282d1387;p=openwrt%2Fopenwrt.git qualcommax: set default switch MAC modes 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 --- diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi index f0c1efce9e..5cfd75664f 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi @@ -158,6 +158,11 @@ "nss_port4_rst", "nss_port5_rst", "nss_port6_rst"; mdio-bus = <&mdio>; + + switch_mac_mode = ; /* MAC mode for UNIPHY instance 0 */ + switch_mac_mode1 = ; /* MAC mode for UNIPHY instance 1 */ + switch_mac_mode2 = ; /* MAC mode for UNIPHY instance 2 */ + status = "disabled"; port_scheduler_resource {