xref: /OK3568_Linux_fs/kernel/arch/arm/mach-davinci/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunmenuconfig ARCH_DAVINCI
4*4882a593Smuzhiyun	bool "TI DaVinci"
5*4882a593Smuzhiyun	depends on ARCH_MULTI_V5
6*4882a593Smuzhiyun	select DAVINCI_TIMER
7*4882a593Smuzhiyun	select ZONE_DMA
8*4882a593Smuzhiyun	select PM_GENERIC_DOMAINS if PM
9*4882a593Smuzhiyun	select PM_GENERIC_DOMAINS_OF if PM && OF
10*4882a593Smuzhiyun	select REGMAP_MMIO
11*4882a593Smuzhiyun	select RESET_CONTROLLER
12*4882a593Smuzhiyun	select HAVE_IDE
13*4882a593Smuzhiyun	select PINCTRL_SINGLE
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunif ARCH_DAVINCI
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunconfig ARCH_DAVINCI_DMx
18*4882a593Smuzhiyun	bool
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuncomment "DaVinci Core Type"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunconfig ARCH_DAVINCI_DM644x
23*4882a593Smuzhiyun	bool "DaVinci 644x based system"
24*4882a593Smuzhiyun	select DAVINCI_AINTC
25*4882a593Smuzhiyun	select ARCH_DAVINCI_DMx
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig ARCH_DAVINCI_DM355
28*4882a593Smuzhiyun	bool "DaVinci 355 based system"
29*4882a593Smuzhiyun	select DAVINCI_AINTC
30*4882a593Smuzhiyun	select ARCH_DAVINCI_DMx
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunconfig ARCH_DAVINCI_DM646x
33*4882a593Smuzhiyun	bool "DaVinci 646x based system"
34*4882a593Smuzhiyun	select DAVINCI_AINTC
35*4882a593Smuzhiyun	select ARCH_DAVINCI_DMx
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig ARCH_DAVINCI_DA830
38*4882a593Smuzhiyun	bool "DA830/OMAP-L137/AM17x based system"
39*4882a593Smuzhiyun	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
40*4882a593Smuzhiyun	select ARCH_DAVINCI_DA8XX
41*4882a593Smuzhiyun	# needed on silicon revs 1.0, 1.1:
42*4882a593Smuzhiyun	select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
43*4882a593Smuzhiyun	select DAVINCI_CP_INTC
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunconfig ARCH_DAVINCI_DA850
46*4882a593Smuzhiyun	bool "DA850/OMAP-L138/AM18x based system"
47*4882a593Smuzhiyun	depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
48*4882a593Smuzhiyun	select ARCH_DAVINCI_DA8XX
49*4882a593Smuzhiyun	select DAVINCI_CP_INTC
50*4882a593Smuzhiyun
51*4882a593Smuzhiyunconfig ARCH_DAVINCI_DA8XX
52*4882a593Smuzhiyun	bool
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunconfig ARCH_DAVINCI_DM365
55*4882a593Smuzhiyun	bool "DaVinci 365 based system"
56*4882a593Smuzhiyun	select DAVINCI_AINTC
57*4882a593Smuzhiyun	select ARCH_DAVINCI_DMx
58*4882a593Smuzhiyun
59*4882a593Smuzhiyuncomment "DaVinci Board Type"
60*4882a593Smuzhiyun
61*4882a593Smuzhiyunconfig MACH_DA8XX_DT
62*4882a593Smuzhiyun	bool "Support DA8XX platforms using device tree"
63*4882a593Smuzhiyun	default y
64*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DA850
65*4882a593Smuzhiyun	select PINCTRL
66*4882a593Smuzhiyun	help
67*4882a593Smuzhiyun	  Say y here to include support for TI DaVinci DA850 based using
68*4882a593Smuzhiyun	  Flattened Device Tree. More information at Documentation/devicetree
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig MACH_DAVINCI_EVM
71*4882a593Smuzhiyun	bool "TI DM644x EVM"
72*4882a593Smuzhiyun	default ARCH_DAVINCI_DM644x
73*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM644x
74*4882a593Smuzhiyun	help
75*4882a593Smuzhiyun	  Configure this option to specify the whether the board used
76*4882a593Smuzhiyun	  for development is a DM644x EVM
77*4882a593Smuzhiyun
78*4882a593Smuzhiyunconfig MACH_SFFSDR
79*4882a593Smuzhiyun	bool "Lyrtech SFFSDR"
80*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM644x
81*4882a593Smuzhiyun	help
82*4882a593Smuzhiyun	  Say Y here to select the Lyrtech Small Form Factor
83*4882a593Smuzhiyun	  Software Defined Radio (SFFSDR) board.
84*4882a593Smuzhiyun
85*4882a593Smuzhiyunconfig MACH_NEUROS_OSD2
86*4882a593Smuzhiyun	bool "Neuros OSD2 Open Television Set Top Box"
87*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM644x
88*4882a593Smuzhiyun	help
89*4882a593Smuzhiyun	  Configure this option to specify the whether the board used
90*4882a593Smuzhiyun	  for development is a Neuros OSD2 Open Set Top Box.
91*4882a593Smuzhiyun
92*4882a593Smuzhiyunconfig MACH_DAVINCI_DM355_EVM
93*4882a593Smuzhiyun	bool "TI DM355 EVM"
94*4882a593Smuzhiyun	default ARCH_DAVINCI_DM355
95*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM355
96*4882a593Smuzhiyun	help
97*4882a593Smuzhiyun	  Configure this option to specify the whether the board used
98*4882a593Smuzhiyun	  for development is a DM355 EVM
99*4882a593Smuzhiyun
100*4882a593Smuzhiyunconfig MACH_DM355_LEOPARD
101*4882a593Smuzhiyun	bool "DM355 Leopard board"
102*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM355
103*4882a593Smuzhiyun	help
104*4882a593Smuzhiyun	  Configure this option to specify the whether the board used
105*4882a593Smuzhiyun	  for development is a DM355 Leopard board.
106*4882a593Smuzhiyun
107*4882a593Smuzhiyunconfig MACH_DAVINCI_DM6467_EVM
108*4882a593Smuzhiyun	bool "TI DM6467 EVM"
109*4882a593Smuzhiyun	default ARCH_DAVINCI_DM646x
110*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM646x
111*4882a593Smuzhiyun	select MACH_DAVINCI_DM6467TEVM
112*4882a593Smuzhiyun	help
113*4882a593Smuzhiyun	  Configure this option to specify the whether the board used
114*4882a593Smuzhiyun	  for development is a DM6467 EVM
115*4882a593Smuzhiyun
116*4882a593Smuzhiyunconfig MACH_DAVINCI_DM6467TEVM
117*4882a593Smuzhiyun	bool
118*4882a593Smuzhiyun
119*4882a593Smuzhiyunconfig MACH_DAVINCI_DM365_EVM
120*4882a593Smuzhiyun	bool "TI DM365 EVM"
121*4882a593Smuzhiyun	default ARCH_DAVINCI_DM365
122*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DM365
123*4882a593Smuzhiyun	help
124*4882a593Smuzhiyun	  Configure this option to specify whether the board used
125*4882a593Smuzhiyun	  for development is a DM365 EVM
126*4882a593Smuzhiyun
127*4882a593Smuzhiyunconfig MACH_DAVINCI_DA830_EVM
128*4882a593Smuzhiyun	bool "TI DA830/OMAP-L137/AM17x Reference Platform"
129*4882a593Smuzhiyun	default ARCH_DAVINCI_DA830
130*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DA830
131*4882a593Smuzhiyun	select GPIO_PCF857X if I2C
132*4882a593Smuzhiyun	help
133*4882a593Smuzhiyun	  Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyunchoice
136*4882a593Smuzhiyun	prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
137*4882a593Smuzhiyun	depends on MACH_DAVINCI_DA830_EVM
138*4882a593Smuzhiyun	help
139*4882a593Smuzhiyun	  The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
140*4882a593Smuzhiyun	  detected automatically based on successful probe of the I2C
141*4882a593Smuzhiyun	  based GPIO expander on that board. This option selected in this
142*4882a593Smuzhiyun	  menu has an effect only in case of a successful UI card detection.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyunconfig DA830_UI_LCD
145*4882a593Smuzhiyun	bool "LCD"
146*4882a593Smuzhiyun	help
147*4882a593Smuzhiyun	  Say Y here to use the LCD as a framebuffer or simple character
148*4882a593Smuzhiyun	  display.
149*4882a593Smuzhiyun
150*4882a593Smuzhiyunconfig DA830_UI_NAND
151*4882a593Smuzhiyun	bool "NAND flash"
152*4882a593Smuzhiyun	help
153*4882a593Smuzhiyun	  Say Y here to use the NAND flash. Do not forget to setup
154*4882a593Smuzhiyun	  the switch correctly.
155*4882a593Smuzhiyunendchoice
156*4882a593Smuzhiyun
157*4882a593Smuzhiyunconfig MACH_DAVINCI_DA850_EVM
158*4882a593Smuzhiyun	bool "TI DA850/OMAP-L138/AM18x Reference Platform"
159*4882a593Smuzhiyun	default ARCH_DAVINCI_DA850
160*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DA850
161*4882a593Smuzhiyun	help
162*4882a593Smuzhiyun	  Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
163*4882a593Smuzhiyun
164*4882a593Smuzhiyunchoice
165*4882a593Smuzhiyun	prompt "Select peripherals connected to expander on UI board"
166*4882a593Smuzhiyun	depends on MACH_DAVINCI_DA850_EVM
167*4882a593Smuzhiyun	help
168*4882a593Smuzhiyun	  The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
169*4882a593Smuzhiyun	  EVM is detected automatically based on successful probe of the I2C
170*4882a593Smuzhiyun	  based GPIO expander on that card. This option selected in this
171*4882a593Smuzhiyun	  menu has an effect only in case of a successful UI card detection.
172*4882a593Smuzhiyun
173*4882a593Smuzhiyunconfig DA850_UI_NONE
174*4882a593Smuzhiyun	bool "No peripheral is enabled"
175*4882a593Smuzhiyun	help
176*4882a593Smuzhiyun	  Say Y if you do not want to enable any of the peripherals connected
177*4882a593Smuzhiyun	  to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
178*4882a593Smuzhiyun
179*4882a593Smuzhiyunconfig DA850_UI_RMII
180*4882a593Smuzhiyun	bool "RMII Ethernet PHY"
181*4882a593Smuzhiyun	help
182*4882a593Smuzhiyun	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
183*4882a593Smuzhiyun	  EVM. This PHY is found on the UI daughter card that is supplied with
184*4882a593Smuzhiyun	  the EVM.
185*4882a593Smuzhiyun	  NOTE: Please take care while choosing this option, MII PHY will
186*4882a593Smuzhiyun	  not be functional if RMII mode is selected.
187*4882a593Smuzhiyun
188*4882a593Smuzhiyunconfig DA850_UI_SD_VIDEO_PORT
189*4882a593Smuzhiyun	bool "Video Port Interface"
190*4882a593Smuzhiyun	help
191*4882a593Smuzhiyun	  Say Y if you want to use Video Port Interface (VPIF) on the
192*4882a593Smuzhiyun	  DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
193*4882a593Smuzhiyun	  UI daughter card that is supplied with the EVM.
194*4882a593Smuzhiyun
195*4882a593Smuzhiyunendchoice
196*4882a593Smuzhiyun
197*4882a593Smuzhiyunconfig MACH_MITYOMAPL138
198*4882a593Smuzhiyun	bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
199*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DA850
200*4882a593Smuzhiyun	help
201*4882a593Smuzhiyun	  Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
202*4882a593Smuzhiyun	  System on Module.  Information on this SoM may be found at
203*4882a593Smuzhiyun	  https://www.mitydsp.com
204*4882a593Smuzhiyun
205*4882a593Smuzhiyunconfig MACH_OMAPL138_HAWKBOARD
206*4882a593Smuzhiyun	bool "TI AM1808 / OMAPL-138 Hawkboard platform"
207*4882a593Smuzhiyun	depends on ARCH_DAVINCI_DA850
208*4882a593Smuzhiyun	help
209*4882a593Smuzhiyun	  Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
210*4882a593Smuzhiyun
211*4882a593Smuzhiyunconfig DAVINCI_MUX
212*4882a593Smuzhiyun	bool "DAVINCI multiplexing support"
213*4882a593Smuzhiyun	depends on ARCH_DAVINCI
214*4882a593Smuzhiyun	default y
215*4882a593Smuzhiyun	help
216*4882a593Smuzhiyun	  Pin multiplexing support for DAVINCI boards. If your bootloader
217*4882a593Smuzhiyun	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
218*4882a593Smuzhiyun	  say Y.
219*4882a593Smuzhiyun
220*4882a593Smuzhiyunconfig DAVINCI_MUX_DEBUG
221*4882a593Smuzhiyun	bool "Multiplexing debug output"
222*4882a593Smuzhiyun	depends on DAVINCI_MUX
223*4882a593Smuzhiyun	help
224*4882a593Smuzhiyun	  Makes the multiplexing functions print out a lot of debug info.
225*4882a593Smuzhiyun	  This is useful if you want to find out the correct values of the
226*4882a593Smuzhiyun	  multiplexing registers.
227*4882a593Smuzhiyun
228*4882a593Smuzhiyunconfig DAVINCI_MUX_WARNINGS
229*4882a593Smuzhiyun	bool "Warn about pins the bootloader didn't set up"
230*4882a593Smuzhiyun	depends on DAVINCI_MUX
231*4882a593Smuzhiyun	help
232*4882a593Smuzhiyun	  Choose Y here to warn whenever driver initialization logic needs
233*4882a593Smuzhiyun	  to change the pin multiplexing setup. When there are no warnings
234*4882a593Smuzhiyun	  printed, it's safe to deselect DAVINCI_MUX for your product.
235*4882a593Smuzhiyun
236*4882a593Smuzhiyunendif
237