blob: 1adf09b9a1481670b7a845efa2052b9240375125 [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
Sandeep Sheriker Mallikarjun32f4d7c2019-09-27 13:08:40 +000046config SAM9X60
47 bool
48 select CPU_ARM926EJS
49
Eugen Hristev3263e742020-08-27 11:51:52 +030050config SAMA7G5
51 bool
52 select CPU_V7A
53
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080054config SAMA5D2
55 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053056 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000057 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080058
59config SAMA5D3
60 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053061 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080062
63config SAMA5D4
64 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053065 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000066 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080067
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090068choice
69 prompt "Atmel AT91 board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050070 optional
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090071
72config TARGET_AT91RM9200EK
73 bool "Atmel AT91RM9200 evaluation kit"
74 select CPU_ARM920T
75
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090076config TARGET_AT91SAM9260EK
77 bool "Atmel at91sam9260 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080078 select AT91SAM9260
Simon Glass7a99a872017-01-23 13:31:20 -070079 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090080
81config TARGET_ETHERNUT5
82 bool "Ethernut5 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080083 select AT91SAM9XE
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090084
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090085config TARGET_SNAPPER9260
86 bool "Support snapper9260"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080087 select AT91SAM9260
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090088 select DM
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090089 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020090 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020091 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090092
Andre Renaud2369c9c2016-05-05 07:28:22 -060093config TARGET_GURNARD
94 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080095 select AT91SAM9G45
Tom Rini22d567e2017-01-22 19:43:11 -050096 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060097 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +020098 select DM_ETH
99 select DM_GPIO
Andre Renaud2369c9c2016-05-05 07:28:22 -0600100 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +0530101 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400102 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +0200103 imply CMD_DM
Andre Renaud2369c9c2016-05-05 07:28:22 -0600104
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900105config TARGET_AT91SAM9261EK
106 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800107 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +0800108 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900109
110config TARGET_PM9261
111 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800112 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900113
114config TARGET_AT91SAM9263EK
115 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800116 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700117 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900118
119config TARGET_USB_A9263
120 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800121 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900122
123config TARGET_PM9263
124 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800125 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900126
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900127config TARGET_AT91SAM9M10G45EK
128 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800129 select AT91SAM9M10G45
Simon Glass7a99a872017-01-23 13:31:20 -0700130 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200131 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900132
133config TARGET_PM9G45
134 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800135 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900136
137config TARGET_AT91SAM9N12EK
138 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800139 select AT91SAM9N12
Simon Glass7a99a872017-01-23 13:31:20 -0700140 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200141 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900142
143config TARGET_AT91SAM9RLEK
144 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800145 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700146 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900147
148config TARGET_AT91SAM9X5EK
149 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800150 select AT91SAM9X5
Simon Glass7a99a872017-01-23 13:31:20 -0700151 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800152 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200153 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900154
Stefan Roesedadede52019-04-02 10:57:27 +0200155config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
156 bool "GARDENA smart Gateway (AT91SAM)"
157 select AT91SAM9X5
158 select BOARD_EARLY_INIT_F
159 select BOARD_LATE_INIT
160 select SUPPORT_SPL
161
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000162config TARGET_SAM9X60EK
163 bool "SAM9X60-EK board"
164 select SAM9X60
165 select BOARD_EARLY_INIT_F
166 select BOARD_LATE_INIT
167
Ludovic Desroches1240d882017-11-17 14:57:12 +0800168config TARGET_SAMA5D2_PTC_EK
169 bool "SAMA5D2 PTC EK board"
Simon Glass7a99a872017-01-23 13:31:20 -0700170 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200171 select SAMA5D2
Eugen Hristevd8c68982018-09-18 10:35:46 +0300172 select BOARD_LATE_INIT
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800173
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800174config TARGET_SAMA5D2_XPLAINED
175 bool "SAMA5D2 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700176 select BOARD_EARLY_INIT_F
Wenyou Yang3ec18a62017-09-18 15:25:57 +0800177 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200178 select SAMA5D2
179 select SUPPORT_SPL
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800180
Wenyou Yangeebb0732017-09-13 14:58:54 +0800181config TARGET_SAMA5D27_SOM1_EK
182 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800183 select BOARD_EARLY_INIT_F
184 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200185 select CPU_V7A
186 select SUPPORT_SPL
Eugen Hristev99fe5002019-08-08 07:48:28 +0000187 select ATMEL_SFR
Wenyou Yangeebb0732017-09-13 14:58:54 +0800188 help
189 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
190 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
191 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
192 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
193 in a single package.
194
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000195config TARGET_SAMA5D27_WLSOM1_EK
196 bool "SAMA5D27 WLSOM1 EK board"
197 select SAMA5D2
198 select BOARD_EARLY_INIT_F
199 select BOARD_LATE_INIT
200 select CPU_V7A
Eugen Hristev1d152122019-08-08 07:48:35 +0000201 select SUPPORT_SPL
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000202 help
203 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
204 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
205 module providing bluetooth and wifi is also embedded.
206 The SAMA5D2 SiP integrates the ARM Cortex-A5
207 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
208 in a single package.
209
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300210config TARGET_SAMA5D2_ICP
211 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristev99fe5002019-08-08 07:48:28 +0000212 select SAMA5D2
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300213 select SUPPORT_SPL
214 select BOARD_EARLY_INIT_F
215 select BOARD_LATE_INIT
216 help
217 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
218 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
219 EtherCat and WILC3000 devices on board.
220
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900221config TARGET_SAMA5D3_XPLAINED
222 bool "SAMA5D3 Xplained board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200223 select BOARD_EARLY_INIT_F
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800224 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900225 select SUPPORT_SPL
Eugen Hristevbe01f772018-09-18 10:35:44 +0300226 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900227
228config TARGET_SAMA5D3XEK
229 bool "SAMA5D3X-EK board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200230 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -0500231 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200232 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900233 select SUPPORT_SPL
234
235config TARGET_SAMA5D4_XPLAINED
236 bool "SAMA5D4 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700237 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800238 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200239 select SAMA5D4
240 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900241
242config TARGET_SAMA5D4EK
243 bool "SAMA5D4 Evaluation Kit"
Simon Glass7a99a872017-01-23 13:31:20 -0700244 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800245 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200246 select SAMA5D4
247 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900248
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900249config TARGET_MEESC
250 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800251 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900252
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900253config TARGET_CORVUS
254 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800255 select AT91SAM9M10G45
Heiko Schocher914aff12016-05-25 07:23:45 +0200256 select DM
Heiko Schocher914aff12016-05-25 07:23:45 +0200257 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200258 select DM_GPIO
259 select DM_SERIAL
260 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200261 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900262
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200263config TARGET_SAMA7G5EK
264 bool "SAMA7G5 EK board"
265 select SAMA7G5
266 select BOARD_EARLY_INIT_F
267 select BOARD_LATE_INIT
268
269
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900270config TARGET_TAURUS
271 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800272 select AT91SAM9G20
Heiko Schocher649d8102016-05-25 07:23:48 +0200273 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200274 select DM_ETH
275 select DM_GPIO
Heiko Schocher649d8102016-05-25 07:23:48 +0200276 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530277 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400278 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200279 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200280 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900281
Heiko Schocher44a93442015-06-29 09:10:48 +0200282config TARGET_SMARTWEB
283 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800284 select AT91SAM9260
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200285 select DM
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200286 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200287 select DM_GPIO
288 select DM_SERIAL
289 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200290 imply CMD_DM
Heiko Schocher44a93442015-06-29 09:10:48 +0200291
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100292config TARGET_VINCO
293 bool "Support VINCO"
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530294 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530295 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200296 select SAMA5D4
Adam Ford4e96ff82018-04-15 13:51:26 -0400297 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200298 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200299 imply CMD_DM
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100300
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900301endchoice
302
Eugen Hristev99fe5002019-08-08 07:48:28 +0000303config ATMEL_SFR
304 bool
305 default n
306
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900307config SYS_SOC
308 default "at91"
309
310source "board/atmel/at91rm9200ek/Kconfig"
311source "board/atmel/at91sam9260ek/Kconfig"
312source "board/atmel/at91sam9261ek/Kconfig"
313source "board/atmel/at91sam9263ek/Kconfig"
314source "board/atmel/at91sam9m10g45ek/Kconfig"
315source "board/atmel/at91sam9n12ek/Kconfig"
316source "board/atmel/at91sam9rlek/Kconfig"
317source "board/atmel/at91sam9x5ek/Kconfig"
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000318source "board/atmel/sam9x60ek/Kconfig"
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200319source "board/atmel/sama7g5ek/Kconfig"
Ludovic Desroches1240d882017-11-17 14:57:12 +0800320source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800321source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800322source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000323source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300324source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900325source "board/atmel/sama5d3_xplained/Kconfig"
326source "board/atmel/sama5d3xek/Kconfig"
327source "board/atmel/sama5d4_xplained/Kconfig"
328source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud2369c9c2016-05-05 07:28:22 -0600329source "board/bluewater/gurnard/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900330source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900331source "board/calao/usb_a9263/Kconfig"
332source "board/egnite/ethernut5/Kconfig"
333source "board/esd/meesc/Kconfig"
Stefan Roesedadede52019-04-02 10:57:27 +0200334source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100335source "board/l+g/vinco/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900336source "board/ronetix/pm9261/Kconfig"
337source "board/ronetix/pm9263/Kconfig"
338source "board/ronetix/pm9g45/Kconfig"
339source "board/siemens/corvus/Kconfig"
340source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200341source "board/siemens/smartweb/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900342
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200343config SPL_LDSCRIPT
344 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530345 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200346
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900347endif