blob: df99ee93030a7b854046546c6226c61c49f410a2 [file] [log] [blame]
Stephen Warren90027222012-09-26 13:08:59 -06001config 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_CLK
11 select HAVE_SMP
12 select MIGHT_HAVE_CACHE_L2X0
13 select SOC_BUS
14 select SPARSE_IRQ
15 select USE_OF
16 help
17 This enables support for NVIDIA Tegra based systems.
Erik Gillingc5f80062010-01-21 16:53:02 -080018
Stephen Warren90027222012-09-26 13:08:59 -060019menu "NVIDIA Tegra options"
20 depends on ARCH_TEGRA
Erik Gillingc5f80062010-01-21 16:53:02 -080021
Erik Gillingc5f80062010-01-21 16:53:02 -080022config ARCH_TEGRA_2x_SOC
Peter De Schrijver44107d82011-12-14 17:03:25 +020023 bool "Enable support for Tegra20 family"
Joseph Lo1d328602013-01-16 17:33:55 +000024 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
Stephen Warrenf35b4312012-02-14 13:39:39 -070025 select ARM_ERRATA_720789
Stephen Warren45c9e592013-01-02 14:34:15 -070026 select ARM_ERRATA_754327 if SMP
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000027 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010028 select ARM_GIC
29 select CPU_FREQ_TABLE if CPU_FREQ
30 select CPU_V7
31 select PINCTRL
32 select PINCTRL_TEGRA20
Stephen Warrenf35b4312012-02-14 13:39:39 -070033 select PL310_ERRATA_727915 if CACHE_L2X0
34 select PL310_ERRATA_769419 if CACHE_L2X0
Russell Kingb1b3f492012-10-06 17:12:25 +010035 select USB_ARCH_HAS_EHCI if USB_SUPPORT
36 select USB_ULPI if USB
37 select USB_ULPI_VIEWPORT if USB_SUPPORT
Erik Gillingc5f80062010-01-21 16:53:02 -080038 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
Peter De Schrijver44107d82011-12-14 17:03:25 +020042config ARCH_TEGRA_3x_SOC
43 bool "Enable support for Tegra30 family"
Stephen Warrenf35b4312012-02-14 13:39:39 -070044 select ARM_ERRATA_754322
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000045 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010046 select ARM_GIC
Arnd Bergmann013df382012-03-02 15:58:28 -050047 select CPU_FREQ_TABLE if CPU_FREQ
Russell Kingb1b3f492012-10-06 17:12:25 +010048 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
54 select USB_ULPI_VIEWPORT if USB_SUPPORT
Peter De Schrijver44107d82011-12-14 17:03:25 +020055 help
56 Support for NVIDIA Tegra T30 processor family, based on the
57 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
Erik Gillingc5f80062010-01-21 16:53:02 -080058
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000059config ARCH_TEGRA_114_SOC
60 bool "Enable support for Tegra114 family"
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000061 select ARM_ARCH_TIMER
Stephen Warren1d7e5c22013-02-07 14:43:24 -070062 select ARM_GIC
63 select ARM_L1_CACHE_SHIFT_6
64 select CPU_V7
Laxman Dewangan20fd4802013-01-29 18:26:17 +053065 select PINCTRL
66 select PINCTRL_TEGRA114
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000067 help
68 Support for NVIDIA Tegra T114 processor family, based on the
69 ARM CortexA15MP CPU
70
Mike Rapoport77ffc142010-09-27 11:26:33 +020071config TEGRA_PCI
72 bool "PCI Express support"
Peter De Schrijverb2bbbc42011-12-14 17:03:14 +020073 depends on ARCH_TEGRA_2x_SOC
Mike Rapoport77ffc142010-09-27 11:26:33 +020074 select PCI
75
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020076config 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
Masanari Iidae41e85c2012-11-30 16:44:39 +090082 performance parameters(priority, prefech size).
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020083
Colin Crossefdf72a2011-02-12 18:22:49 -080084config TEGRA_EMC_SCALING_ENABLE
85 bool "Enable scaling the memory frequency"
Mark Brown38376862011-02-22 20:35:24 +000086
Stephen Warren90027222012-09-26 13:08:59 -060087endmenu