Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 
0003 menuconfig ARCH_DAVINCI
0004         bool "TI DaVinci"
0005         depends on ARCH_MULTI_V5
0006         depends on CPU_LITTLE_ENDIAN
0007         select DAVINCI_TIMER
0008         select ZONE_DMA
0009         select PM_GENERIC_DOMAINS if PM
0010         select PM_GENERIC_DOMAINS_OF if PM && OF
0011         select REGMAP_MMIO
0012         select RESET_CONTROLLER
0013         select PINCTRL_SINGLE
0014 
0015 if ARCH_DAVINCI
0016 
0017 config ARCH_DAVINCI_DMx
0018         bool
0019 
0020 comment "DaVinci Core Type"
0021 
0022 config ARCH_DAVINCI_DM355
0023         bool "DaVinci 355 based system"
0024         depends on ATAGS && UNUSED_BOARD_FILES
0025         select DAVINCI_AINTC
0026         select ARCH_DAVINCI_DMx
0027 
0028 config ARCH_DAVINCI_DA830
0029         bool "DA830/OMAP-L137/AM17x based system"
0030         depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
0031         depends on ATAGS
0032         select ARCH_DAVINCI_DA8XX
0033         # needed on silicon revs 1.0, 1.1:
0034         select CPU_DCACHE_WRITETHROUGH if !CPU_DCACHE_DISABLE
0035         select DAVINCI_CP_INTC
0036 
0037 config ARCH_DAVINCI_DA850
0038         bool "DA850/OMAP-L138/AM18x based system"
0039         depends on !ARCH_DAVINCI_DMx || (AUTO_ZRELADDR && ARM_PATCH_PHYS_VIRT)
0040         depends on ATAGS
0041         select ARCH_DAVINCI_DA8XX
0042         select DAVINCI_CP_INTC
0043 
0044 config ARCH_DAVINCI_DA8XX
0045         bool
0046 
0047 config ARCH_DAVINCI_DM365
0048         bool "DaVinci 365 based system"
0049         depends on ATAGS && UNUSED_BOARD_FILES
0050         select DAVINCI_AINTC
0051         select ARCH_DAVINCI_DMx
0052 
0053 comment "DaVinci Board Type"
0054 
0055 config MACH_DA8XX_DT
0056         bool "Support DA8XX platforms using device tree"
0057         default y
0058         depends on ARCH_DAVINCI_DA850
0059         select PINCTRL
0060         help
0061           Say y here to include support for TI DaVinci DA850 based using
0062           Flattened Device Tree. More information at Documentation/devicetree
0063 
0064 config MACH_DAVINCI_DM355_EVM
0065         bool "TI DM355 EVM"
0066         default ARCH_DAVINCI_DM355
0067         depends on ARCH_DAVINCI_DM355
0068         help
0069           Configure this option to specify the whether the board used
0070           for development is a DM355 EVM
0071 
0072 config MACH_DM355_LEOPARD
0073         bool "DM355 Leopard board"
0074         depends on ARCH_DAVINCI_DM355
0075         help
0076           Configure this option to specify the whether the board used
0077           for development is a DM355 Leopard board.
0078 
0079 config MACH_DAVINCI_DM365_EVM
0080         bool "TI DM365 EVM"
0081         default ARCH_DAVINCI_DM365
0082         depends on ARCH_DAVINCI_DM365
0083         help
0084           Configure this option to specify whether the board used
0085           for development is a DM365 EVM
0086 
0087 config MACH_DAVINCI_DA830_EVM
0088         bool "TI DA830/OMAP-L137/AM17x Reference Platform"
0089         default ARCH_DAVINCI_DA830
0090         depends on ATAGS && UNUSED_BOARD_FILES
0091         depends on ARCH_DAVINCI_DA830
0092         select GPIO_PCF857X if I2C
0093         help
0094           Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
0095 
0096 choice
0097         prompt "Select DA830/OMAP-L137/AM17x UI board peripheral"
0098         depends on MACH_DAVINCI_DA830_EVM
0099         help
0100           The presence of UI card on the DA830/OMAP-L137/AM17x EVM is
0101           detected automatically based on successful probe of the I2C
0102           based GPIO expander on that board. This option selected in this
0103           menu has an effect only in case of a successful UI card detection.
0104 
0105 config DA830_UI_LCD
0106         bool "LCD"
0107         help
0108           Say Y here to use the LCD as a framebuffer or simple character
0109           display.
0110 
0111 config DA830_UI_NAND
0112         bool "NAND flash"
0113         help
0114           Say Y here to use the NAND flash. Do not forget to setup
0115           the switch correctly.
0116 endchoice
0117 
0118 config MACH_DAVINCI_DA850_EVM
0119         bool "TI DA850/OMAP-L138/AM18x Reference Platform"
0120         depends on ATAGS && UNUSED_BOARD_FILES
0121         default ARCH_DAVINCI_DA850
0122         depends on ARCH_DAVINCI_DA850
0123         help
0124           Say Y here to select the TI DA850/OMAP-L138/AM18x Evaluation Module.
0125 
0126 choice
0127         prompt "Select peripherals connected to expander on UI board"
0128         depends on MACH_DAVINCI_DA850_EVM
0129         help
0130           The presence of User Interface (UI) card on the DA850/OMAP-L138/AM18x
0131           EVM is detected automatically based on successful probe of the I2C
0132           based GPIO expander on that card. This option selected in this
0133           menu has an effect only in case of a successful UI card detection.
0134 
0135 config DA850_UI_NONE
0136         bool "No peripheral is enabled"
0137         help
0138           Say Y if you do not want to enable any of the peripherals connected
0139           to TCA6416 expander on DA850/OMAP-L138/AM18x EVM UI card
0140 
0141 config DA850_UI_RMII
0142         bool "RMII Ethernet PHY"
0143         help
0144           Say Y if you want to use the RMII PHY on the DA850/OMAP-L138/AM18x
0145           EVM. This PHY is found on the UI daughter card that is supplied with
0146           the EVM.
0147           NOTE: Please take care while choosing this option, MII PHY will
0148           not be functional if RMII mode is selected.
0149 
0150 config DA850_UI_SD_VIDEO_PORT
0151         bool "Video Port Interface"
0152         help
0153           Say Y if you want to use Video Port Interface (VPIF) on the
0154           DA850/OMAP-L138 EVM. The Video decoders/encoders are found on the
0155           UI daughter card that is supplied with the EVM.
0156 
0157 endchoice
0158 
0159 config MACH_MITYOMAPL138
0160         bool "Critical Link MityDSP-L138/MityARM-1808 SoM"
0161         depends on ARCH_DAVINCI_DA850
0162         depends on ATAGS && UNUSED_BOARD_FILES
0163         help
0164           Say Y here to select the Critical Link MityDSP-L138/MityARM-1808
0165           System on Module.  Information on this SoM may be found at
0166           https://www.mitydsp.com
0167 
0168 config MACH_OMAPL138_HAWKBOARD
0169         bool "TI AM1808 / OMAPL-138 Hawkboard platform"
0170         depends on ARCH_DAVINCI_DA850
0171         depends on ATAGS && UNUSED_BOARD_FILES
0172         help
0173           Say Y here to select the TI AM1808 / OMAPL-138 Hawkboard platform .
0174 
0175 config DAVINCI_MUX
0176         bool "DAVINCI multiplexing support"
0177         depends on ARCH_DAVINCI
0178         default y
0179         help
0180           Pin multiplexing support for DAVINCI boards. If your bootloader
0181           sets the multiplexing correctly, say N. Otherwise, or if unsure,
0182           say Y.
0183 
0184 config DAVINCI_MUX_DEBUG
0185         bool "Multiplexing debug output"
0186         depends on DAVINCI_MUX
0187         help
0188           Makes the multiplexing functions print out a lot of debug info.
0189           This is useful if you want to find out the correct values of the
0190           multiplexing registers.
0191 
0192 config DAVINCI_MUX_WARNINGS
0193         bool "Warn about pins the bootloader didn't set up"
0194         depends on DAVINCI_MUX
0195         help
0196           Choose Y here to warn whenever driver initialization logic needs
0197           to change the pin multiplexing setup. When there are no warnings
0198           printed, it's safe to deselect DAVINCI_MUX for your product.
0199 
0200 endif