Linux-Aspeed Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: rentao.bupt@gmail.com <rentao.bupt@gmail.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH net-next 2/2] ARM: dts: aspeed: elbert: Enable mac3 controller
Date: Mon,  5 Sep 2022 16:56:34 -0700	[thread overview]
Message-ID: <20220905235634.20957-3-rentao.bupt@gmail.com> (raw)
In-Reply-To: <20220905235634.20957-1-rentao.bupt@gmail.com>

From: Tao Ren <rentao.bupt@gmail.com>

Enable mac3 controller in Elbert dts: Elbert MAC3 is connected to the
onboard switch directly (fixed link).

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts
index 27b43fe099f1..52cb617783ac 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts
@@ -183,3 +183,14 @@ imux31: i2c at 7 {
 &i2c11 {
 	status = "okay";
 };
+
+&mac3 {
+	status = "okay";
+	phy-mode = "rgmii";
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rgmii4_default>;
+	fixed-link {
+		speed = <1000>;
+		full-duplex;
+	};
+};
-- 
2.30.2


  parent reply	other threads:[~2022-09-05 23:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 23:56 [PATCH net-next 0/2] net: ftgmac100: support fixed link rentao.bupt
2022-09-05 23:56 ` [PATCH net-next 1/2] " rentao.bupt
2022-09-06  0:24   ` Andrew Lunn
2022-09-05 23:56 ` rentao.bupt [this message]
2022-09-06  0:22   ` [PATCH net-next 2/2] ARM: dts: aspeed: elbert: Enable mac3 controller Andrew Lunn
2022-09-06  1:41     ` Tao Ren
2022-09-06 11:55       ` Andrew Lunn
2022-09-06 17:05         ` Florian Fainelli
2022-09-06 23:35           ` Tao Ren
2022-09-07  0:36             ` Andrew Lunn
2022-09-07  1:08               ` Tao Ren

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=20220905235634.20957-3-rentao.bupt@gmail.com \
    --to=rentao.bupt@gmail.com \
    --cc=linux-aspeed@lists.ozlabs.org \
    /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