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

Adam Ford aford173 at gmail.com
Tue Aug 24 18:43:14 CEST 2021


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";
 	status = "okay";
 
 	phy0: ethernet-phy at 0 {
-- 
2.25.1



More information about the U-Boot mailing list