blob: ce0b1b4b33f96f5662b5374628bc3841cb38096c [file] [log] [blame]
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09001if ARCH_AT91
2
Wenyou Yangb4ed09f2017-09-14 11:07:40 +08003config AT91FAMILY
4 def_bool y
5
Wenyou Yangc09ca6a2017-09-14 11:07:41 +08006config AT91SAM9260
7 bool
8 select CPU_ARM926EJS
9
10config AT91SAM9G20
11 bool
12 select CPU_ARM926EJS
13
14config AT91SAM9XE
15 bool
16 select CPU_ARM926EJS
17
18config AT91SAM9261
19 bool
20 select CPU_ARM926EJS
21
22config AT91SAM9263
23 bool
24 select CPU_ARM926EJS
25
26config AT91SAM9G45
27 bool
28 select CPU_ARM926EJS
29
30config AT91SAM9M10G45
31 bool
32 select CPU_ARM926EJS
33
34config AT91SAM9N12
35 bool
36 select CPU_ARM926EJS
37
38config AT91SAM9RL
39 bool
40 select CPU_ARM926EJS
41
42config AT91SAM9X5
43 bool
44 select CPU_ARM926EJS
45
46config SAMA5D2
47 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053048 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000049 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080050
51config SAMA5D3
52 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053053 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080054
55config SAMA5D4
56 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053057 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000058 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080059
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090060choice
61 prompt "Atmel AT91 board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050062 optional
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090063
64config TARGET_AT91RM9200EK
65 bool "Atmel AT91RM9200 evaluation kit"
66 select CPU_ARM920T
67
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090068config TARGET_AT91SAM9260EK
69 bool "Atmel at91sam9260 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080070 select AT91SAM9260
Simon Glass7a99a872017-01-23 13:31:20 -070071 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090072
73config TARGET_ETHERNUT5
74 bool "Ethernut5 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080075 select AT91SAM9XE
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090076
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090077config TARGET_SNAPPER9260
78 bool "Support snapper9260"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080079 select AT91SAM9260
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090080 select DM
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090081 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020082 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020083 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090084
Andre Renaud2369c9c2016-05-05 07:28:22 -060085config TARGET_GURNARD
86 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080087 select AT91SAM9G45
Tom Rini22d567e2017-01-22 19:43:11 -050088 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060089 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +020090 select DM_ETH
91 select DM_GPIO
Andre Renaud2369c9c2016-05-05 07:28:22 -060092 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +053093 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -040094 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +020095 imply CMD_DM
Andre Renaud2369c9c2016-05-05 07:28:22 -060096
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090097config TARGET_AT91SAM9261EK
98 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080099 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +0800100 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900101
102config TARGET_PM9261
103 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800104 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900105
106config TARGET_AT91SAM9263EK
107 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800108 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700109 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900110
111config TARGET_USB_A9263
112 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800113 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900114
115config TARGET_PM9263
116 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800117 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900118
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900119config TARGET_AT91SAM9M10G45EK
120 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800121 select AT91SAM9M10G45
Simon Glass7a99a872017-01-23 13:31:20 -0700122 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200123 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900124
125config TARGET_PM9G45
126 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800127 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900128
Erik van Luijk29365df2015-08-17 12:47:34 +0200129config TARGET_PICOSAM9G45
130 bool "Mini-box picosam9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800131 select AT91SAM9M10G45
Erik van Luijk29365df2015-08-17 12:47:34 +0200132 select SUPPORT_SPL
133
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900134config TARGET_AT91SAM9N12EK
135 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800136 select AT91SAM9N12
Simon Glass7a99a872017-01-23 13:31:20 -0700137 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200138 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900139
140config TARGET_AT91SAM9RLEK
141 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800142 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700143 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900144
145config TARGET_AT91SAM9X5EK
146 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800147 select AT91SAM9X5
Simon Glass7a99a872017-01-23 13:31:20 -0700148 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800149 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200150 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900151
Stefan Roesedadede52019-04-02 10:57:27 +0200152config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
153 bool "GARDENA smart Gateway (AT91SAM)"
154 select AT91SAM9X5
155 select BOARD_EARLY_INIT_F
156 select BOARD_LATE_INIT
157 select SUPPORT_SPL
158
Ludovic Desroches1240d882017-11-17 14:57:12 +0800159config TARGET_SAMA5D2_PTC_EK
160 bool "SAMA5D2 PTC EK board"
Simon Glass7a99a872017-01-23 13:31:20 -0700161 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200162 select SAMA5D2
Eugen Hristevd8c68982018-09-18 10:35:46 +0300163 select BOARD_LATE_INIT
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800164
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800165config TARGET_SAMA5D2_XPLAINED
166 bool "SAMA5D2 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700167 select BOARD_EARLY_INIT_F
Wenyou Yang3ec18a62017-09-18 15:25:57 +0800168 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200169 select SAMA5D2
170 select SUPPORT_SPL
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800171
Wenyou Yangeebb0732017-09-13 14:58:54 +0800172config TARGET_SAMA5D27_SOM1_EK
173 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800174 select BOARD_EARLY_INIT_F
175 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200176 select CPU_V7A
177 select SUPPORT_SPL
Eugen Hristev99fe5002019-08-08 07:48:28 +0000178 select ATMEL_SFR
Wenyou Yangeebb0732017-09-13 14:58:54 +0800179 help
180 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
181 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
182 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
183 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
184 in a single package.
185
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000186config TARGET_SAMA5D27_WLSOM1_EK
187 bool "SAMA5D27 WLSOM1 EK board"
188 select SAMA5D2
189 select BOARD_EARLY_INIT_F
190 select BOARD_LATE_INIT
191 select CPU_V7A
192 help
193 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
194 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
195 module providing bluetooth and wifi is also embedded.
196 The SAMA5D2 SiP integrates the ARM Cortex-A5
197 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
198 in a single package.
199
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300200config TARGET_SAMA5D2_ICP
201 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristev99fe5002019-08-08 07:48:28 +0000202 select SAMA5D2
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300203 select SUPPORT_SPL
204 select BOARD_EARLY_INIT_F
205 select BOARD_LATE_INIT
206 help
207 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
208 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
209 EtherCat and WILC3000 devices on board.
210
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900211config TARGET_SAMA5D3_XPLAINED
212 bool "SAMA5D3 Xplained board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200213 select BOARD_EARLY_INIT_F
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800214 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900215 select SUPPORT_SPL
Eugen Hristevbe01f772018-09-18 10:35:44 +0300216 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900217
218config TARGET_SAMA5D3XEK
219 bool "SAMA5D3X-EK board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200220 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -0500221 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200222 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900223 select SUPPORT_SPL
224
225config TARGET_SAMA5D4_XPLAINED
226 bool "SAMA5D4 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700227 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800228 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200229 select SAMA5D4
230 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900231
232config TARGET_SAMA5D4EK
233 bool "SAMA5D4 Evaluation Kit"
Simon Glass7a99a872017-01-23 13:31:20 -0700234 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800235 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200236 select SAMA5D4
237 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900238
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900239config TARGET_MEESC
240 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800241 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900242
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900243config TARGET_CORVUS
244 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800245 select AT91SAM9M10G45
Heiko Schocher914aff12016-05-25 07:23:45 +0200246 select DM
Heiko Schocher914aff12016-05-25 07:23:45 +0200247 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200248 select DM_GPIO
249 select DM_SERIAL
250 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200251 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900252
253config TARGET_TAURUS
254 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800255 select AT91SAM9G20
Heiko Schocher649d8102016-05-25 07:23:48 +0200256 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200257 select DM_ETH
258 select DM_GPIO
Heiko Schocher649d8102016-05-25 07:23:48 +0200259 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530260 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400261 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200262 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200263 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900264
Heiko Schocher44a93442015-06-29 09:10:48 +0200265config TARGET_SMARTWEB
266 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800267 select AT91SAM9260
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200268 select DM
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200269 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200270 select DM_GPIO
271 select DM_SERIAL
272 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200273 imply CMD_DM
Heiko Schocher44a93442015-06-29 09:10:48 +0200274
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100275config TARGET_VINCO
276 bool "Support VINCO"
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530277 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530278 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200279 select SAMA5D4
Adam Ford4e96ff82018-04-15 13:51:26 -0400280 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200281 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200282 imply CMD_DM
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100283
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000284config TARGET_WB45N
285 bool "Support Laird WB45N"
286 select CPU_ARM926EJS
287 select SUPPORT_SPL
288
Ben Whitten44b7fc82017-11-23 13:47:48 +0000289config TARGET_WB50N
290 bool "Support Laird WB50N"
Michal Simek84f3dec2018-07-23 15:55:13 +0200291 select BOARD_EARLY_INIT_F
Ben Whitten44b7fc82017-11-23 13:47:48 +0000292 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530293 select CPU_V7A
Ben Whitten44b7fc82017-11-23 13:47:48 +0000294 select SUPPORT_SPL
Eugen Hristev19ac3ca2019-08-08 07:48:31 +0000295 select ATMEL_SFR
Ben Whitten44b7fc82017-11-23 13:47:48 +0000296
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900297endchoice
298
Eugen Hristev99fe5002019-08-08 07:48:28 +0000299config ATMEL_SFR
300 bool
301 default n
302
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900303config SYS_SOC
304 default "at91"
305
306source "board/atmel/at91rm9200ek/Kconfig"
307source "board/atmel/at91sam9260ek/Kconfig"
308source "board/atmel/at91sam9261ek/Kconfig"
309source "board/atmel/at91sam9263ek/Kconfig"
310source "board/atmel/at91sam9m10g45ek/Kconfig"
311source "board/atmel/at91sam9n12ek/Kconfig"
312source "board/atmel/at91sam9rlek/Kconfig"
313source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desroches1240d882017-11-17 14:57:12 +0800314source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800315source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800316source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000317source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300318source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900319source "board/atmel/sama5d3_xplained/Kconfig"
320source "board/atmel/sama5d3xek/Kconfig"
321source "board/atmel/sama5d4_xplained/Kconfig"
322source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud2369c9c2016-05-05 07:28:22 -0600323source "board/bluewater/gurnard/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900324source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900325source "board/calao/usb_a9263/Kconfig"
326source "board/egnite/ethernut5/Kconfig"
327source "board/esd/meesc/Kconfig"
Stefan Roesedadede52019-04-02 10:57:27 +0200328source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100329source "board/l+g/vinco/Kconfig"
Erik van Luijk29365df2015-08-17 12:47:34 +0200330source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900331source "board/ronetix/pm9261/Kconfig"
332source "board/ronetix/pm9263/Kconfig"
333source "board/ronetix/pm9g45/Kconfig"
334source "board/siemens/corvus/Kconfig"
335source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200336source "board/siemens/smartweb/Kconfig"
Ben Whitten7b8f9af2017-11-23 13:47:47 +0000337source "board/laird/wb45n/Kconfig"
Ben Whitten44b7fc82017-11-23 13:47:48 +0000338source "board/laird/wb50n/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900339
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200340config SPL_LDSCRIPT
341 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530342 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200343
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900344endif