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