Kconfig 4.6 KB
Newer Older
1 2 3 4 5
if ARCH_TEGRA

comment "NVIDIA Tegra options"

config ARCH_TEGRA_2x_SOC
6
	bool "Enable support for Tegra20 family"
7 8
	select CPU_V7
	select ARM_GIC
E
Erik Gilling 已提交
9
	select ARCH_REQUIRE_GPIOLIB
10 11
	select PINCTRL
	select PINCTRL_TEGRA20
12
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
13
	select USB_ULPI if USB
14
	select USB_ULPI_VIEWPORT if USB_SUPPORT
15 16 17 18 19 20 21
	select ARM_ERRATA_720789
	select ARM_ERRATA_742230
	select ARM_ERRATA_751472
	select ARM_ERRATA_754327
	select ARM_ERRATA_764369
	select PL310_ERRATA_727915 if CACHE_L2X0
	select PL310_ERRATA_769419 if CACHE_L2X0
22
	select CPU_FREQ_TABLE if CPU_FREQ
23 24 25 26
	help
	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller

27 28 29 30 31
config ARCH_TEGRA_3x_SOC
	bool "Enable support for Tegra30 family"
	select CPU_V7
	select ARM_GIC
	select ARCH_REQUIRE_GPIOLIB
32 33
	select PINCTRL
	select PINCTRL_TEGRA30
34
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
35
	select USB_ULPI if USB
36 37
	select USB_ULPI_VIEWPORT if USB_SUPPORT
	select USE_OF
38 39 40 41 42
	select ARM_ERRATA_743622
	select ARM_ERRATA_751472
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369
	select PL310_ERRATA_769419 if CACHE_L2X0
43
	select CPU_FREQ_TABLE if CPU_FREQ
44 45 46
	help
	  Support for NVIDIA Tegra T30 processor family, based on the
	  ARM CortexA9MP CPU and the ARM PL310 L2 cache controller
47

M
Mike Rapoport 已提交
48 49
config TEGRA_PCI
	bool "PCI Express support"
50
	depends on ARCH_TEGRA_2x_SOC
M
Mike Rapoport 已提交
51 52
	select PCI

H
Hiroshi DOYU 已提交
53 54 55 56 57 58 59 60
config TEGRA_AHB
	bool "Enable AHB driver for NVIDIA Tegra SoCs"
	default y
	help
	  Adds AHB configuration functionality for NVIDIA Tegra SoCs,
	  which controls AHB bus master arbitration and some
	  perfomance parameters(priority, prefech size).

61 62 63 64
comment "Tegra board type"

config MACH_HARMONY
       bool "Harmony board"
65
       depends on ARCH_TEGRA_2x_SOC
66 67 68
       help
         Support for nVidia Harmony development platform

69 70
config MACH_KAEN
       bool "Kaen board"
71
       depends on ARCH_TEGRA_2x_SOC
72 73 74 75
       select MACH_SEABOARD
       help
         Support for the Kaen version of Seaboard

76 77
config MACH_PAZ00
       bool "Paz00 board"
78
       depends on ARCH_TEGRA_2x_SOC
79 80 81
       help
         Support for the Toshiba AC100/Dynabook AZ netbook

82 83
config MACH_SEABOARD
       bool "Seaboard board"
84
       depends on ARCH_TEGRA_2x_SOC
85 86 87 88 89
       help
         Support for nVidia Seaboard development platform. It will
	 also be included for some of the derivative boards that
	 have large similarities with the seaboard design.

G
Grant Likely 已提交
90
config MACH_TEGRA_DT
91
	bool "Generic Tegra20 board (FDT support)"
92
	depends on ARCH_TEGRA_2x_SOC
G
Grant Likely 已提交
93 94
	select USE_OF
	help
95
	  Support for generic NVIDIA Tegra20 boards using Flattened Device Tree
G
Grant Likely 已提交
96

M
Mike Rapoport 已提交
97 98
config MACH_TRIMSLICE
       bool "TrimSlice board"
99
       depends on ARCH_TEGRA_2x_SOC
M
Mike Rapoport 已提交
100 101 102 103
       select TEGRA_PCI
       help
         Support for CompuLab TrimSlice platform

104 105
config MACH_WARIO
       bool "Wario board"
106
       depends on ARCH_TEGRA_2x_SOC
107 108 109 110
       select MACH_SEABOARD
       help
         Support for the Wario version of Seaboard

111 112
config MACH_VENTANA
       bool "Ventana board"
113
       depends on ARCH_TEGRA_2x_SOC
114 115 116 117
       select MACH_TEGRA_DT
       help
         Support for the nVidia Ventana development platform

118
choice
119
        prompt "Default low-level debug console UART"
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
        default TEGRA_DEBUG_UART_NONE

config TEGRA_DEBUG_UART_NONE
        bool "None"

config TEGRA_DEBUG_UARTA
        bool "UART-A"

config TEGRA_DEBUG_UARTB
        bool "UART-B"

config TEGRA_DEBUG_UARTC
        bool "UART-C"

config TEGRA_DEBUG_UARTD
        bool "UART-D"

config TEGRA_DEBUG_UARTE
        bool "UART-E"

endchoice

142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
choice
	prompt "Automatic low-level debug console UART"
	default TEGRA_DEBUG_UART_AUTO_NONE

config TEGRA_DEBUG_UART_AUTO_NONE
	bool "None"

config TEGRA_DEBUG_UART_AUTO_ODMDATA
	bool "Via ODMDATA"
	help
	  Automatically determines which UART to use for low-level debug based
	  on the ODMDATA value. This value is part of the BCT, and is written
	  to the boot memory device using nvflash, or other flashing tool.
	  When bits 19:18 are 3, then bits 17:15 indicate which UART to use;
	  0/1/2/3/4 are UART A/B/C/D/E.

config TEGRA_DEBUG_UART_AUTO_SCRATCH
	bool "Via UART scratch register"
	help
	  Automatically determines which UART to use for low-level debug based
	  on the UART scratch register value. Some bootloaders put ASCII 'D'
	  in this register when they initialize their own console UART output.
	  Using this option allows the kernel to automatically pick the same
	  UART.

endchoice

C
Colin Cross 已提交
169 170 171 172 173 174 175
config TEGRA_SYSTEM_DMA
	bool "Enable system DMA driver for NVIDIA Tegra SoCs"
	default y
	help
	  Adds system DMA functionality for NVIDIA Tegra SoCs, used by
	  several Tegra device drivers

176 177
config TEGRA_EMC_SCALING_ENABLE
	bool "Enable scaling the memory frequency"
178 179

endif