public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd@collabora.com>
To: u-boot@lists.denx.de
Cc: Martyn Welch <martyn.welch@collabora.com>,
	Aswath Govindraju <a-govindraju@ti.com>,
	Dhruva Gole <d-gole@ti.com>, Georgi Vlaev <g-vlaev@ti.com>,
	Nishanth Menon <nm@ti.com>, Tom Rini <trini@konsulko.com>,
	Vignesh Raghavendra <vigneshr@ti.com>
Subject: [PATCH v2 3/4] arm: dts: k3-am625-sk: Enable first ethernet port
Date: Tue, 20 Dec 2022 16:21:45 +0100	[thread overview]
Message-ID: <20221220152147.474360-4-sjoerd@collabora.com> (raw)
In-Reply-To: <20221220152147.474360-1-sjoerd@collabora.com>

The K3 am625 sk EVM has two ethernet ports; Enable the first one for
usage in u-boot.

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
---

(no changes since v1)

 arch/arm/dts/k3-am625-sk-u-boot.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
index 92788bae3e0..f275e3b46ca 100644
--- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
@@ -126,3 +126,25 @@
 		};
 	};
 };
+
+&cpsw3g {
+	reg = <0x0 0x8000000 0x0 0x200000>,
+	      <0x0 0x43000200 0x0 0x8>;
+	reg-names = "cpsw_nuss", "mac_efuse";
+	/delete-property/ ranges;
+	u-boot,dm-spl;
+
+	cpsw-phy-sel@04044 {
+		compatible = "ti,am64-phy-gmii-sel";
+		reg = <0x0 0x00104044 0x0 0x8>;
+		u-boot,dm-spl;
+	};
+};
+
+&cpsw_port1 {
+	u-boot,dm-spl;
+};
+
+&cpsw_port2 {
+	status = "disabled";
+};
-- 
2.39.0


  parent reply	other threads:[~2022-12-20 15:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20 15:21 [PATCH v2 0/4] Enable ethernet for ti am62x Sjoerd Simons
2022-12-20 15:21 ` [PATCH v2 1/4] configs: am62x_evm_*: Correct SPI configuration option Sjoerd Simons
2022-12-21  4:13   ` Dhruva Gole
2023-01-11  2:16   ` Tom Rini
2022-12-20 15:21 ` [PATCH v2 2/4] configs: am62x_evm_*: Run savedefconfig Sjoerd Simons
2022-12-21  4:24   ` Dhruva Gole
2023-01-11  2:16   ` Tom Rini
2022-12-20 15:21 ` Sjoerd Simons [this message]
2023-01-11  2:16   ` [PATCH v2 3/4] arm: dts: k3-am625-sk: Enable first ethernet port Tom Rini
2022-12-20 15:21 ` [PATCH v2 4/4] configs: am62x_evm_a53: Enable ethernet Sjoerd Simons
2023-01-11  2:16   ` Tom Rini

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=20221220152147.474360-4-sjoerd@collabora.com \
    --to=sjoerd@collabora.com \
    --cc=a-govindraju@ti.com \
    --cc=d-gole@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=martyn.welch@collabora.com \
    --cc=nm@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.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