blob: 85524004f9e4791a8c275fb63364f2a11ef4463e [file] [log] [blame]
Masahiro Yamada4614b892015-02-20 17:04:01 +09001if ARCH_AT91
2
Wenyou Yang65535812017-09-14 11:07:40 +08003config AT91FAMILY
4 def_bool y
5
Wenyou Yang22693372017-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 Mallikarjun9cf7f462019-09-27 13:08:40 +000046config SAM9X60
47 bool
48 select CPU_ARM926EJS
49
Wenyou Yang22693372017-09-14 11:07:41 +080050config SAMA5D2
51 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053052 select CPU_V7A
Eugen Hristevd231e372019-08-08 07:48:28 +000053 select ATMEL_SFR
Wenyou Yang22693372017-09-14 11:07:41 +080054
55config SAMA5D3
56 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053057 select CPU_V7A
Wenyou Yang22693372017-09-14 11:07:41 +080058
59config SAMA5D4
60 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053061 select CPU_V7A
Eugen Hristevd231e372019-08-08 07:48:28 +000062 select ATMEL_SFR
Wenyou Yang22693372017-09-14 11:07:41 +080063
Masahiro Yamada4614b892015-02-20 17:04:01 +090064choice
65 prompt "Atmel AT91 board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050066 optional
Masahiro Yamada4614b892015-02-20 17:04:01 +090067
68config TARGET_AT91RM9200EK
69 bool "Atmel AT91RM9200 evaluation kit"
70 select CPU_ARM920T
71
Masahiro Yamada4614b892015-02-20 17:04:01 +090072config TARGET_AT91SAM9260EK
73 bool "Atmel at91sam9260 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080074 select AT91SAM9260
Simon Glassa5d67542017-01-23 13:31:20 -070075 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090076
77config TARGET_ETHERNUT5
78 bool "Ethernut5 board"
Wenyou Yang22693372017-09-14 11:07:41 +080079 select AT91SAM9XE
Masahiro Yamada4614b892015-02-20 17:04:01 +090080
Masahiro Yamada4614b892015-02-20 17:04:01 +090081config TARGET_SNAPPER9260
82 bool "Support snapper9260"
Wenyou Yang22693372017-09-14 11:07:41 +080083 select AT91SAM9260
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090084 select DM
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090085 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +020086 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +020087 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +090088
Andre Renaud885fc032016-05-05 07:28:22 -060089config TARGET_GURNARD
90 bool "Support gurnard"
Wenyou Yang22693372017-09-14 11:07:41 +080091 select AT91SAM9G45
Tom Rinie5ec4812017-01-22 19:43:11 -050092 select BOARD_LATE_INIT
Andre Renaud885fc032016-05-05 07:28:22 -060093 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +020094 select DM_ETH
95 select DM_GPIO
Andre Renaud885fc032016-05-05 07:28:22 -060096 select DM_SERIAL
Jagan Teki08afabc2018-03-14 18:46:32 +053097 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -040098 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +020099 imply CMD_DM
Andre Renaud885fc032016-05-05 07:28:22 -0600100
Masahiro Yamada4614b892015-02-20 17:04:01 +0900101config TARGET_AT91SAM9261EK
102 bool "Atmel at91sam9261 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800103 select AT91SAM9261
Wenyou.Yang@microchip.com324873e2017-07-21 13:28:40 +0800104 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900105
106config TARGET_PM9261
107 bool "Ronetix pm9261 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800108 select AT91SAM9261
Masahiro Yamada4614b892015-02-20 17:04:01 +0900109
110config TARGET_AT91SAM9263EK
111 bool "Atmel at91sam9263 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800112 select AT91SAM9263
Simon Glassa5d67542017-01-23 13:31:20 -0700113 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900114
115config TARGET_USB_A9263
116 bool "Caloa USB A9260 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800117 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900118
119config TARGET_PM9263
120 bool "Ronetix pm9263 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800121 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900122
Masahiro Yamada4614b892015-02-20 17:04:01 +0900123config TARGET_AT91SAM9M10G45EK
124 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800125 select AT91SAM9M10G45
Simon Glassa5d67542017-01-23 13:31:20 -0700126 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200127 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900128
129config TARGET_PM9G45
130 bool "Ronetix pm9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800131 select AT91SAM9G45
Masahiro Yamada4614b892015-02-20 17:04:01 +0900132
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200133config TARGET_PICOSAM9G45
134 bool "Mini-box picosam9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800135 select AT91SAM9M10G45
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200136 select SUPPORT_SPL
137
Masahiro Yamada4614b892015-02-20 17:04:01 +0900138config TARGET_AT91SAM9N12EK
139 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800140 select AT91SAM9N12
Simon Glassa5d67542017-01-23 13:31:20 -0700141 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200142 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900143
144config TARGET_AT91SAM9RLEK
145 bool "Atmel at91sam9rl reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800146 select AT91SAM9RL
Simon Glassa5d67542017-01-23 13:31:20 -0700147 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900148
149config TARGET_AT91SAM9X5EK
150 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800151 select AT91SAM9X5
Simon Glassa5d67542017-01-23 13:31:20 -0700152 select BOARD_EARLY_INIT_F
Wenyou Yang40f34292017-09-18 15:26:01 +0800153 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200154 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900155
Stefan Roesea71e2f92019-04-02 10:57:27 +0200156config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
157 bool "GARDENA smart Gateway (AT91SAM)"
158 select AT91SAM9X5
159 select BOARD_EARLY_INIT_F
160 select BOARD_LATE_INIT
161 select SUPPORT_SPL
162
Sandeep Sheriker Mallikarjun51422662019-09-27 13:08:52 +0000163config TARGET_SAM9X60EK
164 bool "SAM9X60-EK board"
165 select SAM9X60
166 select BOARD_EARLY_INIT_F
167 select BOARD_LATE_INIT
168
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800169config TARGET_SAMA5D2_PTC_EK
170 bool "SAMA5D2 PTC EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700171 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200172 select SAMA5D2
Eugen Hristevcc1bdd22018-09-18 10:35:46 +0300173 select BOARD_LATE_INIT
Wenyou Yang9989c152016-02-26 17:20:26 +0800174
Wenyou Yang75238f22015-10-30 09:55:52 +0800175config TARGET_SAMA5D2_XPLAINED
176 bool "SAMA5D2 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700177 select BOARD_EARLY_INIT_F
Wenyou Yangd2cd09b2017-09-18 15:25:57 +0800178 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200179 select SAMA5D2
180 select SUPPORT_SPL
Wenyou Yang75238f22015-10-30 09:55:52 +0800181
Wenyou Yangce4054b2017-09-13 14:58:54 +0800182config TARGET_SAMA5D27_SOM1_EK
183 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800184 select BOARD_EARLY_INIT_F
185 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200186 select CPU_V7A
187 select SUPPORT_SPL
Eugen Hristevd231e372019-08-08 07:48:28 +0000188 select ATMEL_SFR
Wenyou Yangce4054b2017-09-13 14:58:54 +0800189 help
190 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
191 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
192 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
193 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
194 in a single package.
195
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000196config TARGET_SAMA5D27_WLSOM1_EK
197 bool "SAMA5D27 WLSOM1 EK board"
198 select SAMA5D2
199 select BOARD_EARLY_INIT_F
200 select BOARD_LATE_INIT
201 select CPU_V7A
Eugen Hristevc721c222019-08-08 07:48:35 +0000202 select SUPPORT_SPL
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000203 help
204 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
205 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
206 module providing bluetooth and wifi is also embedded.
207 The SAMA5D2 SiP integrates the ARM Cortex-A5
208 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
209 in a single package.
210
Eugen Hristevf0854522018-07-06 11:15:10 +0300211config TARGET_SAMA5D2_ICP
212 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristevd231e372019-08-08 07:48:28 +0000213 select SAMA5D2
Eugen Hristevf0854522018-07-06 11:15:10 +0300214 select SUPPORT_SPL
215 select BOARD_EARLY_INIT_F
216 select BOARD_LATE_INIT
217 help
218 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
219 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
220 EtherCat and WILC3000 devices on board.
221
Masahiro Yamada4614b892015-02-20 17:04:01 +0900222config TARGET_SAMA5D3_XPLAINED
223 bool "SAMA5D3 Xplained board"
Michal Simek5ed063d2018-07-23 15:55:13 +0200224 select BOARD_EARLY_INIT_F
Wenyou Yang22693372017-09-14 11:07:41 +0800225 select SAMA5D3
Masahiro Yamada4614b892015-02-20 17:04:01 +0900226 select SUPPORT_SPL
Eugen Hristev59e43c32018-09-18 10:35:44 +0300227 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900228
229config TARGET_SAMA5D3XEK
230 bool "SAMA5D3X-EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700231 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200232 select BOARD_LATE_INIT
233 select SAMA5D3
234 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900235
236config TARGET_SAMA5D4_XPLAINED
237 bool "SAMA5D4 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700238 select BOARD_EARLY_INIT_F
Wenyou Yange974b082017-09-18 15:26:00 +0800239 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200240 select SAMA5D4
241 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900242
243config TARGET_SAMA5D4EK
244 bool "SAMA5D4 Evaluation Kit"
Simon Glassa5d67542017-01-23 13:31:20 -0700245 select BOARD_EARLY_INIT_F
Wenyou Yang4b0467d2017-09-18 15:25:59 +0800246 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200247 select SAMA5D4
248 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900249
Masahiro Yamada4614b892015-02-20 17:04:01 +0900250config TARGET_MEESC
251 bool "Support meesc"
Wenyou Yang22693372017-09-14 11:07:41 +0800252 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900253
Masahiro Yamada4614b892015-02-20 17:04:01 +0900254config TARGET_CORVUS
255 bool "Support corvus"
Wenyou Yang22693372017-09-14 11:07:41 +0800256 select AT91SAM9M10G45
Heiko Schocher289f9792016-05-25 07:23:45 +0200257 select DM
Heiko Schocher289f9792016-05-25 07:23:45 +0200258 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200259 select DM_GPIO
260 select DM_SERIAL
261 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200262 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900263
264config TARGET_TAURUS
265 bool "Support taurus"
Wenyou Yang22693372017-09-14 11:07:41 +0800266 select AT91SAM9G20
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200267 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200268 select DM_ETH
269 select DM_GPIO
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200270 select DM_SERIAL
Jagan Teki8b562ef2018-03-14 18:46:34 +0530271 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -0400272 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200273 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200274 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900275
Heiko Schocher3b5df502015-06-29 09:10:48 +0200276config TARGET_SMARTWEB
277 bool "Support smartweb"
Wenyou Yang22693372017-09-14 11:07:41 +0800278 select AT91SAM9260
Heiko Schocher13ee7892016-05-25 07:23:47 +0200279 select DM
Heiko Schocher13ee7892016-05-25 07:23:47 +0200280 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200281 select DM_GPIO
282 select DM_SERIAL
283 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200284 imply CMD_DM
Heiko Schocher3b5df502015-06-29 09:10:48 +0200285
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100286config TARGET_VINCO
287 bool "Support VINCO"
Jagan Teki1a2131c2018-03-14 18:46:35 +0530288 select DM
Jagan Tekic60bfe92018-03-14 18:46:37 +0530289 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200290 select SAMA5D4
Adam Fordf1b1f772018-04-15 13:51:26 -0400291 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200292 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200293 imply CMD_DM
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100294
Ben Whitten5aaef602017-11-23 13:47:47 +0000295config TARGET_WB45N
296 bool "Support Laird WB45N"
297 select CPU_ARM926EJS
298 select SUPPORT_SPL
299
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000300config TARGET_WB50N
301 bool "Support Laird WB50N"
Michal Simek5ed063d2018-07-23 15:55:13 +0200302 select BOARD_EARLY_INIT_F
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000303 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530304 select CPU_V7A
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000305 select SUPPORT_SPL
Eugen Hristevf64ec162019-08-08 07:48:31 +0000306 select ATMEL_SFR
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000307
Masahiro Yamada4614b892015-02-20 17:04:01 +0900308endchoice
309
Eugen Hristevd231e372019-08-08 07:48:28 +0000310config ATMEL_SFR
311 bool
312 default n
313
Masahiro Yamada4614b892015-02-20 17:04:01 +0900314config SYS_SOC
315 default "at91"
316
317source "board/atmel/at91rm9200ek/Kconfig"
318source "board/atmel/at91sam9260ek/Kconfig"
319source "board/atmel/at91sam9261ek/Kconfig"
320source "board/atmel/at91sam9263ek/Kconfig"
321source "board/atmel/at91sam9m10g45ek/Kconfig"
322source "board/atmel/at91sam9n12ek/Kconfig"
323source "board/atmel/at91sam9rlek/Kconfig"
324source "board/atmel/at91sam9x5ek/Kconfig"
Sandeep Sheriker Mallikarjun51422662019-09-27 13:08:52 +0000325source "board/atmel/sam9x60ek/Kconfig"
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800326source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yang75238f22015-10-30 09:55:52 +0800327source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800328source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000329source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristevf0854522018-07-06 11:15:10 +0300330source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900331source "board/atmel/sama5d3_xplained/Kconfig"
332source "board/atmel/sama5d3xek/Kconfig"
333source "board/atmel/sama5d4_xplained/Kconfig"
334source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud885fc032016-05-05 07:28:22 -0600335source "board/bluewater/gurnard/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900336source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900337source "board/calao/usb_a9263/Kconfig"
338source "board/egnite/ethernut5/Kconfig"
339source "board/esd/meesc/Kconfig"
Stefan Roesea71e2f92019-04-02 10:57:27 +0200340source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100341source "board/l+g/vinco/Kconfig"
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200342source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900343source "board/ronetix/pm9261/Kconfig"
344source "board/ronetix/pm9263/Kconfig"
345source "board/ronetix/pm9g45/Kconfig"
346source "board/siemens/corvus/Kconfig"
347source "board/siemens/taurus/Kconfig"
Heiko Schocher3b5df502015-06-29 09:10:48 +0200348source "board/siemens/smartweb/Kconfig"
Ben Whitten5aaef602017-11-23 13:47:47 +0000349source "board/laird/wb45n/Kconfig"
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000350source "board/laird/wb50n/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900351
Philipp Tomsichb5299932017-08-03 23:23:55 +0200352config SPL_LDSCRIPT
353 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530354 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsichb5299932017-08-03 23:23:55 +0200355
Masahiro Yamada4614b892015-02-20 17:04:01 +0900356endif