[PATCH 2/2] arm: mvebu: theadorable: Update eth & mdio DT nodes

Stefan Roese sr at denx.de
Tue Sep 20 08:58:25 CEST 2022


On 15.09.22 15:21, Stefan Roese wrote:
> With the recent changes in the Marvel mvneta network driver, the MDIO
> bus is not connected any more. This patch updates the DT nodes to use
> the nodes from the dtsi files instead of creating ad-hoc nodes.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>

Applied to u-boot-marvell/next

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-xp-theadorable.dts | 27 ++++++++++++--------------
>   1 file changed, 12 insertions(+), 15 deletions(-)
> 
> diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts
> index ba73386d4f0a..7d833640b6d6 100644
> --- a/arch/arm/dts/armada-xp-theadorable.dts
> +++ b/arch/arm/dts/armada-xp-theadorable.dts
> @@ -107,20 +107,6 @@
>   				status = "okay";
>   			};
>   
> -			mdio {
> -				#address-cells = <1>;
> -				#size-cells = <0>;
> -				phy0: ethernet-phy at 0 {
> -					reg = <0>;
> -				};
> -			};
> -
> -			ethernet at 70000 {
> -				status = "okay";
> -				phy = <&phy0>;
> -				phy-mode = "sgmii";
> -			};
> -
>   			usb at 50000 {
>   				status = "okay";
>   			};
> @@ -166,6 +152,18 @@
>   	clock-frequency = <100000>;
>   };
>   
> +&mdio {
> +	phy0: ethernet-phy at 0 {
> +		reg = <0>;
> +	};
> +};
> +
> +&eth0 {
> +	status = "okay";
> +	phy = <&phy0>;
> +	phy-mode = "sgmii";
> +};
> +
>   &spi0 {
>   	status = "okay";
>   
> @@ -198,7 +196,6 @@
>   	};
>   };
>   
> -
>   &pciec {
>   	status = "okay";
>   

Viele Grüße,
Stefan Roese

-- 
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