mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] ARM: k3: am62l: disable ethernet by default
Date: Thu,  6 Nov 2025 09:00:53 +0100	[thread overview]
Message-ID: <20251106080053.3611902-1-s.hauer@pengutronix.de> (raw)

Disable ethernet by default and enable it on the boards that actually
have ethernet supported.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/k3-am62l-main.dtsi | 3 +++
 arch/arm/dts/k3-am62l3-evm.dts  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/arch/arm/dts/k3-am62l-main.dtsi b/arch/arm/dts/k3-am62l-main.dtsi
index 267664eecd..aed1d288f7 100644
--- a/arch/arm/dts/k3-am62l-main.dtsi
+++ b/arch/arm/dts/k3-am62l-main.dtsi
@@ -723,6 +723,7 @@ cpsw3g: ethernet@8000000 {
 		clocks = <&scmi_clk 9>;
 		clock-names = "fck";
 		power-domains = <&scmi_pds 3>;
+		status = "disabled";
 		dmas = <&main_pktdma 0xc600 15>,
 			   <&main_pktdma 0xc601 15>,
 			   <&main_pktdma 0xc602 15>,
@@ -745,6 +746,7 @@ cpsw_port1: port@1 {
 				label = "port1";
 				phys = <&phy_gmii_sel 1>;
 				ti,syscon-efuse = <&cpsw_mac_syscon 0x0>;
+				status = "disabled";
 			};
 
 			cpsw_port2: port@2 {
@@ -752,6 +754,7 @@ cpsw_port2: port@2 {
 				ti,mac-only;
 				label = "port2";
 				phys = <&phy_gmii_sel 2>;
+				status = "disabled";
 			};
 		};
 
diff --git a/arch/arm/dts/k3-am62l3-evm.dts b/arch/arm/dts/k3-am62l3-evm.dts
index 921b58cad2..6751c71c3b 100644
--- a/arch/arm/dts/k3-am62l3-evm.dts
+++ b/arch/arm/dts/k3-am62l3-evm.dts
@@ -113,17 +113,20 @@ eeprom@51 {
 };
 
 &cpsw3g {
+	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&rgmii1_pins_default>,
 		    <&rgmii2_pins_default>;
 };
 
 &cpsw_port1 {
+	status = "okay";
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy0>;
 };
 
 &cpsw_port2 {
+	status = "okay";
 	phy-mode = "rgmii-rxid";
 	phy-handle = <&cpsw3g_phy1>;
 };
-- 
2.47.3




                 reply	other threads:[~2025-11-06  8:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20251106080053.3611902-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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