1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
4
5config DRIVER_TI_CPSW
6	bool "TI Common Platform Ethernet Switch"
7	select PHYLIB
8	help
9	  This driver supports the TI three port switch gigabit ethernet
10	  subsystem found in the TI SoCs.
11
12config DRIVER_TI_EMAC
13	bool "TI Davinci EMAC"
14	help
15	   Support for davinci emac
16
17config DRIVER_TI_EMAC_USE_RMII
18	depends on DRIVER_TI_EMAC
19	bool "Use RMII"
20	help
21	  Configure the TI EMAC driver to use RMII
22
23config DRIVER_TI_KEYSTONE_NET
24	bool "TI Keystone 2 Ethernet"
25	help
26	   This driver supports the TI Keystone 2 Ethernet subsystem
27
28choice
29	prompt "TI Keystone 2 Ethernet NETCP IP revision"
30	depends on DRIVER_TI_KEYSTONE_NET
31	default KSNET_NETCP_V1_5
32
33config KSNET_NETCP_V1_0
34	bool "NETCP version 1.0"
35
36config KSNET_NETCP_V1_5
37	bool "NETCP version 1.5"
38
39endchoice
40
41config TI_AM65_CPSW_NUSS
42	bool "TI K3 AM65x MCU CPSW Nuss Ethernet controller driver"
43	depends on ARCH_K3
44	imply DM_MDIO
45	imply MISC_INIT_R
46	imply MISC
47	imply SYSCON
48	imply MDIO_TI_CPSW
49	select PHYLIB
50	help
51	  This driver supports TI K3 MCU CPSW Nuss Ethernet controller
52	  in Texas Instruments K3 AM65x SoCs.
53
54config MDIO_TI_CPSW
55	bool "TI CPSW MDIO interface support"
56	depends on DM_MDIO
57	help
58	  This driver supports the TI CPSW MDIO interface found in various
59	  TI SoCs.
60
61config TI_ICSSG_PRUETH
62	bool "TI Gigabit PRU Ethernet driver"
63	depends on ARCH_K3
64	imply DM_MDIO
65	imply MISC_INIT_R
66	imply MISC
67	imply MDIO_TI_CPSW
68	select PHYLIB
69	select FS_LOADER
70	help
71	  Support Gigabit Ethernet ports over the ICSSG PRU Subsystem
72	  This subsystem is available starting with the AM65 platform.
73