From: Marek Vasut <marek.vasut+renesas@mailbox.org>
Date: Mon, 29 May 2023 18:28:54 +0000 (+0200)
Subject: ARM: renesas: Enable DM_ETH_PHY and SMSC PHY driver
X-Git-Tag: v2025.01-rc5-pxa1908~950^2~19^2
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=32d2461e0467b50abeb5662fce41fdd686e88b61;p=u-boot.git

ARM: renesas: Enable DM_ETH_PHY and SMSC PHY driver

The board comes with SMSC LAN8710A PHY, enable matching driver.
Enable DM_ETH_PHY in the process to start using DM drivers more.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Michal Simek <michal.simek@amd.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
---

diff --git a/configs/grpeach_defconfig b/configs/grpeach_defconfig
index 04edcf34f2..36925f3e47 100644
--- a/configs/grpeach_defconfig
+++ b/configs/grpeach_defconfig
@@ -52,6 +52,9 @@ CONFIG_SPI_FLASH_MACRONIX=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_SMSC=y
+CONFIG_PHY_ETHERNET_ID=y
+CONFIG_DM_ETH_PHY=y
 CONFIG_SH_ETHER=y
 CONFIG_PINCTRL=y
 CONFIG_DM_REGULATOR=y