xref: /openbmc/linux/arch/arm/mach-tegra/Kconfig (revision 7e1161f8)
190027225SStephen Warrenconfig ARCH_TEGRA
290027225SStephen Warren	bool "NVIDIA Tegra" if ARCH_MULTI_V7
390027225SStephen Warren	select ARCH_HAS_CPUFREQ
490027225SStephen Warren	select ARCH_REQUIRE_GPIOLIB
520984c44SStephen Warren	select ARM_GIC
690027225SStephen Warren	select CLKSRC_MMIO
790027225SStephen Warren	select CLKSRC_OF
890027225SStephen Warren	select COMMON_CLK
920984c44SStephen Warren	select CPU_V7
1090027225SStephen Warren	select GENERIC_CLOCKEVENTS
114c3ffffdSStephen Boyd	select HAVE_ARM_SCU if SMP
12a894fcc2SStephen Boyd	select HAVE_ARM_TWD if SMP
1390027225SStephen Warren	select HAVE_SMP
1490027225SStephen Warren	select MIGHT_HAVE_CACHE_L2X0
15e8a72e2aSThierry Reding	select MIGHT_HAVE_PCI
1620984c44SStephen Warren	select PINCTRL
1790027225SStephen Warren	select SOC_BUS
1890027225SStephen Warren	select SPARSE_IRQ
1920984c44SStephen Warren	select USB_ARCH_HAS_EHCI if USB_SUPPORT
2020984c44SStephen Warren	select USB_ULPI if USB_PHY
2120984c44SStephen Warren	select USB_ULPI_VIEWPORT if USB_PHY
2290027225SStephen Warren	select USE_OF
2390027225SStephen Warren	help
2490027225SStephen Warren	  This enables support for NVIDIA Tegra based systems.
25c5f80065SErik Gilling
2690027225SStephen Warrenmenu "NVIDIA Tegra options"
2790027225SStephen Warren	depends on ARCH_TEGRA
28c5f80065SErik Gilling
29c5f80065SErik Gillingconfig ARCH_TEGRA_2x_SOC
3044107d8bSPeter De Schrijver	bool "Enable support for Tegra20 family"
311d328606SJoseph Lo	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
32f35b431dSStephen Warren	select ARM_ERRATA_720789
3345c9e592SStephen Warren	select ARM_ERRATA_754327 if SMP
348f90cce5SArnd Bergmann	select ARM_ERRATA_764369 if SMP
35b1b3f49cSRussell King	select PINCTRL_TEGRA20
36f35b431dSStephen Warren	select PL310_ERRATA_727915 if CACHE_L2X0
37f35b431dSStephen Warren	select PL310_ERRATA_769419 if CACHE_L2X0
38c5f80065SErik Gilling	help
39c5f80065SErik Gilling	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
40c5f80065SErik Gilling	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
41c5f80065SErik Gilling
4244107d8bSPeter De Schrijverconfig ARCH_TEGRA_3x_SOC
4344107d8bSPeter De Schrijver	bool "Enable support for Tegra30 family"
44f35b431dSStephen Warren	select ARM_ERRATA_754322
458f90cce5SArnd Bergmann	select ARM_ERRATA_764369 if SMP
46b1b3f49cSRussell King	select PINCTRL_TEGRA30
47b1b3f49cSRussell King	select PL310_ERRATA_769419 if CACHE_L2X0
4844107d8bSPeter De Schrijver	help
4944107d8bSPeter De Schrijver	  Support for NVIDIA Tegra T30 processor family, based on the
5044107d8bSPeter De Schrijver	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
51c5f80065SErik Gilling
525c541b88SHiroshi Doyuconfig ARCH_TEGRA_114_SOC
535c541b88SHiroshi Doyu	bool "Enable support for Tegra114 family"
5459fd3033SRussell King	select ARM_ERRATA_798181 if SMP
551d7e5c2cSStephen Warren	select ARM_L1_CACHE_SHIFT_6
56b6bda4e0SStephen Warren	select HAVE_ARM_ARCH_TIMER
5720fd4806SLaxman Dewangan	select PINCTRL_TEGRA114
585c541b88SHiroshi Doyu	help
595c541b88SHiroshi Doyu	  Support for NVIDIA Tegra T114 processor family, based on the
605c541b88SHiroshi Doyu	  ARM CortexA15MP CPU
615c541b88SHiroshi Doyu
6273944475SJoseph Loconfig ARCH_TEGRA_124_SOC
6373944475SJoseph Lo	bool "Enable support for Tegra124 family"
6473944475SJoseph Lo	select ARM_L1_CACHE_SHIFT_6
6573944475SJoseph Lo	select HAVE_ARM_ARCH_TIMER
667e1161f8SLaxman Dewangan	select PINCTRL_TEGRA124
6773944475SJoseph Lo	help
6873944475SJoseph Lo	  Support for NVIDIA Tegra T124 processor family, based on the
6973944475SJoseph Lo	  ARM CortexA15MP CPU
7073944475SJoseph Lo
7187d0bab2SHiroshi DOYUconfig TEGRA_AHB
7287d0bab2SHiroshi DOYU	bool "Enable AHB driver for NVIDIA Tegra SoCs"
7387d0bab2SHiroshi DOYU	default y
7487d0bab2SHiroshi DOYU	help
7587d0bab2SHiroshi DOYU	  Adds AHB configuration functionality for NVIDIA Tegra SoCs,
7687d0bab2SHiroshi DOYU	  which controls AHB bus master arbitration and some
77e41e85ccSMasanari Iida	  performance parameters(priority, prefech size).
7887d0bab2SHiroshi DOYU
79efdf72adSColin Crossconfig TEGRA_EMC_SCALING_ENABLE
80efdf72adSColin Cross	bool "Enable scaling the memory frequency"
8138376866SMark Brown
8290027225SStephen Warrenendmenu
83