public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: marek.vasut+renesas@gmail.com, biju.das.jz@bp.renesas.com,
	iwamatsu@nigauri.org, Adam Ford <aford173@gmail.com>
Subject: [PATCH V2 2/2] ARM: dts: rmobile: beacon-renesom: Enable Ethernet
Date: Tue, 24 Aug 2021 13:40:58 -0500	[thread overview]
Message-ID: <20210824184058.84418-2-aford173@gmail.com> (raw)
In-Reply-To: <20210824184058.84418-1-aford173@gmail.com>

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@gmail.com>
---
V2:  Fix subject heading

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@0 {
-- 
2.25.1


  reply	other threads:[~2021-08-24 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24 18:40 [PATCH V2 1/2] ARM: dts: rmobile: beacon-renesom: Enable USB and ethernet ref clocks Adam Ford
2021-08-24 18:40 ` Adam Ford [this message]
2021-08-30 13:20 ` Adam Ford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210824184058.84418-2-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=iwamatsu@nigauri.org \
    --cc=marek.vasut+renesas@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox