blob: c3b21b7557e64828d2d37a237ba5493b0354ea54 [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
Wenyou Yang22693372017-09-14 11:07:41 +080049
50config SAMA5D3
51 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053052 select CPU_V7A
Wenyou Yang22693372017-09-14 11:07:41 +080053
54config SAMA5D4
55 bool
Lokesh Vutlaacf15002018-04-26 18:21:26 +053056 select CPU_V7A
Wenyou Yang22693372017-09-14 11:07:41 +080057
Masahiro Yamada4614b892015-02-20 17:04:01 +090058choice
59 prompt "Atmel AT91 board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050060 optional
Masahiro Yamada4614b892015-02-20 17:04:01 +090061
62config TARGET_AT91RM9200EK
63 bool "Atmel AT91RM9200 evaluation kit"
64 select CPU_ARM920T
65
Masahiro Yamada4614b892015-02-20 17:04:01 +090066config TARGET_AT91SAM9260EK
67 bool "Atmel at91sam9260 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080068 select AT91SAM9260
Simon Glassa5d67542017-01-23 13:31:20 -070069 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090070
71config TARGET_ETHERNUT5
72 bool "Ethernut5 board"
Wenyou Yang22693372017-09-14 11:07:41 +080073 select AT91SAM9XE
Masahiro Yamada4614b892015-02-20 17:04:01 +090074
Masahiro Yamada4614b892015-02-20 17:04:01 +090075config TARGET_SNAPPER9260
76 bool "Support snapper9260"
Wenyou Yang22693372017-09-14 11:07:41 +080077 select AT91SAM9260
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090078 select DM
Masahiro Yamadaab7b8852015-03-31 12:47:57 +090079 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +020080 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +020081 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +090082
Andre Renaud885fc032016-05-05 07:28:22 -060083config TARGET_GURNARD
84 bool "Support gurnard"
Wenyou Yang22693372017-09-14 11:07:41 +080085 select AT91SAM9G45
Tom Rinie5ec4812017-01-22 19:43:11 -050086 select BOARD_LATE_INIT
Andre Renaud885fc032016-05-05 07:28:22 -060087 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +020088 select DM_ETH
89 select DM_GPIO
Andre Renaud885fc032016-05-05 07:28:22 -060090 select DM_SERIAL
Jagan Teki08afabc2018-03-14 18:46:32 +053091 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -040092 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +020093 imply CMD_DM
Andre Renaud885fc032016-05-05 07:28:22 -060094
Masahiro Yamada4614b892015-02-20 17:04:01 +090095config TARGET_AT91SAM9261EK
96 bool "Atmel at91sam9261 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +080097 select AT91SAM9261
Wenyou.Yang@microchip.com324873e2017-07-21 13:28:40 +080098 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +090099
100config TARGET_PM9261
101 bool "Ronetix pm9261 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800102 select AT91SAM9261
Masahiro Yamada4614b892015-02-20 17:04:01 +0900103
104config TARGET_AT91SAM9263EK
105 bool "Atmel at91sam9263 reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800106 select AT91SAM9263
Simon Glassa5d67542017-01-23 13:31:20 -0700107 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900108
109config TARGET_USB_A9263
110 bool "Caloa USB A9260 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800111 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900112
113config TARGET_PM9263
114 bool "Ronetix pm9263 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800115 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900116
Masahiro Yamada4614b892015-02-20 17:04:01 +0900117config TARGET_AT91SAM9M10G45EK
118 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800119 select AT91SAM9M10G45
Simon Glassa5d67542017-01-23 13:31:20 -0700120 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200121 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900122
123config TARGET_PM9G45
124 bool "Ronetix pm9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800125 select AT91SAM9G45
Masahiro Yamada4614b892015-02-20 17:04:01 +0900126
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200127config TARGET_PICOSAM9G45
128 bool "Mini-box picosam9g45 board"
Wenyou Yang22693372017-09-14 11:07:41 +0800129 select AT91SAM9M10G45
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200130 select SUPPORT_SPL
131
Masahiro Yamada4614b892015-02-20 17:04:01 +0900132config TARGET_AT91SAM9N12EK
133 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800134 select AT91SAM9N12
Simon Glassa5d67542017-01-23 13:31:20 -0700135 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200136 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900137
138config TARGET_AT91SAM9RLEK
139 bool "Atmel at91sam9rl reference board"
Wenyou Yang22693372017-09-14 11:07:41 +0800140 select AT91SAM9RL
Simon Glassa5d67542017-01-23 13:31:20 -0700141 select BOARD_EARLY_INIT_F
Masahiro Yamada4614b892015-02-20 17:04:01 +0900142
143config TARGET_AT91SAM9X5EK
144 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yang22693372017-09-14 11:07:41 +0800145 select AT91SAM9X5
Simon Glassa5d67542017-01-23 13:31:20 -0700146 select BOARD_EARLY_INIT_F
Wenyou Yang40f34292017-09-18 15:26:01 +0800147 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200148 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900149
Stefan Roesea71e2f92019-04-02 10:57:27 +0200150config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
151 bool "GARDENA smart Gateway (AT91SAM)"
152 select AT91SAM9X5
153 select BOARD_EARLY_INIT_F
154 select BOARD_LATE_INIT
155 select SUPPORT_SPL
156
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800157config TARGET_SAMA5D2_PTC_EK
158 bool "SAMA5D2 PTC EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700159 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200160 select SAMA5D2
Eugen Hristevcc1bdd22018-09-18 10:35:46 +0300161 select BOARD_LATE_INIT
Wenyou Yang9989c152016-02-26 17:20:26 +0800162
Wenyou Yang75238f22015-10-30 09:55:52 +0800163config TARGET_SAMA5D2_XPLAINED
164 bool "SAMA5D2 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700165 select BOARD_EARLY_INIT_F
Wenyou Yangd2cd09b2017-09-18 15:25:57 +0800166 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200167 select SAMA5D2
168 select SUPPORT_SPL
Wenyou Yang75238f22015-10-30 09:55:52 +0800169
Wenyou Yangce4054b2017-09-13 14:58:54 +0800170config TARGET_SAMA5D27_SOM1_EK
171 bool "SAMA5D27 SOM1 EK board"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800172 select BOARD_EARLY_INIT_F
173 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200174 select CPU_V7A
175 select SUPPORT_SPL
Wenyou Yangce4054b2017-09-13 14:58:54 +0800176 help
177 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
178 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
179 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
180 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
181 in a single package.
182
Eugen Hristevf0854522018-07-06 11:15:10 +0300183config TARGET_SAMA5D2_ICP
184 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
185 select CPU_V7A
186 select SUPPORT_SPL
187 select BOARD_EARLY_INIT_F
188 select BOARD_LATE_INIT
189 help
190 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
191 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
192 EtherCat and WILC3000 devices on board.
193
Masahiro Yamada4614b892015-02-20 17:04:01 +0900194config TARGET_SAMA5D3_XPLAINED
195 bool "SAMA5D3 Xplained board"
Michal Simek5ed063d2018-07-23 15:55:13 +0200196 select BOARD_EARLY_INIT_F
Wenyou Yang22693372017-09-14 11:07:41 +0800197 select SAMA5D3
Masahiro Yamada4614b892015-02-20 17:04:01 +0900198 select SUPPORT_SPL
Eugen Hristev59e43c32018-09-18 10:35:44 +0300199 select BOARD_LATE_INIT
Masahiro Yamada4614b892015-02-20 17:04:01 +0900200
201config TARGET_SAMA5D3XEK
202 bool "SAMA5D3X-EK board"
Simon Glassa5d67542017-01-23 13:31:20 -0700203 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200204 select BOARD_LATE_INIT
205 select SAMA5D3
206 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900207
208config TARGET_SAMA5D4_XPLAINED
209 bool "SAMA5D4 Xplained board"
Simon Glassa5d67542017-01-23 13:31:20 -0700210 select BOARD_EARLY_INIT_F
Wenyou Yange974b082017-09-18 15:26:00 +0800211 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200212 select SAMA5D4
213 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900214
215config TARGET_SAMA5D4EK
216 bool "SAMA5D4 Evaluation Kit"
Simon Glassa5d67542017-01-23 13:31:20 -0700217 select BOARD_EARLY_INIT_F
Wenyou Yang4b0467d2017-09-18 15:25:59 +0800218 select BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200219 select SAMA5D4
220 select SUPPORT_SPL
Masahiro Yamada4614b892015-02-20 17:04:01 +0900221
Masahiro Yamada4614b892015-02-20 17:04:01 +0900222config TARGET_MEESC
223 bool "Support meesc"
Wenyou Yang22693372017-09-14 11:07:41 +0800224 select AT91SAM9263
Masahiro Yamada4614b892015-02-20 17:04:01 +0900225
Masahiro Yamada4614b892015-02-20 17:04:01 +0900226config TARGET_CORVUS
227 bool "Support corvus"
Wenyou Yang22693372017-09-14 11:07:41 +0800228 select AT91SAM9M10G45
Heiko Schocher289f9792016-05-25 07:23:45 +0200229 select DM
Heiko Schocher289f9792016-05-25 07:23:45 +0200230 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200231 select DM_GPIO
232 select DM_SERIAL
233 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200234 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900235
236config TARGET_TAURUS
237 bool "Support taurus"
Wenyou Yang22693372017-09-14 11:07:41 +0800238 select AT91SAM9G20
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200239 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200240 select DM_ETH
241 select DM_GPIO
Heiko Schocher8e6e8222016-05-25 07:23:48 +0200242 select DM_SERIAL
Jagan Teki8b562ef2018-03-14 18:46:34 +0530243 select DM_SPI
Adam Fordf1b1f772018-04-15 13:51:26 -0400244 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200245 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200246 imply CMD_DM
Masahiro Yamada4614b892015-02-20 17:04:01 +0900247
Heiko Schocher3b5df502015-06-29 09:10:48 +0200248config TARGET_SMARTWEB
249 bool "Support smartweb"
Wenyou Yang22693372017-09-14 11:07:41 +0800250 select AT91SAM9260
Heiko Schocher13ee7892016-05-25 07:23:47 +0200251 select DM
Heiko Schocher13ee7892016-05-25 07:23:47 +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
Heiko Schocher3b5df502015-06-29 09:10:48 +0200257
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100258config TARGET_VINCO
259 bool "Support VINCO"
Jagan Teki1a2131c2018-03-14 18:46:35 +0530260 select DM
Jagan Tekic60bfe92018-03-14 18:46:37 +0530261 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200262 select SAMA5D4
Adam Fordf1b1f772018-04-15 13:51:26 -0400263 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200264 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200265 imply CMD_DM
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100266
Ben Whitten5aaef602017-11-23 13:47:47 +0000267config TARGET_WB45N
268 bool "Support Laird WB45N"
269 select CPU_ARM926EJS
270 select SUPPORT_SPL
271
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000272config TARGET_WB50N
273 bool "Support Laird WB50N"
Michal Simek5ed063d2018-07-23 15:55:13 +0200274 select BOARD_EARLY_INIT_F
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000275 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530276 select CPU_V7A
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000277 select SUPPORT_SPL
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000278
Masahiro Yamada4614b892015-02-20 17:04:01 +0900279endchoice
280
281config SYS_SOC
282 default "at91"
283
284source "board/atmel/at91rm9200ek/Kconfig"
285source "board/atmel/at91sam9260ek/Kconfig"
286source "board/atmel/at91sam9261ek/Kconfig"
287source "board/atmel/at91sam9263ek/Kconfig"
288source "board/atmel/at91sam9m10g45ek/Kconfig"
289source "board/atmel/at91sam9n12ek/Kconfig"
290source "board/atmel/at91sam9rlek/Kconfig"
291source "board/atmel/at91sam9x5ek/Kconfig"
Ludovic Desrochesaaa4ba92017-11-17 14:57:12 +0800292source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yang75238f22015-10-30 09:55:52 +0800293source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangce4054b2017-09-13 14:58:54 +0800294source "board/atmel/sama5d27_som1_ek/Kconfig"
Eugen Hristevf0854522018-07-06 11:15:10 +0300295source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900296source "board/atmel/sama5d3_xplained/Kconfig"
297source "board/atmel/sama5d3xek/Kconfig"
298source "board/atmel/sama5d4_xplained/Kconfig"
299source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud885fc032016-05-05 07:28:22 -0600300source "board/bluewater/gurnard/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900301source "board/bluewater/snapper9260/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900302source "board/calao/usb_a9263/Kconfig"
303source "board/egnite/ethernut5/Kconfig"
304source "board/esd/meesc/Kconfig"
Stefan Roesea71e2f92019-04-02 10:57:27 +0200305source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT522e4fb2015-12-16 17:01:44 +0100306source "board/l+g/vinco/Kconfig"
Erik van Luijkbfc37f32015-08-17 12:47:34 +0200307source "board/mini-box/picosam9g45/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900308source "board/ronetix/pm9261/Kconfig"
309source "board/ronetix/pm9263/Kconfig"
310source "board/ronetix/pm9g45/Kconfig"
311source "board/siemens/corvus/Kconfig"
312source "board/siemens/taurus/Kconfig"
Heiko Schocher3b5df502015-06-29 09:10:48 +0200313source "board/siemens/smartweb/Kconfig"
Ben Whitten5aaef602017-11-23 13:47:47 +0000314source "board/laird/wb45n/Kconfig"
Ben Whittenb2e01ff2017-11-23 13:47:48 +0000315source "board/laird/wb50n/Kconfig"
Masahiro Yamada4614b892015-02-20 17:04:01 +0900316
Philipp Tomsichb5299932017-08-03 23:23:55 +0200317config SPL_LDSCRIPT
318 default "arch/arm/mach-at91/arm926ejs/u-boot-spl.lds" if CPU_ARM926EJS
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530319 default "arch/arm/mach-at91/armv7/u-boot-spl.lds" if CPU_V7A
Philipp Tomsichb5299932017-08-03 23:23:55 +0200320
Masahiro Yamada4614b892015-02-20 17:04:01 +0900321endif