Skip to contentSkip to conversation

arm64: dts: ls1028: sl28: explicitly enable network ports

PATCH Applied Michael Walle 2 participants 2 messages Feb 24, 2020

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

PATCH 1/1 arm64: dts: ls1028: sl28: explicitly enable network ports

Since commit b9213899d2b0 ("arm64: dts: ls1028a: disable all enetc ports by default") all the network ports are disabled by default. This makes sense, but now we have to enable them explicitly in the boards. Do so for the sl28 module.

Since we are at it. Make sure the second port is only enabled for the variant 4 of the module. Variant 3 has only one network port.

---

This patch actually superseeds the following:
https://lore.kernel.org/linux-devicetree/[email protected]/

 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 1 +
 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts      | 1 +
 2 files changed, 2 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 +1 -0
index d221ed471cde..e6ad2f64e64e 100644
@@ -35,6 +35,7 @@
 &enetc_port0 {
 	phy-handle = <&phy0>;
 	phy-connection-type = "sgmii";
+	status = "okay";
 
 	mdio {
 		#address-cells = <1>;
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 9 lines · Michael Walle

Since commit b9213899d2b0 ("arm64: dts: ls1028a: disable all enetc ports by default") all the network ports are disabled by default. This makes sense, but now we have to enable them explicitly in the boards. Do so for the sl28 module.

Since we are at it. Make sure the second port is only enabled for the variant 4 of the module. Variant 3 has only one network port.

Applied, thanks.