* [PATCH] ARM: k3: am62l: disable ethernet by default
@ 2025-11-06 8:00 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2025-11-06 8:00 UTC (permalink / raw)
To: Barebox List
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-06 8:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-06 8:00 [PATCH] ARM: k3: am62l: disable ethernet by default Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox