blob: 597e76b30e99883f0b689b478fdb2a321e7b6674 [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
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080010 select HAVE_ARM_SCU if SMP
11 select HAVE_ARM_TWD if LOCAL_TIMERS
Stephen Warren90027222012-09-26 13:08:59 -060012 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.
Erik Gillingc5f80062010-01-21 16:53:02 -080020
Stephen Warren90027222012-09-26 13:08:59 -060021menu "NVIDIA Tegra options"
22 depends on ARCH_TEGRA
Erik Gillingc5f80062010-01-21 16:53:02 -080023
Erik Gillingc5f80062010-01-21 16:53:02 -080024config ARCH_TEGRA_2x_SOC
Peter De Schrijver44107d82011-12-14 17:03:25 +020025 bool "Enable support for Tegra20 family"
Joseph Lo1d328602013-01-16 17:33:55 +000026 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
Stephen Warrenf35b4312012-02-14 13:39:39 -070027 select ARM_ERRATA_720789
Stephen Warren45c9e592013-01-02 14:34:15 -070028 select ARM_ERRATA_754327 if SMP
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000029 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010030 select ARM_GIC
31 select CPU_FREQ_TABLE if CPU_FREQ
32 select CPU_V7
33 select PINCTRL
34 select PINCTRL_TEGRA20
Stephen Warrenf35b4312012-02-14 13:39:39 -070035 select PL310_ERRATA_727915 if CACHE_L2X0
36 select PL310_ERRATA_769419 if CACHE_L2X0
Russell Kingb1b3f492012-10-06 17:12:25 +010037 select USB_ARCH_HAS_EHCI if USB_SUPPORT
38 select USB_ULPI if USB
39 select USB_ULPI_VIEWPORT if USB_SUPPORT
Erik Gillingc5f80062010-01-21 16:53:02 -080040 help
41 Support for NVIDIA Tegra AP20 and T20 processors, based on the
42 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
43
Peter De Schrijver44107d82011-12-14 17:03:25 +020044config ARCH_TEGRA_3x_SOC
45 bool "Enable support for Tegra30 family"
Stephen Warrenf35b4312012-02-14 13:39:39 -070046 select ARM_ERRATA_754322
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000047 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010048 select ARM_GIC
Arnd Bergmann013df382012-03-02 15:58:28 -050049 select CPU_FREQ_TABLE if CPU_FREQ
Russell Kingb1b3f492012-10-06 17:12:25 +010050 select CPU_V7
51 select PINCTRL
52 select PINCTRL_TEGRA30
53 select PL310_ERRATA_769419 if CACHE_L2X0
54 select USB_ARCH_HAS_EHCI if USB_SUPPORT
55 select USB_ULPI if USB
56 select USB_ULPI_VIEWPORT if USB_SUPPORT
Peter De Schrijver44107d82011-12-14 17:03:25 +020057 help
58 Support for NVIDIA Tegra T30 processor family, based on the
59 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
Erik Gillingc5f80062010-01-21 16:53:02 -080060
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000061config ARCH_TEGRA_114_SOC
62 bool "Enable support for Tegra114 family"
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000063 select ARM_ARCH_TIMER
Stephen Warren1d7e5c22013-02-07 14:43:24 -070064 select ARM_GIC
65 select ARM_L1_CACHE_SHIFT_6
66 select CPU_V7
Laxman Dewangan20fd4802013-01-29 18:26:17 +053067 select PINCTRL
68 select PINCTRL_TEGRA114
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000069 help
70 Support for NVIDIA Tegra T114 processor family, based on the
71 ARM CortexA15MP CPU
72
Mike Rapoport77ffc142010-09-27 11:26:33 +020073config TEGRA_PCI
74 bool "PCI Express support"
Peter De Schrijverb2bbbc42011-12-14 17:03:14 +020075 depends on ARCH_TEGRA_2x_SOC
Mike Rapoport77ffc142010-09-27 11:26:33 +020076 select PCI
77
Hiroshi DOYU87d0bab22012-05-07 12:24:48 +020078config TEGRA_AHB
79 bool "Enable AHB driver for NVIDIA Tegra SoCs"
80 default y
81 help
82 Adds AHB configuration functionality for NVIDIA Tegra SoCs,
83 which controls AHB bus master arbitration and some
Masanari Iidae41e85c2012-11-30 16:44:39 +090084 performance parameters(priority, prefech size).
Hiroshi DOYU87d0bab22012-05-07 12:24:48 +020085
Colin Crossefdf72a2011-02-12 18:22:49 -080086config TEGRA_EMC_SCALING_ENABLE
87 bool "Enable scaling the memory frequency"
Mark Brown38376862011-02-22 20:35:24 +000088
Stephen Warren90027222012-09-26 13:08:59 -060089endmenu