blob: ad09731e4d46389606f9289425fa3a4bd1bec1ad [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
46config SAMA5D2
47 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053048 select CPU_V7A
Eugen Hristevd231e372019-08-08 07:48:28 +000049 select ATMEL_SFR
Wenyou Yang22693372017-09-14 11:07:41 +080050
51config SAMA5D3
52 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053053 select CPU_V7A
Wenyou Yang22693372017-09-14 11:07:41 +080054
55config SAMA5D4
56 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053057 select CPU_V7A
Eugen Hristevd231e372019-08-08 07:48:28 +000058 select ATMEL_SFR
Wenyou Yang22693372017-09-14 11:07:41 +080059
Masahiro Yamada4614b892015-02-20 17:04:01 +090060choice
61 prompt "Atmel AT91 board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050062 optional
Masahiro Yamada4614b892015-02-20 17:04:01 +090063
64config TARGET_AT91RM9200EK
65 bool "Atmel AT91RM9200 evaluation kit"
66 select CPU_ARM920T
67
Masahiro Yamada4614b892015-02-20 17:04:01 +090068config TARGET_AT91SAM9260EK
69 bool "Atmel at91sam9260 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080070 select AT91SAM9260
Simon Glassa5d67542017-01-23 13:31:20 -070071 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090072
73config TARGET_ETHERNUT5
74 bool "Ethernut5 board"
Wenyou Yang22693372017-09-14 11:07:41 +080075 select AT91SAM9XE
Masahiro Yamada4614b892015-02-20 17:04:01 +090076
Masahiro Yamada4614b892015-02-20 17:04:01 +090077config TARGET_SNAPPER9260
78 bool "Support snapper9260"
Wenyou Yang22693372017-09-14 11:07:41 +080079 select AT91SAM9260
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090080 select DM
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090081 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +020082 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +020083 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +090084
Andre Renaud885fc032016-05-05 07:28:22 -060085config TARGET_GURNARD
86 bool "Support gurnard"
Wenyou Yang22693372017-09-14 11:07:41 +080087 select AT91SAM9G45
Tom Rinie5ec4812017-01-22 19:43:11 -050088 select BOARD_LATE_INIT
Andre Renaud885fc032016-05-05 07:28:22 -060089 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +020090 select DM_ETH
91 select DM_GPIO
Andre Renaud885fc032016-05-05 07:28:22 -060092 select DM_SERIAL
Jagan Teki08afabc2018-03-14 18:46:32 +053093 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -040094 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +020095 imply CMD_DM
Andre Renaud885fc032016-05-05 07:28:22 -060096
Masahiro Yamada4614b892015-02-20 17:04:01 +090097config TARGET_AT91SAM9261EK
98 bool "Atmel at91sam9261 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080099 select AT91SAM9261
Wenyou.Yang@microchip.com324873e2017-07-21 13:28:40 +0800100 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900101
102config TARGET_PM9261
103 bool "Ronetix pm9261 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800104 select AT91SAM9261
Masahiro Yamada4614b892015-02-20 17:04:01 +0900105
106config TARGET_AT91SAM9263EK
107 bool "Atmel at91sam9263 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800108 select AT91SAM9263
Simon Glassa5d67542017-01-23 13:31:20 -0700109 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900110
111config TARGET_USB_A9263
112 bool "Caloa USB A9260 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800113 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900114
115config TARGET_PM9263
116 bool "Ronetix pm9263 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800117 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900118
Masahiro Yamada4614b892015-02-20 17:04:01 +0900119config TARGET_AT91SAM9M10G45EK
120 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800121 select AT91SAM9M10G45
Simon Glassa5d67542017-01-23 13:31:20 -0700122 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200123 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900124
125config TARGET_PM9G45
126 bool "Ronetix pm9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800127 select AT91SAM9G45
Masahiro Yamada4614b892015-02-20 17:04:01 +0900128
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200129config TARGET_PICOSAM9G45
130 bool "Mini-box picosam9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800131 select AT91SAM9M10G45
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200132 select SUPPORT_SPL
133
Masahiro Yamada4614b892015-02-20 17:04:01 +0900134config TARGET_AT91SAM9N12EK
135 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800136 select AT91SAM9N12
Simon Glassa5d67542017-01-23 13:31:20 -0700137 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200138 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900139
140config TARGET_AT91SAM9RLEK
141 bool "Atmel at91sam9rl reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800142 select AT91SAM9RL
Simon Glassa5d67542017-01-23 13:31:20 -0700143 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900144
145config TARGET_AT91SAM9X5EK
146 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800147 select AT91SAM9X5
Simon Glassa5d67542017-01-23 13:31:20 -0700148 select BOARD_EARLY_INIT_F
Wenyou Yang40f34292017-09-18 15:26:01 +0800149 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200150 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900151
Stefan Roesea71e2f92019-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 Desrochesaaa4ba92017-11-17 14:57:12 +0800159config TARGET_SAMA5D2_PTC_EK
160 bool "SAMA5D2 PTC EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700161 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200162 select SAMA5D2
Eugen Hristevcc1bdd22018-09-18 10:35:46 +0300163 select BOARD_LATE_INIT
Wenyou Yang9989c152016-02-26 17:20:26 +0800164
Wenyou Yang75238f22015-10-30 09:55:52 +0800165config TARGET_SAMA5D2_XPLAINED
166 bool "SAMA5D2 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700167 select BOARD_EARLY_INIT_F
Wenyou Yangd2cd09b2017-09-18 15:25:57 +0800168 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200169 select SAMA5D2
170 select SUPPORT_SPL
Wenyou Yang75238f22015-10-30 09:55:52 +0800171
Wenyou Yangce4054b2017-09-13 14:58:54 +0800172config TARGET_SAMA5D27_SOM1_EK
173 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800174 select BOARD_EARLY_INIT_F
175 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200176 select CPU_V7A
177 select SUPPORT_SPL
Eugen Hristevd231e372019-08-08 07:48:28 +0000178 select ATMEL_SFR
Wenyou Yangce4054b2017-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 Ferre44b5c402019-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 Hristevf0854522018-07-06 11:15:10 +0300200config TARGET_SAMA5D2_ICP
201 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristevd231e372019-08-08 07:48:28 +0000202 select SAMA5D2
Eugen Hristevf0854522018-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 Yamada4614b892015-02-20 17:04:01 +0900211config TARGET_SAMA5D3_XPLAINED
212 bool "SAMA5D3 Xplained board"
Michal Simek5ed063d2018-07-23 15:55:13 +0200213 select BOARD_EARLY_INIT_F
Wenyou Yang22693372017-09-14 11:07:41 +0800214 select SAMA5D3
Masahiro Yamada4614b892015-02-20 17:04:01 +0900215 select SUPPORT_SPL
Eugen Hristev59e43c32018-09-18 10:35:44 +0300216 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900217
218config TARGET_SAMA5D3XEK
219 bool "SAMA5D3X-EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700220 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200221 select BOARD_LATE_INIT
222 select SAMA5D3
223 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900224
225config TARGET_SAMA5D4_XPLAINED
226 bool "SAMA5D4 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700227 select BOARD_EARLY_INIT_F
Wenyou Yange974b082017-09-18 15:26:00 +0800228 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200229 select SAMA5D4
230 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900231
232config TARGET_SAMA5D4EK
233 bool "SAMA5D4 Evaluation Kit"
Simon Glassa5d67542017-01-23 13:31:20 -0700234 select BOARD_EARLY_INIT_F
Wenyou Yang4b0467d2017-09-18 15:25:59 +0800235 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200236 select SAMA5D4
237 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900238
Masahiro Yamada4614b892015-02-20 17:04:01 +0900239config TARGET_MEESC
240 bool "Support meesc"
Wenyou Yang22693372017-09-14 11:07:41 +0800241 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900242
Masahiro Yamada4614b892015-02-20 17:04:01 +0900243config TARGET_CORVUS
244 bool "Support corvus"
Wenyou Yang22693372017-09-14 11:07:41 +0800245 select AT91SAM9M10G45
Heiko Schocher289f9792016-05-25 07:23:45 +0200246 select DM
Heiko Schocher289f9792016-05-25 07:23:45 +0200247 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200248 select DM_GPIO
249 select DM_SERIAL
250 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200251 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900252
253config TARGET_TAURUS
254 bool "Support taurus"
Wenyou Yang22693372017-09-14 11:07:41 +0800255 select AT91SAM9G20
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200256 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200257 select DM_ETH
258 select DM_GPIO
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200259 select DM_SERIAL
Jagan Teki8b562ef2018-03-14 18:46:34 +0530260 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -0400261 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200262 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200263 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900264
Heiko Schocher3b5df502015-06-29 09:10:48 +0200265config TARGET_SMARTWEB
266 bool "Support smartweb"
Wenyou Yang22693372017-09-14 11:07:41 +0800267 select AT91SAM9260
Heiko Schocher13ee7892016-05-25 07:23:47 +0200268 select DM
Heiko Schocher13ee7892016-05-25 07:23:47 +0200269 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200270 select DM_GPIO
271 select DM_SERIAL
272 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200273 imply CMD_DM
Heiko Schocher3b5df502015-06-29 09:10:48 +0200274
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100275config TARGET_VINCO
276 bool "Support VINCO"
Jagan Teki1a2131c2018-03-14 18:46:35 +0530277 select DM
Jagan Tekic60bfe92018-03-14 18:46:37 +0530278 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200279 select SAMA5D4
Adam Fordf1b1f772018-04-15 13:51:26 -0400280 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200281 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200282 imply CMD_DM
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100283
Ben Whitten5aaef602017-11-23 13:47:47 +0000284config TARGET_WB45N
285 bool "Support Laird WB45N"
286 select CPU_ARM926EJS
287 select SUPPORT_SPL
288
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000289config TARGET_WB50N
290 bool "Support Laird WB50N"
Michal Simek5ed063d2018-07-23 15:55:13 +0200291 select BOARD_EARLY_INIT_F
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000292 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530293 select CPU_V7A
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000294 select SUPPORT_SPL
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000295
Masahiro Yamada4614b892015-02-20 17:04:01 +0900296endchoice
297
Eugen Hristevd231e372019-08-08 07:48:28 +0000298config ATMEL_SFR
299 bool
300 default n
301
Masahiro Yamada4614b892015-02-20 17:04:01 +0900302config SYS_SOC
303 default "at91"
304
305source "board/atmel/at91rm9200ek/Kconfig"
306source "board/atmel/at91sam9260ek/Kconfig"
307source "board/atmel/at91sam9261ek/Kconfig"
308source "board/atmel/at91sam9263ek/Kconfig"
309source "board/atmel/at91sam9m10g45ek/Kconfig"
310source "board/atmel/at91sam9n12ek/Kconfig"
311source "board/atmel/at91sam9rlek/Kconfig"
312source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800313source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yang75238f22015-10-30 09:55:52 +0800314source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800315source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre44b5c402019-08-08 07:48:26 +0000316source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristevf0854522018-07-06 11:15:10 +0300317source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900318source "board/atmel/sama5d3_xplained/Kconfig"
319source "board/atmel/sama5d3xek/Kconfig"
320source "board/atmel/sama5d4_xplained/Kconfig"
321source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud885fc032016-05-05 07:28:22 -0600322source "board/bluewater/gurnard/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900323source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900324source "board/calao/usb_a9263/Kconfig"
325source "board/egnite/ethernut5/Kconfig"
326source "board/esd/meesc/Kconfig"
Stefan Roesea71e2f92019-04-02 10:57:27 +0200327source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100328source "board/l+g/vinco/Kconfig"
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200329source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamada4614b892015-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 Schocher3b5df502015-06-29 09:10:48 +0200335source "board/siemens/smartweb/Kconfig"
Ben Whitten5aaef602017-11-23 13:47:47 +0000336source "board/laird/wb45n/Kconfig"
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000337source "board/laird/wb50n/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900338
Philipp Tomsichb5299932017-08-03 23:23:55 +0200339config SPL_LDSCRIPT
340 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530341 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsichb5299932017-08-03 23:23:55 +0200342
Masahiro Yamada4614b892015-02-20 17:04:01 +0900343endif