blob: 05c3eecf47cb8364ae6a25f2c53c37dc8803f2fa [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Kevin Hilman7c6337e2007-04-30 19:37:19 +01002if ARCH_DAVINCI
3
Mark A. Greer0b0c4c22009-04-15 12:41:40 -07004config AINTC
5 bool
6
Sergei Shtylyov05214442009-03-11 19:49:05 +04007config CP_INTC
8 bool
Russell Kingb1b3f492012-10-06 17:12:25 +01009 select IRQ_DOMAIN
Sergei Shtylyov05214442009-03-11 19:49:05 +040010
Mark A. Greer55c79a42009-06-03 18:36:54 -070011config ARCH_DAVINCI_DMx
12 bool
13
Kevin Hilman7c6337e2007-04-30 19:37:19 +010014menu "TI DaVinci Implementations"
15
16comment "DaVinci Core Type"
17
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050018config ARCH_DAVINCI_DM644x
Kevin Hilman7c6337e2007-04-30 19:37:19 +010019 bool "DaVinci 644x based system"
Mark A. Greer0b0c4c22009-04-15 12:41:40 -070020 select AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070021 select ARCH_DAVINCI_DMx
Kevin Hilman7c6337e2007-04-30 19:37:19 +010022
Kevin Hilman95a34772009-04-29 12:10:55 -070023config ARCH_DAVINCI_DM355
Sekhar Noria7884f42010-07-01 19:00:49 +053024 bool "DaVinci 355 based system"
Mark A. Greer0b0c4c22009-04-15 12:41:40 -070025 select AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070026 select ARCH_DAVINCI_DMx
Kevin Hilman95a34772009-04-29 12:10:55 -070027
Kevin Hilmane38d92f2009-04-29 17:44:58 -070028config ARCH_DAVINCI_DM646x
Sekhar Noria7884f42010-07-01 19:00:49 +053029 bool "DaVinci 646x based system"
Mark A. Greer0b0c4c22009-04-15 12:41:40 -070030 select AINTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070031 select ARCH_DAVINCI_DMx
32
33config ARCH_DAVINCI_DA830
Sekhar Nori48ea89e2010-07-01 19:00:50 +053034 bool "DA830/OMAP-L137/AM17x based system"
Arnd Bergmannce32c5c2016-02-01 21:35:57 +010035 depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
Mark A. Greer55c79a42009-06-03 18:36:54 -070036 select ARCH_DAVINCI_DA8XX
Arnd Bergmann1b50b0c2015-12-10 14:19:20 +010037 # needed on silicon revs 1.0, 1.1:
38 select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
Russell Kingb1b3f492012-10-06 17:12:25 +010039 select CP_INTC
Mark A. Greer55c79a42009-06-03 18:36:54 -070040
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040041config ARCH_DAVINCI_DA850
Sekhar Nori48ea89e2010-07-01 19:00:50 +053042 bool "DA850/OMAP-L138/AM18x based system"
Arnd Bergmannce32c5c2016-02-01 21:35:57 +010043 depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040044 select ARCH_DAVINCI_DA8XX
Russell Kingb1b3f492012-10-06 17:12:25 +010045 select CP_INTC
Sudhakar Rajashekharae1a8d7e2009-07-16 06:41:54 -040046
Mark A. Greer55c79a42009-06-03 18:36:54 -070047config ARCH_DAVINCI_DA8XX
48 bool
Kevin Hilmane38d92f2009-04-29 17:44:58 -070049
Sandeep Paulraja46e9e42009-06-09 16:28:44 -040050config ARCH_DAVINCI_DM365
51 bool "DaVinci 365 based system"
52 select AINTC
53 select ARCH_DAVINCI_DMx
54
Kevin Hilman7c6337e2007-04-30 19:37:19 +010055comment "DaVinci Board Type"
56
Sekhar Nori689e3312012-08-28 15:27:52 +053057config MACH_DA8XX_DT
58 bool "Support DA8XX platforms using device tree"
59 default y
Arnd Bergmann22c7b4a2016-02-01 21:35:55 +010060 depends on ARCH_DAVINCI_DA850
Kumar, Anil1faaba32013-01-16 14:37:39 +053061 select PINCTRL
Sekhar Nori689e3312012-08-28 15:27:52 +053062 help
63 Say y here to include support for TI DaVinci DA850 based using
64 Flattened Device Tree. More information at Documentation/devicetree
65
Kevin Hilman7c6337e2007-04-30 19:37:19 +010066config MACH_DAVINCI_EVM
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050067 bool "TI DM644x EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -070068 default ARCH_DAVINCI_DM644x
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050069 depends on ARCH_DAVINCI_DM644x
Kevin Hilman7c6337e2007-04-30 19:37:19 +010070 help
71 Configure this option to specify the whether the board used
Kevin Hilmand0e47fb2009-04-14 11:30:11 -050072 for development is a DM644x EVM
Kevin Hilman7c6337e2007-04-30 19:37:19 +010073
Hugo Villeneuvef5ce6a62009-04-29 16:46:57 -070074config MACH_SFFSDR
75 bool "Lyrtech SFFSDR"
Hugo Villeneuvef5ce6a62009-04-29 16:46:57 -070076 depends on ARCH_DAVINCI_DM644x
77 help
78 Say Y here to select the Lyrtech Small Form Factor
79 Software Defined Radio (SFFSDR) board.
Kevin Hilman5526b3f2009-04-14 09:50:37 -050080
Andrey Porodkoc16fe262009-11-13 19:16:51 +050081config MACH_NEUROS_OSD2
82 bool "Neuros OSD2 Open Television Set Top Box"
83 depends on ARCH_DAVINCI_DM644x
84 help
85 Configure this option to specify the whether the board used
86 for development is a Neuros OSD2 Open Set Top Box.
87
Kevin Hilman95a34772009-04-29 12:10:55 -070088config MACH_DAVINCI_DM355_EVM
89 bool "TI DM355 EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -070090 default ARCH_DAVINCI_DM355
Kevin Hilman95a34772009-04-29 12:10:55 -070091 depends on ARCH_DAVINCI_DM355
92 help
93 Configure this option to specify the whether the board used
94 for development is a DM355 EVM
95
96config MACH_DM355_LEOPARD
97 bool "DM355 Leopard board"
Kevin Hilman95a34772009-04-29 12:10:55 -070098 depends on ARCH_DAVINCI_DM355
99 help
100 Configure this option to specify the whether the board used
101 for development is a DM355 Leopard board.
102
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700103config MACH_DAVINCI_DM6467_EVM
104 bool "TI DM6467 EVM"
Kevin Hilmanf28f03b2009-06-03 14:54:27 -0700105 default ARCH_DAVINCI_DM646x
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700106 depends on ARCH_DAVINCI_DM646x
Russell Kingb1b3f492012-10-06 17:12:25 +0100107 select MACH_DAVINCI_DM6467TEVM
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700108 help
109 Configure this option to specify the whether the board used
110 for development is a DM6467 EVM
111
Sekhar Noric1978e12009-11-24 18:25:15 +0530112config MACH_DAVINCI_DM6467TEVM
113 bool
114
Sandeep Paulraja46e9e42009-06-09 16:28:44 -0400115config MACH_DAVINCI_DM365_EVM
116 bool "TI DM365 EVM"
117 default ARCH_DAVINCI_DM365
118 depends on ARCH_DAVINCI_DM365
119 help
120 Configure this option to specify whether the board used
121 for development is a DM365 EVM
122
Mark A. Greer85937902009-06-03 18:41:53 -0700123config MACH_DAVINCI_DA830_EVM
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530124 bool "TI DA830/OMAP-L137/AM17x Reference Platform"
Mark A. Greer85937902009-06-03 18:41:53 -0700125 default ARCH_DAVINCI_DA830
126 depends on ARCH_DAVINCI_DA830
Arnd Bergmann8e580412016-02-01 21:35:58 +0100127 select GPIO_PCF857X if I2C
Mark A. Greer85937902009-06-03 18:41:53 -0700128 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530129 Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
Kevin Hilmane38d92f2009-04-29 17:44:58 -0700130
Steve Chen13e1f042009-09-15 18:15:06 -0700131choice
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530132 prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
Sekhar Nori77316f02009-10-21 21:18:20 +0530133 depends on MACH_DAVINCI_DA830_EVM
134 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530135 The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
136 detected automatically based on successful probe of the I2C
137 based GPIO expander on that board. This option selected in this
138 menu has an effect only in case of a successful UI card detection.
Steve Chen13e1f042009-09-15 18:15:06 -0700139
140config DA830_UI_LCD
141 bool "LCD"
142 help
143 Say Y here to use the LCD as a framebuffer or simple character
144 display.
145
David A. Griego733975a2009-09-18 14:15:18 -0700146config DA830_UI_NAND
147 bool "NAND flash"
148 help
Sekhar Noria7884f42010-07-01 19:00:49 +0530149 Say Y here to use the NAND flash. Do not forget to setup
David A. Griego733975a2009-09-18 14:15:18 -0700150 the switch correctly.
Steve Chen13e1f042009-09-15 18:15:06 -0700151endchoice
152
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400153config MACH_DAVINCI_DA850_EVM
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530154 bool "TI DA850/OMAP-L138/AM18x Reference Platform"
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400155 default ARCH_DAVINCI_DA850
156 depends on ARCH_DAVINCI_DA850
157 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530158 Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
Sudhakar Rajashekhara0fbc5592009-07-16 06:42:18 -0400159
Chaithrika U S22067712009-09-30 17:00:53 -0400160choice
161 prompt "Select peripherals connected to expander on UI board"
Sekhar Nori797d7992009-10-21 21:18:23 +0530162 depends on MACH_DAVINCI_DA850_EVM
163 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530164 The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
Sekhar Nori797d7992009-10-21 21:18:23 +0530165 EVM is detected automatically based on successful probe of the I2C
166 based GPIO expander on that card. This option selected in this
167 menu has an effect only in case of a successful UI card detection.
Chaithrika U S22067712009-09-30 17:00:53 -0400168
169config DA850_UI_NONE
170 bool "No peripheral is enabled"
171 help
172 Say Y if you do not want to enable any of the peripherals connected
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530173 to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
Chaithrika U S22067712009-09-30 17:00:53 -0400174
175config DA850_UI_RMII
176 bool "RMII Ethernet PHY"
177 help
Sekhar Nori48ea89e2010-07-01 19:00:50 +0530178 Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
179 EVM. This PHY is found on the UI daughter card that is supplied with
Chaithrika U S22067712009-09-30 17:00:53 -0400180 the EVM.
181 NOTE: Please take care while choosing this option, MII PHY will
182 not be functional if RMII mode is selected.
183
Manjunath Hadli1e046d12012-07-23 08:00:58 -0300184config DA850_UI_SD_VIDEO_PORT
185 bool "Video Port Interface"
186 help
187 Say Y if you want to use Video Port Interface (VPIF) on the
188 DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
189 UI daughter card that is supplied with the EVM.
190
Chaithrika U S22067712009-09-30 17:00:53 -0400191endchoice
192
Michael Williamsonf2dbb6d2010-09-02 13:58:07 -0400193config MACH_MITYOMAPL138
194 bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
195 depends on ARCH_DAVINCI_DA850
196 help
197 Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
198 System on Module. Information on this SoM may be found at
199 http://www.mitydsp.com
200
Victor Rodriguez6c18c912010-09-23 11:28:40 -0500201config MACH_OMAPL138_HAWKBOARD
202 bool "TI AM1808 / OMAPL-138 Hawkboard platform"
203 depends on ARCH_DAVINCI_DA850
204 help
205 Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
206 Information of this board may be found at
207 http://www.hawkboard.org/
208
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500209config DAVINCI_MUX
210 bool "DAVINCI multiplexing support"
211 depends on ARCH_DAVINCI
212 default y
213 help
214 Pin multiplexing support for DAVINCI boards. If your bootloader
215 sets the multiplexing correctly, say N. Otherwise, or if unsure,
216 say Y.
217
218config DAVINCI_MUX_DEBUG
Sekhar Noria7884f42010-07-01 19:00:49 +0530219 bool "Multiplexing debug output"
220 depends on DAVINCI_MUX
221 help
222 Makes the multiplexing functions print out a lot of debug info.
223 This is useful if you want to find out the correct values of the
224 multiplexing registers.
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500225
226config DAVINCI_MUX_WARNINGS
Sekhar Noria7884f42010-07-01 19:00:49 +0530227 bool "Warn about pins the bootloader didn't set up"
228 depends on DAVINCI_MUX
229 help
230 Choose Y here to warn whenever driver initialization logic needs
231 to change the pin multiplexing setup. When there are no warnings
232 printed, it's safe to deselect DAVINCI_MUX for your product.
Kevin Hilman5526b3f2009-04-14 09:50:37 -0500233
Kevin Hilmanc5b736d2009-03-20 17:29:01 -0700234config DAVINCI_RESET_CLOCKS
235 bool "Reset unused clocks during boot"
236 depends on ARCH_DAVINCI
237 help
238 Say Y if you want to reset unused clocks during boot.
239 This option saves power, but assumes all drivers are
240 using the clock framework. Broken drivers that do not
241 yet use clock framework may not work with this option.
242 If you are booting from another operating system, you
243 probably do not want this option enabled until your
244 device drivers work properly.
245
Kevin Hilman7c6337e2007-04-30 19:37:19 +0100246endmenu
247
248endif