blob: 4926bd11f190fc259c82f0311760baaee3502bc8 [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
Alexandre Courbot1a5de3a2013-11-24 15:30:49 +09005 select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
Stephen Warren20984c42013-08-06 14:38:51 -06006 select ARM_GIC
Stephen Warren90027222012-09-26 13:08:59 -06007 select CLKSRC_MMIO
8 select CLKSRC_OF
9 select COMMON_CLK
Stephen Warren20984c42013-08-06 14:38:51 -060010 select CPU_V7
Stephen Warren90027222012-09-26 13:08:59 -060011 select GENERIC_CLOCKEVENTS
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080012 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080013 select HAVE_ARM_TWD if SMP
Stephen Warren90027222012-09-26 13:08:59 -060014 select HAVE_SMP
15 select MIGHT_HAVE_CACHE_L2X0
Thierry Redinge8a72e22013-08-28 22:05:34 +020016 select MIGHT_HAVE_PCI
Stephen Warren20984c42013-08-06 14:38:51 -060017 select PINCTRL
Stephen Warrene0421462013-11-06 15:23:29 -070018 select ARCH_HAS_RESET_CONTROLLER
19 select RESET_CONTROLLER
Stephen Warren90027222012-09-26 13:08:59 -060020 select SOC_BUS
21 select SPARSE_IRQ
Stephen Warren20984c42013-08-06 14:38:51 -060022 select USB_ULPI if USB_PHY
23 select USB_ULPI_VIEWPORT if USB_PHY
Stephen Warren90027222012-09-26 13:08:59 -060024 select USE_OF
25 help
26 This enables support for NVIDIA Tegra based systems.
Erik Gillingc5f80062010-01-21 16:53:02 -080027
Stephen Warren90027222012-09-26 13:08:59 -060028menu "NVIDIA Tegra options"
29 depends on ARCH_TEGRA
Erik Gillingc5f80062010-01-21 16:53:02 -080030
Erik Gillingc5f80062010-01-21 16:53:02 -080031config ARCH_TEGRA_2x_SOC
Peter De Schrijver44107d82011-12-14 17:03:25 +020032 bool "Enable support for Tegra20 family"
Joseph Lo1d328602013-01-16 17:33:55 +000033 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
Stephen Warrenf35b4312012-02-14 13:39:39 -070034 select ARM_ERRATA_720789
Stephen Warren45c9e592013-01-02 14:34:15 -070035 select ARM_ERRATA_754327 if SMP
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000036 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010037 select PINCTRL_TEGRA20
Stephen Warrenf35b4312012-02-14 13:39:39 -070038 select PL310_ERRATA_727915 if CACHE_L2X0
39 select PL310_ERRATA_769419 if CACHE_L2X0
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 PINCTRL_TEGRA30
49 select PL310_ERRATA_769419 if CACHE_L2X0
Peter De Schrijver44107d82011-12-14 17:03:25 +020050 help
51 Support for NVIDIA Tegra T30 processor family, based on the
52 ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
Erik Gillingc5f80062010-01-21 16:53:02 -080053
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000054config ARCH_TEGRA_114_SOC
55 bool "Enable support for Tegra114 family"
Russell King59fd3032013-10-21 09:33:49 +010056 select ARM_ERRATA_798181 if SMP
Stephen Warren1d7e5c22013-02-07 14:43:24 -070057 select ARM_L1_CACHE_SHIFT_6
Stephen Warrenb6bda4e2013-10-07 11:11:42 -060058 select HAVE_ARM_ARCH_TIMER
Laxman Dewangan20fd4802013-01-29 18:26:17 +053059 select PINCTRL_TEGRA114
Hiroshi Doyu5c541b82013-01-24 01:10:26 +000060 help
61 Support for NVIDIA Tegra T114 processor family, based on the
62 ARM CortexA15MP CPU
63
Joseph Lo73944472013-10-08 12:50:03 +080064config ARCH_TEGRA_124_SOC
65 bool "Enable support for Tegra124 family"
66 select ARM_L1_CACHE_SHIFT_6
67 select HAVE_ARM_ARCH_TIMER
Laxman Dewangan7e1161f2013-12-05 16:27:49 +053068 select PINCTRL_TEGRA124
Joseph Lo73944472013-10-08 12:50:03 +080069 help
70 Support for NVIDIA Tegra T124 processor family, based on the
71 ARM CortexA15MP CPU
72
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020073config TEGRA_AHB
74 bool "Enable AHB driver for NVIDIA Tegra SoCs"
75 default y
76 help
77 Adds AHB configuration functionality for NVIDIA Tegra SoCs,
78 which controls AHB bus master arbitration and some
Masanari Iidae41e85c2012-11-30 16:44:39 +090079 performance parameters(priority, prefech size).
Hiroshi DOYU87d0bab2012-05-07 12:24:48 +020080
Colin Crossefdf72a2011-02-12 18:22:49 -080081config TEGRA_EMC_SCALING_ENABLE
82 bool "Enable scaling the memory frequency"
Mark Brown38376862011-02-22 20:35:24 +000083
Stephen Warren90027222012-09-26 13:08:59 -060084endmenu