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