xref: /openbmc/linux/arch/arm/mach-davinci/Kconfig (revision 7dd65feb)
1if ARCH_DAVINCI
2
3config AINTC
4	bool
5
6config CP_INTC
7	bool
8
9config ARCH_DAVINCI_DMx
10	bool
11
12menu "TI DaVinci Implementations"
13
14comment "DaVinci Core Type"
15
16config ARCH_DAVINCI_DM644x
17	bool "DaVinci 644x based system"
18	select AINTC
19	select ARCH_DAVINCI_DMx
20
21config ARCH_DAVINCI_DM355
22        bool "DaVinci 355 based system"
23	select AINTC
24	select ARCH_DAVINCI_DMx
25
26config ARCH_DAVINCI_DM646x
27        bool "DaVinci 646x based system"
28	select AINTC
29	select ARCH_DAVINCI_DMx
30
31config ARCH_DAVINCI_DA830
32        bool "DA830/OMAP-L137 based system"
33	select CP_INTC
34	select ARCH_DAVINCI_DA8XX
35	select CPU_DCACHE_WRITETHROUGH # needed on silicon revs 1.0, 1.1
36
37config ARCH_DAVINCI_DA850
38	bool "DA850/OMAP-L138 based system"
39	select CP_INTC
40	select ARCH_DAVINCI_DA8XX
41	select ARCH_HAS_CPUFREQ
42
43config ARCH_DAVINCI_DA8XX
44	bool
45
46config ARCH_DAVINCI_DM365
47	bool "DaVinci 365 based system"
48	select AINTC
49	select ARCH_DAVINCI_DMx
50
51comment "DaVinci Board Type"
52
53config MACH_DAVINCI_EVM
54	bool "TI DM644x EVM"
55	default ARCH_DAVINCI_DM644x
56	depends on ARCH_DAVINCI_DM644x
57	help
58	  Configure this option to specify the whether the board used
59	  for development is a DM644x EVM
60
61config MACH_SFFSDR
62	bool "Lyrtech SFFSDR"
63	depends on ARCH_DAVINCI_DM644x
64	help
65	  Say Y here to select the Lyrtech Small Form Factor
66	  Software Defined Radio (SFFSDR) board.
67
68config MACH_NEUROS_OSD2
69	bool "Neuros OSD2 Open Television Set Top Box"
70	depends on ARCH_DAVINCI_DM644x
71	help
72	  Configure this option to specify the whether the board used
73	  for development is a Neuros OSD2 Open Set Top Box.
74
75config MACH_DAVINCI_DM355_EVM
76	bool "TI DM355 EVM"
77	default ARCH_DAVINCI_DM355
78	depends on ARCH_DAVINCI_DM355
79	help
80	  Configure this option to specify the whether the board used
81	  for development is a DM355 EVM
82
83config MACH_DM355_LEOPARD
84	bool "DM355 Leopard board"
85	depends on ARCH_DAVINCI_DM355
86	help
87	  Configure this option to specify the whether the board used
88	  for development is a DM355 Leopard board.
89
90config MACH_DAVINCI_DM6467_EVM
91	bool "TI DM6467 EVM"
92	default ARCH_DAVINCI_DM646x
93	depends on ARCH_DAVINCI_DM646x
94	help
95	  Configure this option to specify the whether the board used
96	  for development is a DM6467 EVM
97
98config MACH_DAVINCI_DM365_EVM
99	bool "TI DM365 EVM"
100	default ARCH_DAVINCI_DM365
101	depends on ARCH_DAVINCI_DM365
102	help
103	  Configure this option to specify whether the board used
104	  for development is a DM365 EVM
105
106config MACH_DAVINCI_DA830_EVM
107	bool "TI DA830/OMAP-L137 Reference Platform"
108	default ARCH_DAVINCI_DA830
109	depends on ARCH_DAVINCI_DA830
110	select GPIO_PCF857X
111	help
112	  Say Y here to select the TI DA830/OMAP-L137 Evaluation Module.
113
114choice
115	prompt "Select DA830/OMAP-L137 UI board peripheral"
116	depends on MACH_DAVINCI_DA830_EVM
117	help
118	  The presence of UI card on the DA830/OMAP-L137 EVM is detected
119	  automatically based on successful probe of the I2C based GPIO
120	  expander on that board. This option selected in this menu has
121	  an effect only in case of a successful UI card detection.
122
123config DA830_UI_LCD
124	bool "LCD"
125	help
126	  Say Y here to use the LCD as a framebuffer or simple character
127	  display.
128
129config DA830_UI_NAND
130	bool "NAND flash"
131	help
132	  Say Y here to use the NAND flash.  Do not forget to setup
133	  the switch correctly.
134endchoice
135
136config MACH_DAVINCI_DA850_EVM
137	bool "TI DA850/OMAP-L138 Reference Platform"
138	default ARCH_DAVINCI_DA850
139	depends on ARCH_DAVINCI_DA850
140	select GPIO_PCA953X
141	help
142	  Say Y here to select the TI DA850/OMAP-L138 Evaluation Module.
143
144choice
145	prompt "Select peripherals connected to expander on UI board"
146	depends on MACH_DAVINCI_DA850_EVM
147	help
148	  The presence of User Interface (UI) card on the DA850/OMAP-L138
149	  EVM is detected automatically based on successful probe of the I2C
150	  based GPIO expander on that card. This option selected in this
151	  menu has an effect only in case of a successful UI card detection.
152
153config DA850_UI_NONE
154	bool "No peripheral is enabled"
155	help
156	  Say Y if you do not want to enable any of the peripherals connected
157	  to TCA6416 expander on DA850/OMAP-L138 EVM UI card
158
159config DA850_UI_RMII
160	bool "RMII Ethernet PHY"
161	help
162	  Say Y if you want to use the RMII PHY on the DA850/OMAP-L138 EVM.
163	  This PHY is found on the UI daughter card that is supplied with
164	  the EVM.
165	  NOTE: Please take care while choosing this option, MII PHY will
166	  not be functional if RMII mode is selected.
167
168endchoice
169
170config DAVINCI_MUX
171	bool "DAVINCI multiplexing support"
172	depends on ARCH_DAVINCI
173	default y
174	help
175	  Pin multiplexing support for DAVINCI boards. If your bootloader
176	  sets the multiplexing correctly, say N. Otherwise, or if unsure,
177	  say Y.
178
179config DAVINCI_MUX_DEBUG
180        bool "Multiplexing debug output"
181        depends on DAVINCI_MUX
182        help
183          Makes the multiplexing functions print out a lot of debug info.
184          This is useful if you want to find out the correct values of the
185          multiplexing registers.
186
187config DAVINCI_MUX_WARNINGS
188        bool "Warn about pins the bootloader didn't set up"
189        depends on DAVINCI_MUX
190        help
191          Choose Y here to warn whenever driver initialization logic needs
192          to change the pin multiplexing setup.  When there are no warnings
193          printed, it's safe to deselect DAVINCI_MUX for your product.
194
195config DAVINCI_RESET_CLOCKS
196	bool "Reset unused clocks during boot"
197	depends on ARCH_DAVINCI
198	help
199	  Say Y if you want to reset unused clocks during boot.
200	  This option saves power, but assumes all drivers are
201	  using the clock framework. Broken drivers that do not
202	  yet use clock framework may not work with this option.
203	  If you are booting from another operating system, you
204	  probably do not want this option enabled until your
205	  device drivers work properly.
206
207endmenu
208
209endif
210