blob: 1f3ea1f6cedf5e0b9b3b48fdc4db428e43e8d980 [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
Stephen Boyda894fcc2013-02-15 16:02:20 -080011 select HAVE_ARM_TWD if SMP
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
Felipe Balbi75f32ec2013-03-20 14:18:28 +020038 select USB_ULPI if USB_PHY
39 select USB_ULPI_VIEWPORT if USB_PHY
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
Felipe Balbi75f32ec2013-03-20 14:18:28 +020055 select USB_ULPI if USB_PHY
56 select USB_ULPI_VIEWPORT if USB_PHY
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
Arnd Bergmann63cc8462013-04-30 23:21:36 +020066 select CPU_FREQ_TABLE if CPU_FREQ
Stephen Warren1d7e5c22013-02-07 14:43:24 -070067 select CPU_V7
Laxman Dewangan20fd4802013-01-29 18:26:17 +053068 select PINCTRL
69 select PINCTRL_TEGRA114
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000070 help
71 Support for NVIDIA Tegra T114 processor family, based on the
72 ARM CortexA15MP CPU
73
Mike Rapoport77ffc142010-09-27 11:26:33 +020074config TEGRA_PCI
75 bool "PCI Express support"
Peter De Schrijverb2bbbc42011-12-14 17:03:14 +020076 depends on ARCH_TEGRA_2x_SOC
Mike Rapoport77ffc142010-09-27 11:26:33 +020077 select PCI
78
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020079config TEGRA_AHB
80 bool "Enable AHB driver for NVIDIA Tegra SoCs"
81 default y
82 help
83 Adds AHB configuration functionality for NVIDIA Tegra SoCs,
84 which controls AHB bus master arbitration and some
Masanari Iidae41e85c2012-11-30 16:44:39 +090085 performance parameters(priority, prefech size).
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020086
Colin Crossefdf72a2011-02-12 18:22:49 -080087config TEGRA_EMC_SCALING_ENABLE
88 bool "Enable scaling the memory frequency"
Mark Brown38376862011-02-22 20:35:24 +000089
Stephen Warren90027222012-09-26 13:08:59 -060090endmenu