1# Copyright 2023 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig MDIO_NXP_S32_GMAC
5	bool "NXP S32 GMAC MDIO driver"
6	default y
7	depends on DT_HAS_NXP_S32_GMAC_MDIO_ENABLED
8	select CLOCK_CONTROL
9	select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
10	select PINCTRL
11	help
12	  Enable GMAC MDIO driver for NXP S32 SoCs.
13
14if MDIO_NXP_S32_GMAC
15
16config MDIO_NXP_S32_TIMEOUT
17	int "Timeout for read/write operations in milliseconds"
18	default 2
19	help
20	  Timeout (in milliseconds) for read/write operations over MDIO.
21
22endif # MDIO_NXP_S32_GMAC
23