LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: Stafford Horne <shorne@gmail.com>
Cc: openrisc@lists.librecores.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] openrisc/litex: Add ethernet device
Date: Thu, 26 Aug 2021 22:59:45 +0930	[thread overview]
Message-ID: <20210826132946.3324593-3-joel@jms.id.au> (raw)
In-Reply-To: <20210826132946.3324593-1-joel@jms.id.au>

Add the liteeth ethernet device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/openrisc/boot/dts/or1klitex.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/openrisc/boot/dts/or1klitex.dts b/arch/openrisc/boot/dts/or1klitex.dts
index baba4f49fa6b..91c7173c50e6 100644
--- a/arch/openrisc/boot/dts/or1klitex.dts
+++ b/arch/openrisc/boot/dts/or1klitex.dts
@@ -52,4 +52,13 @@ soc_ctrl0: soc_controller@e0000000 {
 			reg = <0xe0000000 0xc>;
 			status = "okay";
 	};
+
+	ethernet@e0001000 {
+		compatible = "litex,liteeth";
+		reg = <0xe0001000 0x7c>,
+		      <0xe0001800 0x0a>,
+		      <0x80000000 0x2000>;
+		reg-names = "mac", "mdio", "buffer";
+		interrupts = <2>;
+	};
 };
-- 
2.33.0


  parent reply	other threads:[~2021-08-26 13:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 13:29 [PATCH 0/3] openrisc/litex: Add liteeth support Joel Stanley
2021-08-26 13:29 ` [PATCH 1/3] openrisc/litex: Update uart address Joel Stanley
2021-08-26 13:29 ` Joel Stanley [this message]
2021-08-26 13:29 ` [PATCH 3/3] openrisc/litex: Update defconfig Joel Stanley
2021-08-30  0:17 ` [PATCH 0/3] openrisc/litex: Add liteeth support Stafford Horne
2021-08-30  1:41   ` Joel Stanley
2021-08-31 13:38     ` Stafford Horne

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=20210826132946.3324593-3-joel@jms.id.au \
    --to=joel@jms.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openrisc@lists.librecores.org \
    --cc=shorne@gmail.com \
    --subject='Re: [PATCH 2/3] openrisc/litex: Add ethernet device' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).