blob: de11030748d0bc92431c36cb1f5986decf685cfd [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Bartosz Golaszewskif9623962019-07-25 15:12:56 +02002
3menuconfig ARCH_DAVINCI
4 bool "TI DaVinci"
5 depends on ARCH_MULTI_V5
6 select DAVINCI_TIMER
7 select ZONE_DMA
Bartosz Golaszewskif9623962019-07-25 15:12:56 +02008 select PM_GENERIC_DOMAINS if PM
9 select PM_GENERIC_DOMAINS_OF if PM && OF
10 select REGMAP_MMIO
Arnd Bergmann7afec662019-12-10 20:51:44 +010011 select RESET_CONTROLLER
Bartosz Golaszewskif9623962019-07-25 15:12:56 +020012 select HAVE_IDE
13 select PINCTRL_SINGLE
14
Kevin Hilman7c6337e2007-04-30 19:37:19 +010015if ARCH_DAVINCI
16
Mark A. Greer55c79a42009-06-03 18:36:54 -070017config ARCH_DAVINCI_DMx
18 bool
19
Kevin Hilman7c6337e2007-04-30 19:37:19 +010020comment "DaVinci Core Type"
21
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050022config ARCH_DAVINCI_DM644x
Kevin Hilman7c6337e2007-04-30 19:37:19 +010023 bool "DaVinci 644x based system"
Bartosz Golaszewski0145bee2019-02-14 15:52:16 +010024 select DAVINCI_AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070025 select ARCH_DAVINCI_DMx
Kevin Hilman7c6337e2007-04-30 19:37:19 +010026
Kevin Hilman95a34772009-04-29 12:10:55 -070027config ARCH_DAVINCI_DM355
Sekhar Noria7884f42010-07-01 19:00:49 +053028 bool "DaVinci 355 based system"
Bartosz Golaszewski0145bee2019-02-14 15:52:16 +010029 select DAVINCI_AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070030 select ARCH_DAVINCI_DMx
Kevin Hilman95a34772009-04-29 12:10:55 -070031
Kevin Hilmane38d92f2009-04-29 17:44:58 -070032config ARCH_DAVINCI_DM646x
Sekhar Noria7884f42010-07-01 19:00:49 +053033 bool "DaVinci 646x based system"
Bartosz Golaszewski0145bee2019-02-14 15:52:16 +010034 select DAVINCI_AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070035 select ARCH_DAVINCI_DMx
36
37config ARCH_DAVINCI_DA830
Sekhar Nori48ea89e2010-07-01 19:00:50 +053038 bool "DA830/OMAP-L137/AM17x based system"
Arnd Bergmannce32c5c2016-02-01 21:35:57 +010039 depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
Mark A. Greer55c79a42009-06-03 18:36:54 -070040 select ARCH_DAVINCI_DA8XX
Arnd Bergmann1b50b0c2015-12-10 14:19:20 +010041 # needed on silicon revs 1.0, 1.1:
42 select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
Bartosz Golaszewski0fc3d742019-02-14 15:52:30 +010043 select DAVINCI_CP_INTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070044
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040045config ARCH_DAVINCI_DA850
Sekhar Nori48ea89e2010-07-01 19:00:50 +053046 bool "DA850/OMAP-L138/AM18x based system"
Arnd Bergmannce32c5c2016-02-01 21:35:57 +010047 depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040048 select ARCH_DAVINCI_DA8XX
Bartosz Golaszewski0fc3d742019-02-14 15:52:30 +010049 select DAVINCI_CP_INTC
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040050
Mark A. Greer55c79a42009-06-03 18:36:54 -070051config ARCH_DAVINCI_DA8XX
52 bool
Kevin Hilmane38d92f2009-04-29 17:44:58 -070053
Sandeep Paulraja46e9e42009-06-09 16:28:44 -040054config ARCH_DAVINCI_DM365
55 bool "DaVinci 365 based system"
Bartosz Golaszewski0145bee2019-02-14 15:52:16 +010056 select DAVINCI_AINTC
Sandeep Paulraja46e9e42009-06-09 16:28:44 -040057 select ARCH_DAVINCI_DMx
58
Kevin Hilman7c6337e2007-04-30 19:37:19 +010059comment "DaVinci Board Type"
60
Sekhar Nori689e3312012-08-28 15:27:52 +053061config MACH_DA8XX_DT
62 bool "Support DA8XX platforms using device tree"
63 default y
Arnd Bergmann22c7b4a2016-02-01 21:35:55 +010064 depends on ARCH_DAVINCI_DA850
Kumar, Anil1faaba32013-01-16 14:37:39 +053065 select PINCTRL
Sekhar Nori689e3312012-08-28 15:27:52 +053066 help
67 Say y here to include support for TI DaVinci DA850 based using
68 Flattened Device Tree. More information at Documentation/devicetree
69
Kevin Hilman7c6337e2007-04-30 19:37:19 +010070config MACH_DAVINCI_EVM
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050071 bool "TI DM644x EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -070072 default ARCH_DAVINCI_DM644x
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050073 depends on ARCH_DAVINCI_DM644x
Kevin Hilman7c6337e2007-04-30 19:37:19 +010074 help
75 Configure this option to specify the whether the board used
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050076 for development is a DM644x EVM
Kevin Hilman7c6337e2007-04-30 19:37:19 +010077
Hugo Villeneuvef5ce6a62009-04-29 16:46:57 -070078config MACH_SFFSDR
79 bool "Lyrtech SFFSDR"
Hugo Villeneuvef5ce6a62009-04-29 16:46:57 -070080 depends on ARCH_DAVINCI_DM644x
81 help
82 Say Y here to select the Lyrtech Small Form Factor
83 Software Defined Radio (SFFSDR) board.
Kevin Hilman5526b3f2009-04-14 09:50:37 -050084
Andrey Porodkoc16fe262009-11-13 19:16:51 +050085config MACH_NEUROS_OSD2
86 bool "Neuros OSD2 Open Television Set Top Box"
87 depends on ARCH_DAVINCI_DM644x
88 help
89 Configure this option to specify the whether the board used
90 for development is a Neuros OSD2 Open Set Top Box.
91
Kevin Hilman95a34772009-04-29 12:10:55 -070092config MACH_DAVINCI_DM355_EVM
93 bool "TI DM355 EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -070094 default ARCH_DAVINCI_DM355
Kevin Hilman95a34772009-04-29 12:10:55 -070095 depends on ARCH_DAVINCI_DM355
96 help
97 Configure this option to specify the whether the board used
98 for development is a DM355 EVM
99
100config MACH_DM355_LEOPARD
101 bool "DM355 Leopard board"
Kevin Hilman95a34772009-04-29 12:10:55 -0700102 depends on ARCH_DAVINCI_DM355
103 help
104 Configure this option to specify the whether the board used
105 for development is a DM355 Leopard board.
106
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700107config MACH_DAVINCI_DM6467_EVM
108 bool "TI DM6467 EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -0700109 default ARCH_DAVINCI_DM646x
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700110 depends on ARCH_DAVINCI_DM646x
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select MACH_DAVINCI_DM6467TEVM
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700112 help
113 Configure this option to specify the whether the board used
114 for development is a DM6467 EVM
115
Sekhar Noric1978e12009-11-24 18:25:15 +0530116config MACH_DAVINCI_DM6467TEVM
117 bool
118
Sandeep Paulraja46e9e42009-06-09 16:28:44 -0400119config MACH_DAVINCI_DM365_EVM
120 bool "TI DM365 EVM"
121 default ARCH_DAVINCI_DM365
122 depends on ARCH_DAVINCI_DM365
123 help
124 Configure this option to specify whether the board used
125 for development is a DM365 EVM
126
Mark A. Greer85937902009-06-03 18:41:53 -0700127config MACH_DAVINCI_DA830_EVM
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530128 bool "TI DA830/OMAP-L137/AM17x Reference Platform"
Mark A. Greer85937902009-06-03 18:41:53 -0700129 default ARCH_DAVINCI_DA830
130 depends on ARCH_DAVINCI_DA830
Arnd Bergmann8e580412016-02-01 21:35:58 +0100131 select GPIO_PCF857X if I2C
Mark A. Greer85937902009-06-03 18:41:53 -0700132 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530133 Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700134
Steve Chen13e1f042009-09-15 18:15:06 -0700135choice
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530136 prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
Sekhar Nori77316f02009-10-21 21:18:20 +0530137 depends on MACH_DAVINCI_DA830_EVM
138 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530139 The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
140 detected automatically based on successful probe of the I2C
141 based GPIO expander on that board. This option selected in this
142 menu has an effect only in case of a successful UI card detection.
Steve Chen13e1f042009-09-15 18:15:06 -0700143
144config DA830_UI_LCD
145 bool "LCD"
146 help
147 Say Y here to use the LCD as a framebuffer or simple character
148 display.
149
David A. Griego733975a2009-09-18 14:15:18 -0700150config DA830_UI_NAND
151 bool "NAND flash"
152 help
Sekhar Noria7884f42010-07-01 19:00:49 +0530153 Say Y here to use the NAND flash. Do not forget to setup
David A. Griego733975a2009-09-18 14:15:18 -0700154 the switch correctly.
Steve Chen13e1f042009-09-15 18:15:06 -0700155endchoice
156
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400157config MACH_DAVINCI_DA850_EVM
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530158 bool "TI DA850/OMAP-L138/AM18x Reference Platform"
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400159 default ARCH_DAVINCI_DA850
160 depends on ARCH_DAVINCI_DA850
161 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530162 Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400163
Chaithrika U S22067712009-09-30 17:00:53 -0400164choice
165 prompt "Select peripherals connected to expander on UI board"
Sekhar Nori797d7992009-10-21 21:18:23 +0530166 depends on MACH_DAVINCI_DA850_EVM
167 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530168 The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
Sekhar Nori797d7992009-10-21 21:18:23 +0530169 EVM is detected automatically based on successful probe of the I2C
170 based GPIO expander on that card. This option selected in this
171 menu has an effect only in case of a successful UI card detection.
Chaithrika U S22067712009-09-30 17:00:53 -0400172
173config DA850_UI_NONE
174 bool "No peripheral is enabled"
175 help
176 Say Y if you do not want to enable any of the peripherals connected
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530177 to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
Chaithrika U S22067712009-09-30 17:00:53 -0400178
179config DA850_UI_RMII
180 bool "RMII Ethernet PHY"
181 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530182 Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
183 EVM. This PHY is found on the UI daughter card that is supplied with
Chaithrika U S22067712009-09-30 17:00:53 -0400184 the EVM.
185 NOTE: Please take care while choosing this option, MII PHY will
186 not be functional if RMII mode is selected.
187
Manjunath Hadli1e046d12012-07-23 08:00:58 -0300188config DA850_UI_SD_VIDEO_PORT
189 bool "Video Port Interface"
190 help
191 Say Y if you want to use Video Port Interface (VPIF) on the
192 DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
193 UI daughter card that is supplied with the EVM.
194
Chaithrika U S22067712009-09-30 17:00:53 -0400195endchoice
196
Michael Williamsonf2dbb6d2010-09-02 13:58:07 -0400197config MACH_MITYOMAPL138
198 bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
199 depends on ARCH_DAVINCI_DA850
200 help
201 Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
202 System on Module. Information on this SoM may be found at
Alexander A. Klimovfb01eb32020-07-19 12:20:20 +0200203 https://www.mitydsp.com
Michael Williamsonf2dbb6d2010-09-02 13:58:07 -0400204
Victor Rodriguez6c18c912010-09-23 11:28:40 -0500205config MACH_OMAPL138_HAWKBOARD
206 bool "TI AM1808 / OMAPL-138 Hawkboard platform"
207 depends on ARCH_DAVINCI_DA850
208 help
209 Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
Victor Rodriguez6c18c912010-09-23 11:28:40 -0500210
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500211config DAVINCI_MUX
212 bool "DAVINCI multiplexing support"
213 depends on ARCH_DAVINCI
214 default y
215 help
216 Pin multiplexing support for DAVINCI boards. If your bootloader
217 sets the multiplexing correctly, say N. Otherwise, or if unsure,
218 say Y.
219
220config DAVINCI_MUX_DEBUG
Sekhar Noria7884f42010-07-01 19:00:49 +0530221 bool "Multiplexing debug output"
222 depends on DAVINCI_MUX
223 help
224 Makes the multiplexing functions print out a lot of debug info.
225 This is useful if you want to find out the correct values of the
226 multiplexing registers.
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500227
228config DAVINCI_MUX_WARNINGS
Sekhar Noria7884f42010-07-01 19:00:49 +0530229 bool "Warn about pins the bootloader didn't set up"
230 depends on DAVINCI_MUX
231 help
232 Choose Y here to warn whenever driver initialization logic needs
233 to change the pin multiplexing setup. When there are no warnings
234 printed, it's safe to deselect DAVINCI_MUX for your product.
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500235
Kevin Hilman7c6337e2007-04-30 19:37:19 +0100236endif