Commit f7fc391a authored by Tim Harvey's avatar Tim Harvey Committed by Shawn Guo

arm64: dts: imx8mp-venice-gw74xx: fix port/phy validation

Since commit 65ac79e1 ("net: dsa: microchip: add the phylink
get_caps") the phy-mode must be set otherwise the switch driver will
assume "NA" mode and invalidate the port.

Fixes: 7899eb6c ("arm64: dts: imx: Add i.MX8M Plus Gateworks gw7400 dts support")
Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent c3681de3
...@@ -483,30 +483,35 @@ ports { ...@@ -483,30 +483,35 @@ ports {
lan1: port@0 { lan1: port@0 {
reg = <0>; reg = <0>;
label = "lan1"; label = "lan1";
phy-mode = "internal";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
}; };
lan2: port@1 { lan2: port@1 {
reg = <1>; reg = <1>;
label = "lan2"; label = "lan2";
phy-mode = "internal";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
}; };
lan3: port@2 { lan3: port@2 {
reg = <2>; reg = <2>;
label = "lan3"; label = "lan3";
phy-mode = "internal";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
}; };
lan4: port@3 { lan4: port@3 {
reg = <3>; reg = <3>;
label = "lan4"; label = "lan4";
phy-mode = "internal";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
}; };
lan5: port@4 { lan5: port@4 {
reg = <4>; reg = <4>;
label = "lan5"; label = "lan5";
phy-mode = "internal";
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
}; };
......
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