public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kongyang Liu <seashell11234455@gmail.com>
To: u-boot@lists.denx.de
Cc: Leo <ycliang@andestech.com>, Rick Chen <rick@andestech.com>,
	Tom Rini <trini@konsulko.com>
Subject: [PATCH 2/3] riscv: dts: sophgo: Add ethernet node
Date: Sun, 10 Mar 2024 13:56:45 +0800	[thread overview]
Message-ID: <20240310055816.11575-3-seashell11234455@gmail.com> (raw)
In-Reply-To: <20240310055816.11575-1-seashell11234455@gmail.com>

Add ethernet node for cv1800b SoC

Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
---

 arch/riscv/dts/cv18xx.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/riscv/dts/cv18xx.dtsi b/arch/riscv/dts/cv18xx.dtsi
index ec99c4deeb..013372a40c 100644
--- a/arch/riscv/dts/cv18xx.dtsi
+++ b/arch/riscv/dts/cv18xx.dtsi
@@ -197,6 +197,12 @@
 			status = "disabled";
 		};
 
+		ethernet0: ethernet@4070000 {
+			compatible = "sophgo,cv1800b-ethernet";
+			reg = <0x04070000 0x10000>;
+			phy-mode = "rmii";
+		};
+
 		plic: interrupt-controller@70000000 {
 			reg = <0x70000000 0x4000000>;
 			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
-- 
2.41.0


  parent reply	other threads:[~2024-03-10 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-10  5:56 [PATCH 0/3] board: sophgo: milkv_duo: Add ethernet support for Milk-V Duo board Kongyang Liu
2024-03-10  5:56 ` [PATCH 1/3] board: milkv_duo: Add init code for Milk-V Duo ethernet Kongyang Liu
2024-03-12  9:50   ` Leo Liang
2024-03-10  5:56 ` Kongyang Liu [this message]
2024-03-12  9:59   ` [PATCH 2/3] riscv: dts: sophgo: Add ethernet node Leo Liang
2024-03-12 13:20     ` Conor Dooley
2024-03-15  2:18       ` Kongyang Liu
2024-03-15  2:06     ` Kongyang Liu
2024-03-10  5:56 ` [PATCH 3/3] configs: milkv_duo: Add ethernet configs Kongyang Liu
2024-03-12 10:00   ` Leo Liang

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=20240310055816.11575-3-seashell11234455@gmail.com \
    --to=seashell11234455@gmail.com \
    --cc=rick@andestech.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.com \
    /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