소스 검색

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 <[email protected]>
Robert Marko 1 년 전
부모
커밋
8e162868ab
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-ess.dtsi

+ 5 - 0
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_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 {