blob: 4448ca1592e21c08511695bf22094fae6b6e53c7 [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
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090072config TARGET_AT91SAM9260EK
73 bool "Atmel at91sam9260 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080074 select AT91SAM9260
Simon Glass7a99a872017-01-23 13:31:20 -070075 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090076
77config TARGET_ETHERNUT5
78 bool "Ethernut5 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080079 select AT91SAM9XE
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090080
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090081config TARGET_SNAPPER9260
82 bool "Support snapper9260"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080083 select AT91SAM9260
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090084 select DM
Masahiro Yamada4bb8f822015-03-31 12:47:57 +090085 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020086 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020087 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090088
Andre Renaud2369c9c2016-05-05 07:28:22 -060089config TARGET_GURNARD
90 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080091 select AT91SAM9G45
Tom Rini22d567e2017-01-22 19:43:11 -050092 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060093 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +020094 select DM_ETH
95 select DM_GPIO
Andre Renaud2369c9c2016-05-05 07:28:22 -060096 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +053097 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -040098 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +020099 imply CMD_DM
Andre Renaud2369c9c2016-05-05 07:28:22 -0600100
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900101config TARGET_AT91SAM9261EK
102 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800103 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +0800104 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900105
106config TARGET_PM9261
107 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800108 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900109
110config TARGET_AT91SAM9263EK
111 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800112 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700113 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900114
115config TARGET_USB_A9263
116 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800117 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900118
119config TARGET_PM9263
120 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800121 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900122
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900123config TARGET_AT91SAM9M10G45EK
124 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800125 select AT91SAM9M10G45
Simon Glass7a99a872017-01-23 13:31:20 -0700126 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200127 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900128
129config TARGET_PM9G45
130 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800131 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900132
133config TARGET_AT91SAM9N12EK
134 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800135 select AT91SAM9N12
Simon Glass7a99a872017-01-23 13:31:20 -0700136 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200137 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900138
139config TARGET_AT91SAM9RLEK
140 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800141 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700142 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900143
144config TARGET_AT91SAM9X5EK
145 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800146 select AT91SAM9X5
Simon Glass7a99a872017-01-23 13:31:20 -0700147 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800148 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200149 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900150
Stefan Roesedadede52019-04-02 10:57:27 +0200151config 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
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000158config TARGET_SAM9X60EK
159 bool "SAM9X60-EK board"
160 select SAM9X60
161 select BOARD_EARLY_INIT_F
162 select BOARD_LATE_INIT
163
Ludovic Desroches1240d882017-11-17 14:57:12 +0800164config TARGET_SAMA5D2_PTC_EK
165 bool "SAMA5D2 PTC EK board"
Simon Glass7a99a872017-01-23 13:31:20 -0700166 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200167 select SAMA5D2
Eugen Hristevd8c68982018-09-18 10:35:46 +0300168 select BOARD_LATE_INIT
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800169
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800170config TARGET_SAMA5D2_XPLAINED
171 bool "SAMA5D2 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700172 select BOARD_EARLY_INIT_F
Wenyou Yang3ec18a62017-09-18 15:25:57 +0800173 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200174 select SAMA5D2
175 select SUPPORT_SPL
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800176
Wenyou Yangeebb0732017-09-13 14:58:54 +0800177config TARGET_SAMA5D27_SOM1_EK
178 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800179 select BOARD_EARLY_INIT_F
180 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200181 select CPU_V7A
182 select SUPPORT_SPL
Eugen Hristev99fe5002019-08-08 07:48:28 +0000183 select ATMEL_SFR
Wenyou Yangeebb0732017-09-13 14:58:54 +0800184 help
185 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
186 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
187 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
188 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
189 in a single package.
190
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000191config TARGET_SAMA5D27_WLSOM1_EK
192 bool "SAMA5D27 WLSOM1 EK board"
193 select SAMA5D2
194 select BOARD_EARLY_INIT_F
195 select BOARD_LATE_INIT
196 select CPU_V7A
Eugen Hristev1d152122019-08-08 07:48:35 +0000197 select SUPPORT_SPL
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000198 help
199 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
200 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
201 module providing bluetooth and wifi is also embedded.
202 The SAMA5D2 SiP integrates the ARM Cortex-A5
203 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
204 in a single package.
205
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300206config TARGET_SAMA5D2_ICP
207 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristev99fe5002019-08-08 07:48:28 +0000208 select SAMA5D2
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300209 select SUPPORT_SPL
210 select BOARD_EARLY_INIT_F
211 select BOARD_LATE_INIT
212 help
213 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
214 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
215 EtherCat and WILC3000 devices on board.
216
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900217config TARGET_SAMA5D3_XPLAINED
218 bool "SAMA5D3 Xplained board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200219 select BOARD_EARLY_INIT_F
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800220 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900221 select SUPPORT_SPL
Eugen Hristevbe01f772018-09-18 10:35:44 +0300222 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900223
224config TARGET_SAMA5D3XEK
225 bool "SAMA5D3X-EK board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200226 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -0500227 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200228 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900229 select SUPPORT_SPL
230
231config TARGET_SAMA5D4_XPLAINED
232 bool "SAMA5D4 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700233 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800234 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200235 select SAMA5D4
236 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900237
238config TARGET_SAMA5D4EK
239 bool "SAMA5D4 Evaluation Kit"
Simon Glass7a99a872017-01-23 13:31:20 -0700240 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800241 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200242 select SAMA5D4
243 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900244
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900245config TARGET_MEESC
246 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800247 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900248
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900249config TARGET_CORVUS
250 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800251 select AT91SAM9M10G45
Heiko Schocher914aff12016-05-25 07:23:45 +0200252 select DM
Heiko Schocher914aff12016-05-25 07:23:45 +0200253 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200254 select DM_GPIO
255 select DM_SERIAL
256 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200257 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900258
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200259config TARGET_SAMA7G5EK
260 bool "SAMA7G5 EK board"
261 select SAMA7G5
262 select BOARD_EARLY_INIT_F
263 select BOARD_LATE_INIT
264
265
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900266config TARGET_TAURUS
267 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800268 select AT91SAM9G20
Heiko Schocher649d8102016-05-25 07:23:48 +0200269 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200270 select DM_ETH
271 select DM_GPIO
Heiko Schocher649d8102016-05-25 07:23:48 +0200272 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530273 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400274 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200275 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200276 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900277
Heiko Schocher44a93442015-06-29 09:10:48 +0200278config TARGET_SMARTWEB
279 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800280 select AT91SAM9260
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200281 select DM
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200282 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200283 select DM_GPIO
284 select DM_SERIAL
285 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200286 imply CMD_DM
Heiko Schocher44a93442015-06-29 09:10:48 +0200287
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100288config TARGET_VINCO
289 bool "Support VINCO"
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530290 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530291 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200292 select SAMA5D4
Adam Ford4e96ff82018-04-15 13:51:26 -0400293 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200294 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200295 imply CMD_DM
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100296
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900297endchoice
298
Eugen Hristev99fe5002019-08-08 07:48:28 +0000299config ATMEL_SFR
300 bool
Eugen Hristev99fe5002019-08-08 07:48:28 +0000301
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900302config SYS_SOC
303 default "at91"
304
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900305source "board/atmel/at91sam9260ek/Kconfig"
306source "board/atmel/at91sam9261ek/Kconfig"
307source "board/atmel/at91sam9263ek/Kconfig"
308source "board/atmel/at91sam9m10g45ek/Kconfig"
309source "board/atmel/at91sam9n12ek/Kconfig"
310source "board/atmel/at91sam9rlek/Kconfig"
311source "board/atmel/at91sam9x5ek/Kconfig"
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000312source "board/atmel/sam9x60ek/Kconfig"
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200313source "board/atmel/sama7g5ek/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"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900330source "board/ronetix/pm9261/Kconfig"
331source "board/ronetix/pm9263/Kconfig"
332source "board/ronetix/pm9g45/Kconfig"
333source "board/siemens/corvus/Kconfig"
334source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200335source "board/siemens/smartweb/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900336
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200337config SPL_LDSCRIPT
338 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530339 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200340
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900341endif