1# Copyright (c) 2023 DENX Software Engineering GmbH
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig ETH_LAN865X
5	bool "LAN865X 10BASE-T1S Controller"
6	default y
7	depends on DT_HAS_MICROCHIP_LAN865X_ENABLED
8	select SPI
9	select MDIO
10	select NET_L2_ETHERNET_MGMT
11	help
12	  The LAN865X is a low power, 10BASE-T1S transceiver compliant with
13	  the IEEE® 802.3cg-2019™ Ethernet standard for long reach, 10
14	  Mbps single pair Ethernet (SPE).
15
16	  Featuring an integrated media access control (MAC) and a PHY,
17	  the LAN865X enables direct connectivity with a variety of controllers
18	  via a serial peripheral inter-face (SPI).
19
20if ETH_LAN865X
21
22config ETH_LAN865X_INIT_PRIORITY
23	int "LAN865X driver init priority"
24	default 72
25	help
26	  LAN865X device driver initialization priority.
27	  Must be initialized after SPI.
28
29
30config ETH_LAN865X_IRQ_THREAD_STACK_SIZE
31	int "Stack size for a thread that processes IRQ"
32	default 512
33	help
34	  Size of the stack used for internal thread which is ran to
35	  process raised INT IRQ.
36
37config ETH_LAN865X_IRQ_THREAD_PRIO
38	int "Priority for internal incoming packet handler"
39	default 2
40	help
41	  Priority level for internal thread which is ran for LAN
42	  INT IRQ processing.
43
44config ETH_LAN865X_TIMEOUT
45	int "IP buffer timeout"
46	default 100
47	help
48	  Given timeout in milliseconds. Maximum amount of time
49	  that the driver will wait from the IP stack to get
50	  a memory buffer.
51
52endif # ETH_LAN865X
53