[PATCH v2 0/2] 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 afd@ti.com *) Rebased on latest u-boot/next.
v1 https://lore.kernel.org/all/20240522063652.3759497-1-danishanwar@ti.com/ [0] https://lore.kernel.org/all/cb53651f-a823-41b8-81e5-c3939bd33764@ti.com/
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

Enable ICSSG driver, DP83869 phy driver, REMOTEPROC and PRU_REMOTEPROC in am64x_evm_a53_defconfig. All these configs are needed for ICSSG driver.
Signed-off-by: MD Danish Anwar danishanwar@ti.com --- configs/am64x_evm_a53_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig index e000549d6d..6063286798 100644 --- a/configs/am64x_evm_a53_defconfig +++ b/configs/am64x_evm_a53_defconfig @@ -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

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.
Signed-off-by: MD Danish Anwar danishanwar@ti.com --- board/ti/am64x/am64x.env | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env index 9a8812d4ee..8ad805a613 100644 --- a/board/ti/am64x/am64x.env +++ b/board/ti/am64x/am64x.env @@ -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

On Wed, 12 Jun 2024 16:37:47 +0530, MD Danish Anwar wrote:
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 afd@ti.com *) Rebased on latest u-boot/next.
[...]
Applied to u-boot/next, thanks!
participants (2)
-
MD Danish Anwar
-
Tom Rini