[PATCH v2] arm: dts: uDPU: switch default PHY speed to 3.125Gbit

Stefan Roese sr at denx.de
Mon May 4 07:02:58 CEST 2020


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 @@
>   &eth0 {
>   	pinctrl-0 = <&pcie_pins>;
>   	status = "okay";
> -	phy-mode = "sgmii";
> +	phy-mode = "2500base-x";
> +	managed = "in-band-status";
>   	phy = <&ethphy0>;
> -	fixed-link {
> -		speed = <1000>;
> -		full-duplex;
> -	};
>   };
>   
>   &eth1 {
>   	status = "okay";
> -	phy-mode = "sgmii";
> +	phy-mode = "2500base-x";
> +	managed = "in-band-status";
>   	phy = <&ethphy1>;
> -	fixed-link {
> -		speed = <1000>;
> -		full-duplex;
> -	};
>   };
>   
>   &i2c0 {
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list