d2ea187228
MDIO controller is part of GMAC and it requires GMAC ethernet driver to initialize first because it will reset the whole GMAC hw block during initialization. Both C22 and C45 APIs are supported. Co-authored-by: Benjamin Perseghetti <bperseghetti@rudislabs.com> Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com> Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
22 lines
527 B
Plaintext
22 lines
527 B
Plaintext
# Copyright 2023 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig MDIO_NXP_S32_GMAC
|
|
bool "NXP S32 GMAC MDIO driver"
|
|
default y
|
|
depends on DT_HAS_NXP_S32_GMAC_MDIO_ENABLED
|
|
select CLOCK_CONTROL
|
|
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
|
|
help
|
|
Enable GMAC MDIO driver for NXP S32 SoCs.
|
|
|
|
if MDIO_NXP_S32_GMAC
|
|
|
|
config MDIO_NXP_S32_TIMEOUT
|
|
int "Timeout for read/write operations in milliseconds"
|
|
default 2
|
|
help
|
|
Timeout (in milliseconds) for read/write operations over MDIO.
|
|
|
|
endif # MDIO_NXP_S32_GMAC
|