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 f659e89face82b348f3ac1adbde75dddcaf3eb11..df212ed5bb9422bd17618b8efae0cb2d536c1271 100644 (file)
@@ -21,6 +21,7 @@
 &enetc_port1 {
        phy-handle = <&phy1>;
        phy-connection-type = "rgmii-id";
+       status = "okay";
 
        mdio {
                #address-cells = <1>;
index d221ed471cdeca2fc39518cfe8683c3178475ef8..e6ad2f64e64e2569a1a4bc21280bd3ca0baf369d 100644 (file)
@@ -35,6 +35,7 @@
 &enetc_port0 {
        phy-handle = <&phy0>;
        phy-connection-type = "sgmii";
+       status = "okay";
 
        mdio {
                #address-cells = <1>;