Skip to contentSkip to conversation

arm64: dts: ti: k3-am62-wakeup: Enable cpsw_mac_syscon in U-Boot

PATCH Superseded Daniel Schultz 2 participants 3 messages Sep 23, 2025 – Oct 27, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: dts: ti: k3-am62-wakeup: Enable cpsw_mac_syscon in U-Boot

Add the "bootph-all" property to cpsw_mac_syscon.

This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62x network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.

---
 arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1 -0
index 6549b7efa656..41ac17e809be 100644
@@ -30,6 +30,7 @@ opp_efuse_table: syscon@18 {
 		cpsw_mac_syscon: ethernet-mac-syscon@200 {
 			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
 			reg = <0x200 0x8>;
+			bootph-all;
 		};
 
 		usb0_phy_ctrl: syscon@4008 {
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 arm64: dts: ti: k3-am62a-wakeup: Enable cpsw_mac_syscon in U-Boot

Add the "bootph-all" property to cpsw_mac_syscon.

This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62Ax network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.

---
 arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +1 -0
index 9ef1c829a9df..f29279d1e4a9 100644
@@ -28,6 +28,7 @@ opp_efuse_table: syscon@18 {
 		cpsw_mac_syscon: ethernet-mac-syscon@200 {
 			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
 			reg = <0x200 0x8>;
+			bootph-all;
 		};
 
 		usb0_phy_ctrl: syscon@4008 {
Signature · 1 line
2.25.1
#2 lore raw
In reply to Daniel Schultz

Hi Daniel,

Quoted 19 lines · Daniel Schultz

Add the "bootph-all" property to cpsw_mac_syscon.

This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62x network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.

---
 arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0 -0
index 6549b7efa656..41ac17e809be 100644

arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi opp_efuse_table: syscon@18 { · line 33

Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1 -0
@@ -30,6 +30,7 @@ opp_efuse_table: syscon@18 {
 		cpsw_mac_syscon: ethernet-mac-syscon@200 {
 			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
 			reg = <0x200 0x8>;
+			bootph-all;

Please restrict this to boards that actually support network boot by moving to dts or SoM specific dtsi? Same applies to 2/2

Quoted 3 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0 -0
 		};
 
 		usb0_phy_ctrl: syscon@4008 {
Signature · 3 lines
Regards
Vignesh
https://ti.com/opensource