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