diff options
author | Sean Anderson <[email protected]> | 2023-01-24 12:47:57 -0500 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2023-01-30 10:05:43 +0800 |
commit | 46e828026cc8daf29b251efca27b93eaaf906081 (patch) | |
tree | 74e5de269318076f4e4497725d60772f4b3d5a61 | |
parent | b694fbe2ff40fedca0ef6f6649391f3c40e44df7 (diff) |
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 <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 7025aad8ae89..07f6cc6e354a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -153,8 +153,8 @@ }; 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 { |