Merge tag 'fsl-qoriq-2022-10-18' of https://source.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 config AT91FAMILY
4         def_bool y
5
6 config AT91SAM9260
7         bool
8         select CPU_ARM926EJS
9
10 config AT91SAM9G20
11         bool
12         select CPU_ARM926EJS
13
14 config AT91SAM9XE
15         bool
16         select CPU_ARM926EJS
17
18 config AT91SAM9261
19         bool
20         select CPU_ARM926EJS
21
22 config AT91SAM9263
23         bool
24         select CPU_ARM926EJS
25
26 config AT91SAM9G45
27         bool
28         select CPU_ARM926EJS
29
30 config AT91SAM9M10G45
31         bool
32         select CPU_ARM926EJS
33
34 config AT91SAM9N12
35         bool
36         select CPU_ARM926EJS
37
38 config AT91SAM9RL
39         bool
40         select CPU_ARM926EJS
41
42 config AT91SAM9X5
43         bool
44         select CPU_ARM926EJS
45
46 config SAM9X60
47         bool
48         select CPU_ARM926EJS
49
50 config SAMA7G5
51         bool
52         select CPU_V7A
53         select AT91RESET_EXTRST
54
55 config SAMA5D2
56         bool
57         select CPU_V7A
58         select ATMEL_SFR
59
60 config SAMA5D3
61         bool
62         select CPU_V7A
63
64 config SAMA5D4
65         bool
66         select CPU_V7A
67         select ATMEL_SFR
68
69 choice
70         prompt "Atmel AT91 board select"
71         optional
72
73 config TARGET_AT91SAM9260EK
74         bool "Atmel at91sam9260 reference board"
75         select AT91SAM9260
76         select BOARD_EARLY_INIT_F
77
78 config TARGET_ETHERNUT5
79         bool "Ethernut5 board"
80         select AT91SAM9XE
81
82 config TARGET_GURNARD
83         bool "Support gurnard"
84         select AT91SAM9G45
85         select AT91_WANTS_COMMON_PHY
86         select BOARD_LATE_INIT
87         select DM
88         select DM_ETH
89         select DM_GPIO
90         select DM_SERIAL
91         select DM_SPI
92         select SPI
93         imply CMD_DM
94
95 config TARGET_AT91SAM9261EK
96         bool "Atmel at91sam9261 reference board"
97         select AT91SAM9261
98         select BOARD_EARLY_INIT_F
99
100 config TARGET_PM9261
101         bool "Ronetix pm9261 board"
102         select AT91SAM9261
103
104 config TARGET_AT91SAM9263EK
105         bool "Atmel at91sam9263 reference board"
106         select AT91SAM9263
107         select BOARD_EARLY_INIT_F
108
109 config TARGET_USB_A9263
110         bool "Caloa USB A9260 board"
111         select AT91SAM9263
112         select AT91_WANTS_COMMON_PHY
113
114 config TARGET_PM9263
115         bool "Ronetix pm9263 board"
116         select AT91SAM9263
117
118 config TARGET_AT91SAM9M10G45EK
119         bool "Atmel AT91SAM9M10G45-EK board"
120         select AT91SAM9M10G45
121         select BOARD_EARLY_INIT_F
122         select SUPPORT_SPL
123
124 config TARGET_PM9G45
125         bool "Ronetix pm9g45 board"
126         select AT91SAM9G45
127
128 config TARGET_AT91SAM9N12EK
129         bool "Atmel AT91SAM9N12-EK board"
130         select AT91SAM9N12
131         select BOARD_EARLY_INIT_F
132         select SUPPORT_SPL
133
134 config TARGET_AT91SAM9RLEK
135         bool "Atmel at91sam9rl reference board"
136         select AT91SAM9RL
137         select BOARD_EARLY_INIT_F
138
139 config TARGET_AT91SAM9X5EK
140         bool "Atmel AT91SAM9X5-EK board"
141         select AT91SAM9X5
142         select BOARD_EARLY_INIT_F
143         select BOARD_LATE_INIT
144         select SUPPORT_SPL
145
146 config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
147         bool "GARDENA smart Gateway (AT91SAM)"
148         select AT91SAM9X5
149         select BOARD_EARLY_INIT_F
150         select BOARD_LATE_INIT
151         select SUPPORT_SPL
152
153 config TARGET_SAM9X60EK
154         bool "SAM9X60-EK board"
155         select SAM9X60
156         select BOARD_EARLY_INIT_F
157         select BOARD_LATE_INIT
158
159 config TARGET_SAM9X60_CURIOSITY
160         bool "SAM9X60 CURIOSITY board"
161         select SAM9X60
162         select BOARD_EARLY_INIT_F
163         select BOARD_LATE_INIT
164
165 config TARGET_SAMA5D2_PTC_EK
166         bool "SAMA5D2 PTC EK board"
167         select BOARD_EARLY_INIT_F
168         select SAMA5D2
169         select BOARD_LATE_INIT
170
171 config TARGET_SAMA5D2_XPLAINED
172         bool "SAMA5D2 Xplained board"
173         select BOARD_EARLY_INIT_F
174         select BOARD_LATE_INIT
175         select SAMA5D2
176         select SUPPORT_SPL
177
178 config TARGET_SAMA5D27_SOM1_EK
179         bool "SAMA5D27 SOM1 EK board"
180         select SAMA5D2
181         select BOARD_EARLY_INIT_F
182         select BOARD_LATE_INIT
183         select CPU_V7A
184         select SUPPORT_SPL
185         select ATMEL_SFR
186         help
187           The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
188           a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
189           24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
190           processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
191           in a single package.
192
193 config TARGET_SAMA5D27_WLSOM1_EK
194         bool "SAMA5D27 WLSOM1 EK board"
195         select SAMA5D2
196         select BOARD_EARLY_INIT_F
197         select BOARD_LATE_INIT
198         select CPU_V7A
199         select SUPPORT_SPL
200         help
201           The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
202           a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
203           module providing bluetooth and wifi is also embedded.
204           The SAMA5D2 SiP integrates the ARM Cortex-A5
205           processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
206           in a single package.
207
208 config TARGET_SAMA5D2_ICP
209         bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
210         select SAMA5D2
211         select SUPPORT_SPL
212         select BOARD_EARLY_INIT_F
213         select BOARD_LATE_INIT
214         help
215           The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
216           a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
217           EtherCat and WILC3000 devices on board.
218
219 config TARGET_SAMA5D3_XPLAINED
220         bool "SAMA5D3 Xplained board"
221         select BOARD_EARLY_INIT_F
222         select SAMA5D3
223         select SUPPORT_SPL
224         select BOARD_LATE_INIT
225
226 config TARGET_SAMA5D3XEK
227         bool "SAMA5D3X-EK board"
228         select BOARD_EARLY_INIT_F
229         select BOARD_LATE_INIT
230         select SAMA5D3
231         select SUPPORT_SPL
232
233 config TARGET_SAMA5D4_XPLAINED
234         bool "SAMA5D4 Xplained board"
235         select BOARD_EARLY_INIT_F
236         select BOARD_LATE_INIT
237         select SAMA5D4
238         select SUPPORT_SPL
239
240 config TARGET_SAMA5D4EK
241         bool "SAMA5D4 Evaluation Kit"
242         select BOARD_EARLY_INIT_F
243         select BOARD_LATE_INIT
244         select SAMA5D4
245         select SUPPORT_SPL
246
247 config TARGET_MEESC
248         bool "Support meesc"
249         select AT91SAM9263
250
251 config TARGET_CORVUS
252         bool "Support corvus"
253         select AT91SAM9M10G45
254         select AT91_WANTS_COMMON_PHY
255         select DM
256         select DM_ETH
257         select DM_GPIO
258         select DM_SERIAL
259         select SUPPORT_SPL
260         imply CMD_DM
261
262 config TARGET_SAMA7G5EK
263        bool "SAMA7G5 EK board"
264        select SAMA7G5
265        select BOARD_EARLY_INIT_F
266        select BOARD_LATE_INIT
267
268
269 config TARGET_TAURUS
270         bool "Support taurus"
271         select AT91SAM9G20
272         select AT91_WANTS_COMMON_PHY
273         select DM
274         select DM_ETH
275         select DM_GPIO
276         select DM_SERIAL
277         select DM_SPI
278         select SPI
279         select SUPPORT_SPL
280         imply CMD_DM
281
282 config TARGET_SMARTWEB
283         bool "Support smartweb"
284         select AT91SAM9260
285         select AT91_WANTS_COMMON_PHY
286         select DM
287         select DM_ETH
288         select DM_GPIO
289         select DM_SERIAL
290         select SUPPORT_SPL
291         imply CMD_DM
292
293 config TARGET_VINCO
294         bool "Support VINCO"
295         select DM
296         select DM_SPI
297         select SAMA5D4
298         select SPI
299         select SUPPORT_SPL
300         imply CMD_DM
301
302 endchoice
303
304 config ATMEL_SFR
305         bool
306
307 config AT91RESET_EXTRST
308         bool
309
310 config SYS_SOC
311         default "at91"
312
313 config AT91_EFLASH
314         bool "Support AT91 flash driver"
315         depends on AT91SAM9XE
316         select USE_SYS_MAX_FLASH_BANKS
317         help
318           Enable the driver for the embedded flash used in the Atmel
319           AT91SAM9XE devices.
320
321 config EFLASH_PROTSECTORS
322         int "Number of flash sectors to protect from erasing"
323         depends on AT91_EFLASH
324         help
325           If non-zero, this will be the number of sectors of the flash to disallow
326           U-Boot to ease, starting from the beginning of flash.
327
328 config AT91_GPIO_PULLUP
329         bool "Keep pullups on peripheral pins"
330         depends on CPU_ARM926EJS
331
332 config ATMEL_LEGACY
333         bool "Legacy GPIO support"
334
335 config AT91_WANTS_COMMON_PHY
336         bool
337
338 source "board/atmel/at91sam9260ek/Kconfig"
339 source "board/atmel/at91sam9261ek/Kconfig"
340 source "board/atmel/at91sam9263ek/Kconfig"
341 source "board/atmel/at91sam9m10g45ek/Kconfig"
342 source "board/atmel/at91sam9n12ek/Kconfig"
343 source "board/atmel/at91sam9rlek/Kconfig"
344 source "board/atmel/at91sam9x5ek/Kconfig"
345 source "board/atmel/sam9x60ek/Kconfig"
346 source "board/atmel/sam9x60_curiosity/Kconfig"
347 source "board/atmel/sama7g5ek/Kconfig"
348 source "board/atmel/sama5d2_ptc_ek/Kconfig"
349 source "board/atmel/sama5d2_xplained/Kconfig"
350 source "board/atmel/sama5d27_som1_ek/Kconfig"
351 source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
352 source "board/atmel/sama5d2_icp/Kconfig"
353 source "board/atmel/sama5d3_xplained/Kconfig"
354 source "board/atmel/sama5d3xek/Kconfig"
355 source "board/atmel/sama5d4_xplained/Kconfig"
356 source "board/atmel/sama5d4ek/Kconfig"
357 source "board/bluewater/gurnard/Kconfig"
358 source "board/calao/usb_a9263/Kconfig"
359 source "board/egnite/ethernut5/Kconfig"
360 source "board/esd/meesc/Kconfig"
361 source "board/gardena/smart-gateway-at91sam/Kconfig"
362 source "board/l+g/vinco/Kconfig"
363 source "board/ronetix/pm9261/Kconfig"
364 source "board/ronetix/pm9263/Kconfig"
365 source "board/ronetix/pm9g45/Kconfig"
366 source "board/siemens/corvus/Kconfig"
367 source "board/siemens/taurus/Kconfig"
368 source "board/siemens/smartweb/Kconfig"
369
370 endif