Skip to contentSkip to conversation

arm64: dts: freescale: sl28: disable unused network port

PATCH New Michael Walle 1 participant 1 message Feb 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: freescale: sl28: disable unused network port

By default (and on variant 3) the second network port is not available. Disable it. Now that its disabled, we have to explicitly enable it again for board variant 4.

---
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts     | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts   | 5 +++++
 2 files changed, 6 insertions(+)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts +1 -0
index f659e89face8..df212ed5bb94 100644
@@ -21,6 +21,7 @@
 &enetc_port1 {
 	phy-handle = <&phy1>;
 	phy-connection-type = "rgmii-id";
+	status = "okay";
 
 	mdio {
 		#address-cells = <1>;
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +5 -0
index d221ed471cde..6b3e710f6a2b 100644
@@ -35,6 +35,7 @@
 &enetc_port0 {
 	phy-handle = <&phy0>;
 	phy-connection-type = "sgmii";
+	status = "okay";
 
 	mdio {
 		#address-cells = <1>;
@@ -48,6 +49,10 @@
 	};
 };
 
+&enetc_port1 {
+	status = "disabled";
+};
+
 &esdhc {
 	sd-uhs-sdr104;
 	sd-uhs-sdr50;
Signature · 1 line
2.20.1