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	depends on ARCH_OMAP2PLUS
8	select PHYLIB
9	help
10	  This driver supports the TI three port switch gigabit ethernet
11	  subsystem found in the TI SoCs.
12
13config DRIVER_TI_EMAC
14	bool "TI Davinci EMAC"
15	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
16	help
17	   Support for davinci emac
18
19config DRIVER_TI_EMAC_USE_RMII
20	depends on DRIVER_TI_EMAC
21	bool "Use RMII"
22	help
23	  Configure the TI EMAC driver to use RMII
24
25config DRIVER_TI_KEYSTONE_NET
26	bool "TI Keystone 2 Ethernet"
27	depends on ARCH_KEYSTONE
28	help
29	   This driver supports the TI Keystone 2 Ethernet subsystem
30
31choice
32	prompt "TI Keystone 2 Ethernet NETCP IP revision"
33	depends on DRIVER_TI_KEYSTONE_NET
34	default KSNET_NETCP_V1_5
35
36config KSNET_NETCP_V1_0
37	bool "NETCP version 1.0"
38
39config KSNET_NETCP_V1_5
40	bool "NETCP version 1.5"
41
42endchoice
43
44config TI_AM65_CPSW_NUSS
45	bool "TI K3 AM65x MCU CPSW Nuss Ethernet controller driver"
46	depends on ARCH_K3
47	imply DM_MDIO
48	imply MISC_INIT_R
49	imply MISC
50	imply SYSCON
51	imply MDIO_TI_CPSW
52	select PHYLIB
53	help
54	  This driver supports TI K3 MCU CPSW Nuss Ethernet controller
55	  in Texas Instruments K3 AM65x SoCs.
56
57config MDIO_TI_CPSW
58	bool "TI CPSW MDIO interface support"
59	depends on DM_MDIO
60	help
61	  This driver supports the TI CPSW MDIO interface found in various
62	  TI SoCs.
63
64config TI_ICSSG_PRUETH
65	bool "TI Gigabit PRU Ethernet driver"
66	depends on ARCH_K3
67	imply DM_MDIO
68	imply MISC_INIT_R
69	imply MISC
70	imply MDIO_TI_CPSW
71	select PHYLIB
72	select FS_LOADER
73	help
74	  Support Gigabit Ethernet ports over the ICSSG PRU Subsystem
75	  This subsystem is available starting with the AM65 platform.
76