blob: 3cf13042b7b47e201b320dddd4b3173d0aa5f905 [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
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800163config TARGET_SAMA5D2_PTC_EK
164 bool "SAMA5D2 PTC EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700165 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200166 select SAMA5D2
Eugen Hristevcc1bdd22018-09-18 10:35:46 +0300167 select BOARD_LATE_INIT
Wenyou Yang9989c152016-02-26 17:20:26 +0800168
Wenyou Yang75238f22015-10-30 09:55:52 +0800169config TARGET_SAMA5D2_XPLAINED
170 bool "SAMA5D2 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700171 select BOARD_EARLY_INIT_F
Wenyou Yangd2cd09b2017-09-18 15:25:57 +0800172 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200173 select SAMA5D2
174 select SUPPORT_SPL
Wenyou Yang75238f22015-10-30 09:55:52 +0800175
Wenyou Yangce4054b2017-09-13 14:58:54 +0800176config TARGET_SAMA5D27_SOM1_EK
177 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800178 select BOARD_EARLY_INIT_F
179 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200180 select CPU_V7A
181 select SUPPORT_SPL
Eugen Hristevd231e372019-08-08 07:48:28 +0000182 select ATMEL_SFR
Wenyou Yangce4054b2017-09-13 14:58:54 +0800183 help
184 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
185 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
186 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
187 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
188 in a single package.
189
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000190config TARGET_SAMA5D27_WLSOM1_EK
191 bool "SAMA5D27 WLSOM1 EK board"
192 select SAMA5D2
193 select BOARD_EARLY_INIT_F
194 select BOARD_LATE_INIT
195 select CPU_V7A
Eugen Hristevc721c222019-08-08 07:48:35 +0000196 select SUPPORT_SPL
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000197 help
198 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
199 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
200 module providing bluetooth and wifi is also embedded.
201 The SAMA5D2 SiP integrates the ARM Cortex-A5
202 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
203 in a single package.
204
Eugen Hristevf0854522018-07-06 11:15:10 +0300205config TARGET_SAMA5D2_ICP
206 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristevd231e372019-08-08 07:48:28 +0000207 select SAMA5D2
Eugen Hristevf0854522018-07-06 11:15:10 +0300208 select SUPPORT_SPL
209 select BOARD_EARLY_INIT_F
210 select BOARD_LATE_INIT
211 help
212 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
213 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
214 EtherCat and WILC3000 devices on board.
215
Masahiro Yamada4614b892015-02-20 17:04:01 +0900216config TARGET_SAMA5D3_XPLAINED
217 bool "SAMA5D3 Xplained board"
Michal Simek5ed063d2018-07-23 15:55:13 +0200218 select BOARD_EARLY_INIT_F
Wenyou Yang22693372017-09-14 11:07:41 +0800219 select SAMA5D3
Masahiro Yamada4614b892015-02-20 17:04:01 +0900220 select SUPPORT_SPL
Eugen Hristev59e43c32018-09-18 10:35:44 +0300221 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900222
223config TARGET_SAMA5D3XEK
224 bool "SAMA5D3X-EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700225 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200226 select BOARD_LATE_INIT
227 select SAMA5D3
228 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900229
230config TARGET_SAMA5D4_XPLAINED
231 bool "SAMA5D4 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700232 select BOARD_EARLY_INIT_F
Wenyou Yange974b082017-09-18 15:26:00 +0800233 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200234 select SAMA5D4
235 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900236
237config TARGET_SAMA5D4EK
238 bool "SAMA5D4 Evaluation Kit"
Simon Glassa5d67542017-01-23 13:31:20 -0700239 select BOARD_EARLY_INIT_F
Wenyou Yang4b0467d2017-09-18 15:25:59 +0800240 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200241 select SAMA5D4
242 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900243
Masahiro Yamada4614b892015-02-20 17:04:01 +0900244config TARGET_MEESC
245 bool "Support meesc"
Wenyou Yang22693372017-09-14 11:07:41 +0800246 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900247
Masahiro Yamada4614b892015-02-20 17:04:01 +0900248config TARGET_CORVUS
249 bool "Support corvus"
Wenyou Yang22693372017-09-14 11:07:41 +0800250 select AT91SAM9M10G45
Heiko Schocher289f9792016-05-25 07:23:45 +0200251 select DM
Heiko Schocher289f9792016-05-25 07:23:45 +0200252 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200253 select DM_GPIO
254 select DM_SERIAL
255 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200256 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900257
258config TARGET_TAURUS
259 bool "Support taurus"
Wenyou Yang22693372017-09-14 11:07:41 +0800260 select AT91SAM9G20
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200261 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200262 select DM_ETH
263 select DM_GPIO
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200264 select DM_SERIAL
Jagan Teki8b562ef2018-03-14 18:46:34 +0530265 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -0400266 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200267 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200268 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900269
Heiko Schocher3b5df502015-06-29 09:10:48 +0200270config TARGET_SMARTWEB
271 bool "Support smartweb"
Wenyou Yang22693372017-09-14 11:07:41 +0800272 select AT91SAM9260
Heiko Schocher13ee7892016-05-25 07:23:47 +0200273 select DM
Heiko Schocher13ee7892016-05-25 07:23:47 +0200274 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200275 select DM_GPIO
276 select DM_SERIAL
277 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200278 imply CMD_DM
Heiko Schocher3b5df502015-06-29 09:10:48 +0200279
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100280config TARGET_VINCO
281 bool "Support VINCO"
Jagan Teki1a2131c2018-03-14 18:46:35 +0530282 select DM
Jagan Tekic60bfe92018-03-14 18:46:37 +0530283 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200284 select SAMA5D4
Adam Fordf1b1f772018-04-15 13:51:26 -0400285 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200286 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200287 imply CMD_DM
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100288
Ben Whitten5aaef602017-11-23 13:47:47 +0000289config TARGET_WB45N
290 bool "Support Laird WB45N"
291 select CPU_ARM926EJS
292 select SUPPORT_SPL
293
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000294config TARGET_WB50N
295 bool "Support Laird WB50N"
Michal Simek5ed063d2018-07-23 15:55:13 +0200296 select BOARD_EARLY_INIT_F
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000297 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530298 select CPU_V7A
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000299 select SUPPORT_SPL
Eugen Hristevf64ec162019-08-08 07:48:31 +0000300 select ATMEL_SFR
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000301
Masahiro Yamada4614b892015-02-20 17:04:01 +0900302endchoice
303
Eugen Hristevd231e372019-08-08 07:48:28 +0000304config ATMEL_SFR
305 bool
306 default n
307
Masahiro Yamada4614b892015-02-20 17:04:01 +0900308config SYS_SOC
309 default "at91"
310
311source "board/atmel/at91rm9200ek/Kconfig"
312source "board/atmel/at91sam9260ek/Kconfig"
313source "board/atmel/at91sam9261ek/Kconfig"
314source "board/atmel/at91sam9263ek/Kconfig"
315source "board/atmel/at91sam9m10g45ek/Kconfig"
316source "board/atmel/at91sam9n12ek/Kconfig"
317source "board/atmel/at91sam9rlek/Kconfig"
318source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800319source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yang75238f22015-10-30 09:55:52 +0800320source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800321source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000322source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristevf0854522018-07-06 11:15:10 +0300323source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900324source "board/atmel/sama5d3_xplained/Kconfig"
325source "board/atmel/sama5d3xek/Kconfig"
326source "board/atmel/sama5d4_xplained/Kconfig"
327source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud885fc032016-05-05 07:28:22 -0600328source "board/bluewater/gurnard/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900329source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900330source "board/calao/usb_a9263/Kconfig"
331source "board/egnite/ethernut5/Kconfig"
332source "board/esd/meesc/Kconfig"
Stefan Roesea71e2f92019-04-02 10:57:27 +0200333source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100334source "board/l+g/vinco/Kconfig"
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200335source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamada4614b892015-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 Schocher3b5df502015-06-29 09:10:48 +0200341source "board/siemens/smartweb/Kconfig"
Ben Whitten5aaef602017-11-23 13:47:47 +0000342source "board/laird/wb45n/Kconfig"
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000343source "board/laird/wb50n/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900344
Philipp Tomsichb5299932017-08-03 23:23:55 +0200345config SPL_LDSCRIPT
346 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530347 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsichb5299932017-08-03 23:23:55 +0200348
Masahiro Yamada4614b892015-02-20 17:04:01 +0900349endif