arm64: ls1046ardb: Use in-band-status for SFP module

net10 is connected to an SFP module. Unfortunately, the I2C lines are
not connected due to an address conflict. Now that DPAA uses phylink, we
can use in-band-status. This lets us determine whether the link is up or
down instead of assuming it is up all the time. Also fix the phy mode
while we're here.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Sean Anderson
2023-01-24 12:47:57 -05:00
committed by Shawn Guo
parent b694fbe2ff
commit 46e828026c

View File

@@ -153,8 +153,8 @@ ethernet@f0000 { /* 10GEC1 */
};
ethernet@f2000 { /* 10GEC2 */
fixed-link = <0 1 1000 0 0>;
phy-connection-type = "xgmii";
phy-connection-type = "10gbase-r";
managed = "in-band-status";
};
mdio@fc000 {