clk: eth: Add ETH_MCUX_RMII_EXT_CLK option to enable external RMII clock

This option will configure MCUX block (by setting RMIISRC [19] bit to 1
in SIM_SOPT2 register) to use external clock source for RMII from
ENET_1588_CLKIN).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
Lukasz Majewski 2020-04-10 08:31:01 +02:00 committed by Maureen Helm
commit 43427c4d49

View file

@ -22,6 +22,12 @@ config ETH_MCUX_PROMISCUOUS_MODE
Place the Ethernet receiver in promiscuous mode. This may be useful
for debugging and not needed for normal work.
config ETH_MCUX_RMII_EXT_CLK
bool "Enable RMII clock from external sources"
help
Setting this option will configure MCUX clock block to feed RMII
reference clock from external source (ENET_1588_CLKIN)
config ETH_MCUX_PHY_TICK_MS
int "PHY poll period (ms)"
default 1000