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