Message ID | 20200424092408.1075981-1-jakov.petrina@sartura.hr |
---|---|
State | Accepted |
Commit | f49ac7e1c4107b88f30ab34b039e1c7ebff2d469 |
Headers | show |
Series | [v2] arm: dts: uDPU: switch default PHY speed to 3.125Gbit | expand |
On 24.04.20 11:24, Jakov Petrina wrote: > This resolves issues with certain SFP modules. > > Signed-off-by: Jakov Petrina <jakov.petrina at sartura.hr> > Signed-off-by: Vladimir Vid <vladimir.vid at sartura.hr> > --- > > v2: > - changed PHY mode as well Reviewed-by: Stefan Roese <sr at denx.de> Thanks, Stefan > arch/arm/dts/armada-3720-uDPU.dts | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) > > diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts > index 683dac2a7c..07c7b91175 100644 > --- a/arch/arm/dts/armada-3720-uDPU.dts > +++ b/arch/arm/dts/armada-3720-uDPU.dts > @@ -109,11 +109,11 @@ > &comphy { > phy0 { > phy-type = <PHY_TYPE_SGMII1>; > - phy-speed = <PHY_SPEED_1_25G>; > + phy-speed = <PHY_SPEED_3_125G>; > }; > phy1 { > phy-type = <PHY_TYPE_SGMII0>; > - phy-speed = <PHY_SPEED_1_25G>; > + phy-speed = <PHY_SPEED_3_125G>; > }; > > phy2 { > @@ -125,22 +125,16 @@ > ð0 { > pinctrl-0 = <&pcie_pins>; > status = "okay"; > - phy-mode = "sgmii"; > + phy-mode = "2500base-x"; > + managed = "in-band-status"; > phy = <ðphy0>; > - fixed-link { > - speed = <1000>; > - full-duplex; > - }; > }; > > ð1 { > status = "okay"; > - phy-mode = "sgmii"; > + phy-mode = "2500base-x"; > + managed = "in-band-status"; > phy = <ðphy1>; > - fixed-link { > - speed = <1000>; > - full-duplex; > - }; > }; > > &i2c0 { > Viele Gr??e, Stefan
On 24.04.20 11:24, Jakov Petrina wrote: > This resolves issues with certain SFP modules. > > Signed-off-by: Jakov Petrina <jakov.petrina at sartura.hr> > Signed-off-by: Vladimir Vid <vladimir.vid at sartura.hr> > --- > > v2: > - changed PHY mode as well Reviewed-by: Stefan Roese <sr at denx.de> Thanks, Stefan > arch/arm/dts/armada-3720-uDPU.dts | 18 ++++++------------ > 1 file changed, 6 insertions(+), 12 deletions(-) > > diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts > index 683dac2a7c..07c7b91175 100644 > --- a/arch/arm/dts/armada-3720-uDPU.dts > +++ b/arch/arm/dts/armada-3720-uDPU.dts > @@ -109,11 +109,11 @@ > &comphy { > phy0 { > phy-type = <PHY_TYPE_SGMII1>; > - phy-speed = <PHY_SPEED_1_25G>; > + phy-speed = <PHY_SPEED_3_125G>; > }; > phy1 { > phy-type = <PHY_TYPE_SGMII0>; > - phy-speed = <PHY_SPEED_1_25G>; > + phy-speed = <PHY_SPEED_3_125G>; > }; > > phy2 { > @@ -125,22 +125,16 @@ > ð0 { > pinctrl-0 = <&pcie_pins>; > status = "okay"; > - phy-mode = "sgmii"; > + phy-mode = "2500base-x"; > + managed = "in-band-status"; > phy = <ðphy0>; > - fixed-link { > - speed = <1000>; > - full-duplex; > - }; > }; > > ð1 { > status = "okay"; > - phy-mode = "sgmii"; > + phy-mode = "2500base-x"; > + managed = "in-band-status"; > phy = <ðphy1>; > - fixed-link { > - speed = <1000>; > - full-duplex; > - }; > }; > > &i2c0 { > Viele Gr??e, Stefan
diff --git a/arch/arm/dts/armada-3720-uDPU.dts b/arch/arm/dts/armada-3720-uDPU.dts index 683dac2a7c..07c7b91175 100644 --- a/arch/arm/dts/armada-3720-uDPU.dts +++ b/arch/arm/dts/armada-3720-uDPU.dts @@ -109,11 +109,11 @@ &comphy { phy0 { phy-type = <PHY_TYPE_SGMII1>; - phy-speed = <PHY_SPEED_1_25G>; + phy-speed = <PHY_SPEED_3_125G>; }; phy1 { phy-type = <PHY_TYPE_SGMII0>; - phy-speed = <PHY_SPEED_1_25G>; + phy-speed = <PHY_SPEED_3_125G>; }; phy2 { @@ -125,22 +125,16 @@ ð0 { pinctrl-0 = <&pcie_pins>; status = "okay"; - phy-mode = "sgmii"; + phy-mode = "2500base-x"; + managed = "in-band-status"; phy = <ðphy0>; - fixed-link { - speed = <1000>; - full-duplex; - }; }; ð1 { status = "okay"; - phy-mode = "sgmii"; + phy-mode = "2500base-x"; + managed = "in-band-status"; phy = <ðphy1>; - fixed-link { - speed = <1000>; - full-duplex; - }; }; &i2c0 {