Skip to contentSkip to conversation

Enable ICSSG Driver for AM64x

PATCH In review MD Danish Anwar 2 participants 4 messages Jun 12, 2024 – Jun 20, 2024

lore
Share & tools
lore
#0 lore raw

v2 cover Enable ICSSG Driver for AM64x

This series adds config changes and env changes to enable ICSSG Ethernet Driver on AM64x.

Changes since v1:
*) Dropped the patch [0] as this needs to be fixed in driver as suggested
by Andrew Davis <[email protected]>
*) Rebased on latest u-boot/next.

v1 https://lore.kernel.org/all/[email protected]/
[0] https://lore.kernel.org/all/[email protected]/

Thanks and Regards,
MD Danish Anwar

MD Danish Anwar (2):
configs: am64x_evm_a53: Enable ICSSG Driver
board: ti: am64x: Set storage_interface and fw_dev_part ENVs

 board/ti/am64x/am64x.env        | 5 +++++
 configs/am64x_evm_a53_defconfig | 5 +++++
 2 files changed, 10 insertions(+)

base-commit: 9cf83a7da95b70a37d0d2aba79439dc8a2944fe3

Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/2 configs: am64x_evm_a53: Enable ICSSG Driver

Enable ICSSG driver, DP83869 phy driver, REMOTEPROC and PRU_REMOTEPROC in am64x_evm_a53_defconfig. All these configs are needed for ICSSG driver.

---
 configs/am64x_evm_a53_defconfig | 5 +++++
 1 file changed, 5 insertions(+)
configs/am64x_evm_a53_defconfig +5 -0
index e000549d6d..6063286798 100644
@@ -126,8 +126,10 @@ CONFIG_SPI_FLASH_MTD=y
 CONFIG_MULTIPLEXER=y
 CONFIG_MUX_MMIO=y
 CONFIG_PHY_TI_DP83867=y
+CONFIG_PHY_TI_DP83869=y
 CONFIG_PHY_FIXED=y
 CONFIG_TI_AM65_CPSW_NUSS=y
+CONFIG_TI_ICSSG_PRUETH=y
 CONFIG_PHY=y
 CONFIG_SPL_PHY=y
 CONFIG_PHY_CADENCE_TORRENT=y
@@ -143,6 +145,8 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_TPS65219=y
 CONFIG_K3_SYSTEM_CONTROLLER=y
 CONFIG_REMOTEPROC_TI_K3_ARM64=y
+CONFIG_REMOTEPROC_TI_PRU=y
+CONFIG_CMD_REMOTEPROC=y
 CONFIG_RESET_TI_SCI=y
 CONFIG_DM_RTC=y
 CONFIG_RTC_EMULATION=y
@@ -150,6 +154,7 @@ CONFIG_DM_SERIAL=y
 CONFIG_SOC_DEVICE=y
 CONFIG_SOC_DEVICE_TI_K3=y
 CONFIG_SOC_TI=y
+CONFIG_TI_PRUSS=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_CADENCE_QSPI=y
Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 board: ti: am64x: Set storage_interface and fw_dev_part ENVs

In reply to MD Danish Anwar

When ICSSG driver is enabled (CONFIG_TI_ICSSG_PRUETH=y) set storage_interface and fw_dev_part env variables.

These variables need be set appropriately in order to load different ICSSG firmwares needed for ICSSG driver. By default the storage interface is mmc and the partition is 1:2. User can modify this based on their needs.

---
 board/ti/am64x/am64x.env | 5 +++++
 1 file changed, 5 insertions(+)
board/ti/am64x/am64x.env +5 -0
index 9a8812d4ee..8ad805a613 100644
@@ -39,3 +39,8 @@ usbboot=setenv boot usb;
 	run get_kern_usb;
 	run get_fdt_usb;
 	run run_kern;
+
+#if CONFIG_TI_ICSSG_PRUETH
+storage_interface=mmc
+fw_dev_part=1:2
+#endif
Signature · 1 line
2.34.1
#3 lore raw
In reply to MD Danish Anwar
Quoted 9 lines · MD Danish Anwar

This series adds config changes and env changes to enable ICSSG Ethernet Driver on AM64x.

Changes since v1:
*) Dropped the patch [0] as this needs to be fixed in driver as suggested
by Andrew Davis <[email protected]>
*) Rebased on latest u-boot/next.

[...]

Applied to u-boot/next, thanks!

Signature · 1 line
Tom