Commit e46b08b0 authored by Michael Walle's avatar Michael Walle Committed by Shawn Guo

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.
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 8aa80fc8
...@@ -21,6 +21,7 @@ / { ...@@ -21,6 +21,7 @@ / {
&enetc_port1 { &enetc_port1 {
phy-handle = <&phy1>; phy-handle = <&phy1>;
phy-connection-type = "rgmii-id"; phy-connection-type = "rgmii-id";
status = "okay";
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
......
...@@ -35,6 +35,7 @@ &duart1 { ...@@ -35,6 +35,7 @@ &duart1 {
&enetc_port0 { &enetc_port0 {
phy-handle = <&phy0>; phy-handle = <&phy0>;
phy-connection-type = "sgmii"; phy-connection-type = "sgmii";
status = "okay";
mdio { mdio {
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment