From 8e162868abf0fc2356b54fcf0b5ec86a282d1387 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sat, 11 Nov 2023 21:50:15 +0100 Subject: [PATCH] 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 --- .../files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi | 5 +++++ 1 file changed, 5 insertions(+) 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 f0c1efce9ed5..5cfd75664f26 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 { -- 2.30.2