]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: j7200_evm_a72: Enable configs for SGMII support with MAIN CPSW0
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Wed, 2 Aug 2023 08:17:29 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 15 Aug 2023 21:46:39 +0000 (17:46 -0400)
The MAIN CPSW0 instance of CPSW Ethernet Switch on TI's J7200 SoC
supports SGMII mode. To enable support for utilizing the SGMII
daughtercard with TI's DP83869 PHY, enable the corresponding config.

Also, since the SGMII daughtercard is connected to the I2C GPIO
Expander 2 connector on the J7200 EVM, powering on the Ethernet PHY and
resetting it requires GPIO Hogging capability. Enable it as well.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
configs/j7200_evm_a72_defconfig

index ad8492a17e1dabd07d24034327a7872742502656..ba5914d3b605598672c60c7ed084755cbc61290c 100644 (file)
@@ -114,6 +114,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=0
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_TI_SCI_PROTOCOL=y
+CONFIG_GPIO_HOG=y
 CONFIG_DA8XX_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
@@ -146,6 +147,7 @@ CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_MTD=y
 CONFIG_MULTIPLEXER=y
 CONFIG_MUX_MMIO=y
+CONFIG_PHY_TI_DP83869=y
 CONFIG_PHY_FIXED=y
 CONFIG_TI_AM65_CPSW_NUSS=y
 CONFIG_PHY=y