When GPIO17 or 16 is used as an external REF_CLK signal, the output is enabled in eth_esp32.c This was added in PR number #65759 and then refined in PR #74442. However this does not work for PHYs which need the REF_CLK for MDIO communication, such as LAN8720A. In such cases phy_mii driver tries to get the ID of such a PHY before REF_CLK is present. Therefore in this PR I propose to move REF_CLK initialization from eth_esp32.c to mdio_esp32.c which gets initialized before PHY and ETH. Signed-off-by: Łukasz Iwaszkiewicz <lukasz.iwaszkiewicz@gmail.com> |
||
|---|---|---|
| .. | ||
| adi,adin2111-mdio.yaml | ||
| atmel,sam-mdio.yaml | ||
| espressif,esp32-mdio.yaml | ||
| infineon,xmc4xxx-mdio.yaml | ||
| litex,liteeth-mdio.yaml | ||
| mdio-controller.yaml | ||
| microchip,lan865x-mdio.yaml | ||
| nxp,enet-mdio.yaml | ||
| nxp,enet-qos-mdio.yaml | ||
| nxp,imx-netc-emdio.yaml | ||
| nxp,s32-gmac-mdio.yaml | ||
| nxp,s32-netc-emdio.yaml | ||
| renesas,ra-mdio.yaml | ||
| sensry,sy1xx-mdio.yaml | ||
| smsc,lan91c111-mdio.yaml | ||
| snps,dwcxgmac-mdio.yaml | ||
| st,stm32-mdio.yaml | ||
| xilinx,axi-ethernet-1.00.a-mdio.yaml | ||
| zephyr,mdio-gpio.yaml | ||