[PATCH v4 00/21] Add support for Ethernet boot

Chintan Vankar
2025-07-31T08:01:04Z

Hello All,

This series adds bind method for CPSW to avoid explicit probing, removes
explicit probing of CPSW, adds support for Ethernet boot on SK-AM68,
SK-AM62P-LP, J722S, SK-AM69.

This series is based on commit 'a8f20bb6650df56d' of origin/master
branch of U-Boot.

Link to v3:
https://lore.kernel.org/u-boot/20250225114903.2080616-1-c-vankar@ti.com/

Changes from v3 to v4:
- Updated bind method to avoid initializing fields in cpsw data structure.
- Revert commits to avoid explicit probing of CPSW driver as per Roger's
suggestion.
- Updated commit messages of adding SoC auto-gen data for J721s2.
- Collected Reviewed-by tag from Alexander Sverdlin on [PATCH v3 05/15]
and [PATCH v3 13/15].
- Added support of Ethernet boot for SK-AM69.

Andreas Dannenberg (3):
arm: mach-k3: am62p: Update SoC auto-gen data to enable Ethernet boot
board: ti: am62px: evm: Enable cache for AM62p
configs: am62px_evm_r5_ethboot: Add configs to enable Ethernet boot in
R5SPL

Chintan Vankar (18):
net: ti: am65-cpsw-nuss: Define bind method for CPSW driver
arch: mach-k3: common: Remove explicit probing of CPSW driver
Revert "mach-k3: am642_init: Probe AM65 CPSW NUSS for R5/A53 SPL"
Revert "arm: mach-k3: am62x: am625_init: Probe AM65 CPSW NUSS"
arm: mach-k3: j721s2: Update SoC auto-gen data to enable Ethernet boot
arm: mach-k3: j721s2_spl: Alias Ethernet boot to CPGMAC
net: ti: Kconfig: Enable SPL_SYSCON config for CPSW
configs: am68_sk_r5_ethboot: Add configs for enabling Ethernet boot in
R5SPL
configs: am68_sk_a72_ethboot: Enable configs required for Ethernet
boot
configs: am62px_evm_a53_ethboot: Enable configs required for Ethboot
arm: mach-k3: j722s: Update SoC autogenerated data to enable Ethernet
boot
board: ti: j722s: evm: Enable cache for J722s
configs: j722s_evm_r5_ethboot: Add configs to enable Ethernet boot in
R5SPL
configs: j722s_evm_a53_ethboot: Enable configs required for Ethernet
boot
arm: mach-k3: j784s4: Update SoC auto-gen data to enable Ethernet boot
arm: mach-k3: j784s4_spl: Alias Ethernet boot to CPGMAC
configs: am69_sk_r5_ethboot: Add configs to enable Ethernet boot in
R5SPL
configs: am69_sk_a72_ethboot: Add configs to enable Ethernet boot

arch/arm/mach-k3/am62x/am625_init.c | 9 ----
arch/arm/mach-k3/am64x/am642_init.c | 7 ---
arch/arm/mach-k3/common.c | 11 ----
arch/arm/mach-k3/include/mach/j721s2_spl.h | 1 +
arch/arm/mach-k3/include/mach/j784s4_spl.h | 2 +
arch/arm/mach-k3/r5/am62px/clk-data.c | 44 ++++++++++++++--
arch/arm/mach-k3/r5/am62px/dev-data.c | 24 +++++----
arch/arm/mach-k3/r5/j721s2/clk-data.c | 58 ++++++++++++++++++++--
arch/arm/mach-k3/r5/j721s2/dev-data.c | 3 +-
arch/arm/mach-k3/r5/j722s/clk-data.c | 50 +++++++++++++++----
arch/arm/mach-k3/r5/j722s/dev-data.c | 34 ++++++-------
arch/arm/mach-k3/r5/j784s4/clk-data.c | 54 ++++++++++++++++++--
arch/arm/mach-k3/r5/j784s4/dev-data.c | 1 +
board/ti/am62px/evm.c | 8 +++
board/ti/j722s/evm.c | 8 +++
configs/am62px_evm_a53_ethboot_defconfig | 13 +++++
configs/am62px_evm_r5_ethboot_defconfig | 29 +++++++++++
configs/am68_sk_a72_ethboot_defconfig | 14 ++++++
configs/am68_sk_r5_ethboot_defconfig | 23 +++++++++
configs/am69_sk_a72_ethboot_defconfig | 11 ++++
configs/am69_sk_r5_ethboot_defconfig | 15 ++++++
configs/j722s_evm_a53_ethboot_defconfig | 13 +++++
configs/j722s_evm_r5_ethboot_defconfig | 30 +++++++++++
drivers/net/ti/Kconfig | 1 +
drivers/net/ti/am65-cpsw-nuss.c | 40 ++++++++++++---
25 files changed, 418 insertions(+), 85 deletions(-)
create mode 100644 configs/am62px_evm_a53_ethboot_defconfig
create mode 100644 configs/am62px_evm_r5_ethboot_defconfig
create mode 100644 configs/am68_sk_a72_ethboot_defconfig
create mode 100644 configs/am68_sk_r5_ethboot_defconfig
create mode 100644 configs/am69_sk_a72_ethboot_defconfig
create mode 100644 configs/am69_sk_r5_ethboot_defconfig
create mode 100644 configs/j722s_evm_a53_ethboot_defconfig
create mode 100644 configs/j722s_evm_r5_ethboot_defconfig

--
2.34.1