Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Bartosz Golaszewski | f962396 | 2019-07-25 15:12:56 +0200 | [diff] [blame] | 2 | |
| 3 | menuconfig ARCH_DAVINCI |
| 4 | bool "TI DaVinci" |
| 5 | depends on ARCH_MULTI_V5 |
| 6 | select DAVINCI_TIMER |
| 7 | select ZONE_DMA |
Bartosz Golaszewski | f962396 | 2019-07-25 15:12:56 +0200 | [diff] [blame] | 8 | select PM_GENERIC_DOMAINS if PM |
| 9 | select PM_GENERIC_DOMAINS_OF if PM && OF |
| 10 | select REGMAP_MMIO |
Arnd Bergmann | 7afec66 | 2019-12-10 20:51:44 +0100 | [diff] [blame] | 11 | select RESET_CONTROLLER |
Bartosz Golaszewski | f962396 | 2019-07-25 15:12:56 +0200 | [diff] [blame] | 12 | select HAVE_IDE |
| 13 | select PINCTRL_SINGLE |
| 14 | |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 15 | if ARCH_DAVINCI |
| 16 | |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 17 | config ARCH_DAVINCI_DMx |
| 18 | bool |
| 19 | |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 20 | comment "DaVinci Core Type" |
| 21 | |
Kevin Hilman | d0e47fb | 2009-04-14 11:30:11 -0500 | [diff] [blame] | 22 | config ARCH_DAVINCI_DM644x |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 23 | bool "DaVinci 644x based system" |
Bartosz Golaszewski | 0145bee | 2019-02-14 15:52:16 +0100 | [diff] [blame] | 24 | select DAVINCI_AINTC |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 25 | select ARCH_DAVINCI_DMx |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 26 | |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 27 | config ARCH_DAVINCI_DM355 |
Sekhar Nori | a7884f4 | 2010-07-01 19:00:49 +0530 | [diff] [blame] | 28 | bool "DaVinci 355 based system" |
Bartosz Golaszewski | 0145bee | 2019-02-14 15:52:16 +0100 | [diff] [blame] | 29 | select DAVINCI_AINTC |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 30 | select ARCH_DAVINCI_DMx |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 31 | |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 32 | config ARCH_DAVINCI_DM646x |
Sekhar Nori | a7884f4 | 2010-07-01 19:00:49 +0530 | [diff] [blame] | 33 | bool "DaVinci 646x based system" |
Bartosz Golaszewski | 0145bee | 2019-02-14 15:52:16 +0100 | [diff] [blame] | 34 | select DAVINCI_AINTC |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 35 | select ARCH_DAVINCI_DMx |
| 36 | |
| 37 | config ARCH_DAVINCI_DA830 |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 38 | bool "DA830/OMAP-L137/AM17x based system" |
Arnd Bergmann | ce32c5c | 2016-02-01 21:35:57 +0100 | [diff] [blame] | 39 | depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT) |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 40 | select ARCH_DAVINCI_DA8XX |
Arnd Bergmann | 1b50b0c | 2015-12-10 14:19:20 +0100 | [diff] [blame] | 41 | # needed on silicon revs 1.0, 1.1: |
| 42 | select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE |
Bartosz Golaszewski | 0fc3d74 | 2019-02-14 15:52:30 +0100 | [diff] [blame] | 43 | select DAVINCI_CP_INTC |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 44 | |
Sudhakar Rajashekhara | e1a8d7e | 2009-07-16 06:41:54 -0400 | [diff] [blame] | 45 | config ARCH_DAVINCI_DA850 |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 46 | bool "DA850/OMAP-L138/AM18x based system" |
Arnd Bergmann | ce32c5c | 2016-02-01 21:35:57 +0100 | [diff] [blame] | 47 | depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT) |
Sudhakar Rajashekhara | e1a8d7e | 2009-07-16 06:41:54 -0400 | [diff] [blame] | 48 | select ARCH_DAVINCI_DA8XX |
Bartosz Golaszewski | 0fc3d74 | 2019-02-14 15:52:30 +0100 | [diff] [blame] | 49 | select DAVINCI_CP_INTC |
Sudhakar Rajashekhara | e1a8d7e | 2009-07-16 06:41:54 -0400 | [diff] [blame] | 50 | |
Mark A. Greer | 55c79a4 | 2009-06-03 18:36:54 -0700 | [diff] [blame] | 51 | config ARCH_DAVINCI_DA8XX |
| 52 | bool |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 53 | |
Sandeep Paulraj | a46e9e4 | 2009-06-09 16:28:44 -0400 | [diff] [blame] | 54 | config ARCH_DAVINCI_DM365 |
| 55 | bool "DaVinci 365 based system" |
Bartosz Golaszewski | 0145bee | 2019-02-14 15:52:16 +0100 | [diff] [blame] | 56 | select DAVINCI_AINTC |
Sandeep Paulraj | a46e9e4 | 2009-06-09 16:28:44 -0400 | [diff] [blame] | 57 | select ARCH_DAVINCI_DMx |
| 58 | |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 59 | comment "DaVinci Board Type" |
| 60 | |
Sekhar Nori | 689e331 | 2012-08-28 15:27:52 +0530 | [diff] [blame] | 61 | config MACH_DA8XX_DT |
| 62 | bool "Support DA8XX platforms using device tree" |
| 63 | default y |
Arnd Bergmann | 22c7b4a | 2016-02-01 21:35:55 +0100 | [diff] [blame] | 64 | depends on ARCH_DAVINCI_DA850 |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 65 | select PINCTRL |
Sekhar Nori | 689e331 | 2012-08-28 15:27:52 +0530 | [diff] [blame] | 66 | 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 Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 70 | config MACH_DAVINCI_EVM |
Kevin Hilman | d0e47fb | 2009-04-14 11:30:11 -0500 | [diff] [blame] | 71 | bool "TI DM644x EVM" |
Kevin Hilman | f28f03b | 2009-06-03 14:54:27 -0700 | [diff] [blame] | 72 | default ARCH_DAVINCI_DM644x |
Kevin Hilman | d0e47fb | 2009-04-14 11:30:11 -0500 | [diff] [blame] | 73 | depends on ARCH_DAVINCI_DM644x |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 74 | help |
| 75 | Configure this option to specify the whether the board used |
Kevin Hilman | d0e47fb | 2009-04-14 11:30:11 -0500 | [diff] [blame] | 76 | for development is a DM644x EVM |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 77 | |
Hugo Villeneuve | f5ce6a6 | 2009-04-29 16:46:57 -0700 | [diff] [blame] | 78 | config MACH_SFFSDR |
| 79 | bool "Lyrtech SFFSDR" |
Hugo Villeneuve | f5ce6a6 | 2009-04-29 16:46:57 -0700 | [diff] [blame] | 80 | 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 Hilman | 5526b3f | 2009-04-14 09:50:37 -0500 | [diff] [blame] | 84 | |
Andrey Porodko | c16fe26 | 2009-11-13 19:16:51 +0500 | [diff] [blame] | 85 | config 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 Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 92 | config MACH_DAVINCI_DM355_EVM |
| 93 | bool "TI DM355 EVM" |
Kevin Hilman | f28f03b | 2009-06-03 14:54:27 -0700 | [diff] [blame] | 94 | default ARCH_DAVINCI_DM355 |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 95 | 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 | |
| 100 | config MACH_DM355_LEOPARD |
| 101 | bool "DM355 Leopard board" |
Kevin Hilman | 95a3477 | 2009-04-29 12:10:55 -0700 | [diff] [blame] | 102 | 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 Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 107 | config MACH_DAVINCI_DM6467_EVM |
| 108 | bool "TI DM6467 EVM" |
Kevin Hilman | f28f03b | 2009-06-03 14:54:27 -0700 | [diff] [blame] | 109 | default ARCH_DAVINCI_DM646x |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 110 | depends on ARCH_DAVINCI_DM646x |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 111 | select MACH_DAVINCI_DM6467TEVM |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 112 | help |
| 113 | Configure this option to specify the whether the board used |
| 114 | for development is a DM6467 EVM |
| 115 | |
Sekhar Nori | c1978e1 | 2009-11-24 18:25:15 +0530 | [diff] [blame] | 116 | config MACH_DAVINCI_DM6467TEVM |
| 117 | bool |
| 118 | |
Sandeep Paulraj | a46e9e4 | 2009-06-09 16:28:44 -0400 | [diff] [blame] | 119 | config 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. Greer | 8593790 | 2009-06-03 18:41:53 -0700 | [diff] [blame] | 127 | config MACH_DAVINCI_DA830_EVM |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 128 | bool "TI DA830/OMAP-L137/AM17x Reference Platform" |
Mark A. Greer | 8593790 | 2009-06-03 18:41:53 -0700 | [diff] [blame] | 129 | default ARCH_DAVINCI_DA830 |
| 130 | depends on ARCH_DAVINCI_DA830 |
Arnd Bergmann | 8e58041 | 2016-02-01 21:35:58 +0100 | [diff] [blame] | 131 | select GPIO_PCF857X if I2C |
Mark A. Greer | 8593790 | 2009-06-03 18:41:53 -0700 | [diff] [blame] | 132 | help |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 133 | Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module. |
Kevin Hilman | e38d92f | 2009-04-29 17:44:58 -0700 | [diff] [blame] | 134 | |
Steve Chen | 13e1f04 | 2009-09-15 18:15:06 -0700 | [diff] [blame] | 135 | choice |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 136 | prompt "Select DA830/OMAP-L137/AM17x UI board peripheral" |
Sekhar Nori | 77316f0 | 2009-10-21 21:18:20 +0530 | [diff] [blame] | 137 | depends on MACH_DAVINCI_DA830_EVM |
| 138 | help |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 139 | 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 Chen | 13e1f04 | 2009-09-15 18:15:06 -0700 | [diff] [blame] | 143 | |
| 144 | config 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. Griego | 733975a | 2009-09-18 14:15:18 -0700 | [diff] [blame] | 150 | config DA830_UI_NAND |
| 151 | bool "NAND flash" |
| 152 | help |
Sekhar Nori | a7884f4 | 2010-07-01 19:00:49 +0530 | [diff] [blame] | 153 | Say Y here to use the NAND flash. Do not forget to setup |
David A. Griego | 733975a | 2009-09-18 14:15:18 -0700 | [diff] [blame] | 154 | the switch correctly. |
Steve Chen | 13e1f04 | 2009-09-15 18:15:06 -0700 | [diff] [blame] | 155 | endchoice |
| 156 | |
Sudhakar Rajashekhara | 0fbc559 | 2009-07-16 06:42:18 -0400 | [diff] [blame] | 157 | config MACH_DAVINCI_DA850_EVM |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 158 | bool "TI DA850/OMAP-L138/AM18x Reference Platform" |
Sudhakar Rajashekhara | 0fbc559 | 2009-07-16 06:42:18 -0400 | [diff] [blame] | 159 | default ARCH_DAVINCI_DA850 |
| 160 | depends on ARCH_DAVINCI_DA850 |
| 161 | help |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 162 | Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module. |
Sudhakar Rajashekhara | 0fbc559 | 2009-07-16 06:42:18 -0400 | [diff] [blame] | 163 | |
Chaithrika U S | 2206771 | 2009-09-30 17:00:53 -0400 | [diff] [blame] | 164 | choice |
| 165 | prompt "Select peripherals connected to expander on UI board" |
Sekhar Nori | 797d799 | 2009-10-21 21:18:23 +0530 | [diff] [blame] | 166 | depends on MACH_DAVINCI_DA850_EVM |
| 167 | help |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 168 | The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x |
Sekhar Nori | 797d799 | 2009-10-21 21:18:23 +0530 | [diff] [blame] | 169 | 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 S | 2206771 | 2009-09-30 17:00:53 -0400 | [diff] [blame] | 172 | |
| 173 | config 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 Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 177 | to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card |
Chaithrika U S | 2206771 | 2009-09-30 17:00:53 -0400 | [diff] [blame] | 178 | |
| 179 | config DA850_UI_RMII |
| 180 | bool "RMII Ethernet PHY" |
| 181 | help |
Sekhar Nori | 48ea89e | 2010-07-01 19:00:50 +0530 | [diff] [blame] | 182 | 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 S | 2206771 | 2009-09-30 17:00:53 -0400 | [diff] [blame] | 184 | 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 Hadli | 1e046d1 | 2012-07-23 08:00:58 -0300 | [diff] [blame] | 188 | config 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 S | 2206771 | 2009-09-30 17:00:53 -0400 | [diff] [blame] | 195 | endchoice |
| 196 | |
Michael Williamson | f2dbb6d | 2010-09-02 13:58:07 -0400 | [diff] [blame] | 197 | config 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. Klimov | fb01eb3 | 2020-07-19 12:20:20 +0200 | [diff] [blame] | 203 | https://www.mitydsp.com |
Michael Williamson | f2dbb6d | 2010-09-02 13:58:07 -0400 | [diff] [blame] | 204 | |
Victor Rodriguez | 6c18c91 | 2010-09-23 11:28:40 -0500 | [diff] [blame] | 205 | config 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 Rodriguez | 6c18c91 | 2010-09-23 11:28:40 -0500 | [diff] [blame] | 210 | |
Kevin Hilman | 5526b3f | 2009-04-14 09:50:37 -0500 | [diff] [blame] | 211 | config 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 | |
| 220 | config DAVINCI_MUX_DEBUG |
Sekhar Nori | a7884f4 | 2010-07-01 19:00:49 +0530 | [diff] [blame] | 221 | 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 Hilman | 5526b3f | 2009-04-14 09:50:37 -0500 | [diff] [blame] | 227 | |
| 228 | config DAVINCI_MUX_WARNINGS |
Sekhar Nori | a7884f4 | 2010-07-01 19:00:49 +0530 | [diff] [blame] | 229 | 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 Hilman | 5526b3f | 2009-04-14 09:50:37 -0500 | [diff] [blame] | 235 | |
Kevin Hilman | 7c6337e | 2007-04-30 19:37:19 +0100 | [diff] [blame] | 236 | endif |