[PATCH 2/2] ARM: rmobile: beacon-renesom: Enable Ethernet

Marek Vasut marex at denx.de
Tue Aug 24 20:00:29 CEST 2021


On 8/24/21 6:43 PM, Adam Ford wrote:
> Now that the versaclock driver is available, point the ethernet
> node at these clocks and configure the RGMII to enable Ethernet.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> 
> diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi
> index d30bab3c8b..9fe541b607 100644
> --- a/arch/arm/dts/beacon-renesom-som.dtsi
> +++ b/arch/arm/dts/beacon-renesom-som.dtsi
> @@ -60,8 +60,11 @@
>   	pinctrl-0 = <&avb_pins>;
>   	pinctrl-names = "default";
>   	phy-handle = <&phy0>;
> +	phy-mode = "rgmii-txid";
>   	rx-internal-delay-ps = <1800>;
>   	tx-internal-delay-ps = <2000>;
> +	clocks = <&cpg CPG_MOD 812>, <&versaclock5 4>;
> +	clock-names = "fck", "refclk";

The subject should be ARM: dts: rmobile, I can fix that, but see 1/2 
comment in a bit.


More information about the U-Boot mailing list