xref: /openbmc/linux/arch/arm/mach-tegra/Kconfig (revision c1d45424)
1config ARCH_TEGRA
2	bool "NVIDIA Tegra" if ARCH_MULTI_V7
3	select ARCH_HAS_CPUFREQ
4	select ARCH_REQUIRE_GPIOLIB
5	select CLKDEV_LOOKUP
6	select CLKSRC_MMIO
7	select CLKSRC_OF
8	select COMMON_CLK
9	select GENERIC_CLOCKEVENTS
10	select HAVE_ARM_SCU if SMP
11	select HAVE_ARM_TWD if LOCAL_TIMERS
12	select HAVE_CLK
13	select HAVE_SMP
14	select MIGHT_HAVE_CACHE_L2X0
15	select SOC_BUS
16	select SPARSE_IRQ
17	select USE_OF
18	help
19	  This enables support for NVIDIA Tegra based systems.
20
21menu "NVIDIA Tegra options"
22	depends on ARCH_TEGRA
23
24config ARCH_TEGRA_2x_SOC
25	bool "Enable support for Tegra20 family"
26	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
27	select ARM_ERRATA_720789
28	select ARM_ERRATA_754327 if SMP
29	select ARM_ERRATA_764369 if SMP
30	select ARM_GIC
31	select CPU_V7
32	select PINCTRL
33	select PINCTRL_TEGRA20
34	select PL310_ERRATA_727915 if CACHE_L2X0
35	select PL310_ERRATA_769419 if CACHE_L2X0
36	select USB_ARCH_HAS_EHCI if USB_SUPPORT
37	select USB_ULPI if USB_PHY
38	select USB_ULPI_VIEWPORT if USB_PHY
39	help
40	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
41	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
42
43config ARCH_TEGRA_3x_SOC
44	bool "Enable support for Tegra30 family"
45	select ARM_ERRATA_754322
46	select ARM_ERRATA_764369 if SMP
47	select ARM_GIC
48	select CPU_V7
49	select PINCTRL
50	select PINCTRL_TEGRA30
51	select PL310_ERRATA_769419 if CACHE_L2X0
52	select USB_ARCH_HAS_EHCI if USB_SUPPORT
53	select USB_ULPI if USB_PHY
54	select USB_ULPI_VIEWPORT if USB_PHY
55	help
56	  Support for NVIDIA Tegra T30 processor family, based on the
57	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
58
59config ARCH_TEGRA_114_SOC
60	bool "Enable support for Tegra114 family"
61	select HAVE_ARM_ARCH_TIMER
62	select ARM_GIC
63	select ARM_L1_CACHE_SHIFT_6
64	select CPU_V7
65	select PINCTRL
66	select PINCTRL_TEGRA114
67	help
68	  Support for NVIDIA Tegra T114 processor family, based on the
69	  ARM CortexA15MP CPU
70
71config TEGRA_PCI
72	bool "PCI Express support"
73	depends on ARCH_TEGRA_2x_SOC
74	select PCI
75
76config TEGRA_AHB
77	bool "Enable AHB driver for NVIDIA Tegra SoCs"
78	default y
79	help
80	  Adds AHB configuration functionality for NVIDIA Tegra SoCs,
81	  which controls AHB bus master arbitration and some
82	  performance parameters(priority, prefech size).
83
84config TEGRA_EMC_SCALING_ENABLE
85	bool "Enable scaling the memory frequency"
86
87endmenu
88