arm64: dts: ls1028: sl28: explicitly enable network ports
authorMichael Walle <michael@walle.cc>
Mon, 24 Feb 2020 11:50:52 +0000 (12:50 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Mar 2020 07:58:13 +0000 (15:58 +0800)
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.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

index f659e89..df212ed 100644 (file)
@@ -21,6 +21,7 @@
 &enetc_port1 {
        phy-handle = <&phy1>;
        phy-connection-type = "rgmii-id";
+       status = "okay";
 
        mdio {
                #address-cells = <1>;
index d221ed4..e6ad2f6 100644 (file)
@@ -35,6 +35,7 @@
 &enetc_port0 {
        phy-handle = <&phy0>;
        phy-connection-type = "sgmii";
+       status = "okay";
 
        mdio {
                #address-cells = <1>;