blob: 094c9891f648938161a4833699e6cf152531a813 [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
Tudor Ambarus76b74512022-02-25 10:13:57 +020053 select AT91RESET_EXTRST
Eugen Hristev3263e742020-08-27 11:51:52 +030054
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080055config SAMA5D2
56 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053057 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000058 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080059
60config SAMA5D3
61 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053062 select CPU_V7A
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080063
64config SAMA5D4
65 bool
Lokesh Vutla81b1a672018-04-26 18:21:26 +053066 select CPU_V7A
Eugen Hristev99fe5002019-08-08 07:48:28 +000067 select ATMEL_SFR
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080068
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090069choice
70 prompt "Atmel AT91 board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050071 optional
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090072
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090073config TARGET_AT91SAM9260EK
74 bool "Atmel at91sam9260 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080075 select AT91SAM9260
Simon Glass7a99a872017-01-23 13:31:20 -070076 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090077
78config TARGET_ETHERNUT5
79 bool "Ethernut5 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080080 select AT91SAM9XE
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090081
Andre Renaud2369c9c2016-05-05 07:28:22 -060082config TARGET_GURNARD
83 bool "Support gurnard"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080084 select AT91SAM9G45
Tom Rini57e571e2022-03-18 08:38:19 -040085 select AT91_WANTS_COMMON_PHY
Tom Rini22d567e2017-01-22 19:43:11 -050086 select BOARD_LATE_INIT
Andre Renaud2369c9c2016-05-05 07:28:22 -060087 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +020088 select DM_ETH
89 select DM_GPIO
Andre Renaud2369c9c2016-05-05 07:28:22 -060090 select DM_SERIAL
Jagan Tekib1c262d2018-03-14 18:46:32 +053091 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -040092 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +020093 imply CMD_DM
Andre Renaud2369c9c2016-05-05 07:28:22 -060094
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090095config TARGET_AT91SAM9261EK
96 bool "Atmel at91sam9261 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +080097 select AT91SAM9261
Wenyou.Yang@microchip.comb59fe682017-07-21 13:28:40 +080098 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +090099
100config TARGET_PM9261
101 bool "Ronetix pm9261 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800102 select AT91SAM9261
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900103
104config TARGET_AT91SAM9263EK
105 bool "Atmel at91sam9263 reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800106 select AT91SAM9263
Simon Glass7a99a872017-01-23 13:31:20 -0700107 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900108
109config TARGET_USB_A9263
110 bool "Caloa USB A9260 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800111 select AT91SAM9263
Tom Rini57e571e2022-03-18 08:38:19 -0400112 select AT91_WANTS_COMMON_PHY
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900113
114config TARGET_PM9263
115 bool "Ronetix pm9263 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800116 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900117
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900118config TARGET_AT91SAM9M10G45EK
119 bool "Atmel AT91SAM9M10G45-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800120 select AT91SAM9M10G45
Simon Glass7a99a872017-01-23 13:31:20 -0700121 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200122 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900123
124config TARGET_PM9G45
125 bool "Ronetix pm9g45 board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800126 select AT91SAM9G45
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900127
128config TARGET_AT91SAM9N12EK
129 bool "Atmel AT91SAM9N12-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800130 select AT91SAM9N12
Simon Glass7a99a872017-01-23 13:31:20 -0700131 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200132 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900133
134config TARGET_AT91SAM9RLEK
135 bool "Atmel at91sam9rl reference board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800136 select AT91SAM9RL
Simon Glass7a99a872017-01-23 13:31:20 -0700137 select BOARD_EARLY_INIT_F
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900138
139config TARGET_AT91SAM9X5EK
140 bool "Atmel AT91SAM9X5-EK board"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800141 select AT91SAM9X5
Simon Glass7a99a872017-01-23 13:31:20 -0700142 select BOARD_EARLY_INIT_F
Wenyou Yangaa023532017-09-18 15:26:01 +0800143 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200144 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900145
Stefan Roesedadede52019-04-02 10:57:27 +0200146config TARGET_GARDENA_SMART_GATEWAY_AT91SAM
147 bool "GARDENA smart Gateway (AT91SAM)"
148 select AT91SAM9X5
149 select BOARD_EARLY_INIT_F
150 select BOARD_LATE_INIT
151 select SUPPORT_SPL
152
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000153config TARGET_SAM9X60EK
154 bool "SAM9X60-EK board"
155 select SAM9X60
156 select BOARD_EARLY_INIT_F
157 select BOARD_LATE_INIT
158
Durai Manickam KR2e7bc612022-04-04 11:23:18 +0530159config TARGET_SAM9X60_CURIOSITY
160 bool "SAM9X60 CURIOSITY board"
161 select SAM9X60
162 select BOARD_EARLY_INIT_F
163 select BOARD_LATE_INIT
164
Ludovic Desroches1240d882017-11-17 14:57:12 +0800165config TARGET_SAMA5D2_PTC_EK
166 bool "SAMA5D2 PTC EK board"
Simon Glass7a99a872017-01-23 13:31:20 -0700167 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200168 select SAMA5D2
Eugen Hristevd8c68982018-09-18 10:35:46 +0300169 select BOARD_LATE_INIT
Wenyou Yangb90c7cb2016-02-26 17:20:26 +0800170
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800171config TARGET_SAMA5D2_XPLAINED
172 bool "SAMA5D2 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700173 select BOARD_EARLY_INIT_F
Wenyou Yang3ec18a62017-09-18 15:25:57 +0800174 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200175 select SAMA5D2
176 select SUPPORT_SPL
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800177
Wenyou Yangeebb0732017-09-13 14:58:54 +0800178config TARGET_SAMA5D27_SOM1_EK
179 bool "SAMA5D27 SOM1 EK board"
Tom Rinie18c3552022-03-11 23:07:30 -0500180 select SAMA5D2
Wenyou Yangeebb0732017-09-13 14:58:54 +0800181 select BOARD_EARLY_INIT_F
182 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200183 select CPU_V7A
184 select SUPPORT_SPL
Eugen Hristev99fe5002019-08-08 07:48:28 +0000185 select ATMEL_SFR
Wenyou Yangeebb0732017-09-13 14:58:54 +0800186 help
187 The SAMA5D27 SOM1 embeds SAMA5D2 SiP(System in Package),
188 a 64Mbit QSPI flash, KSZ8081 Phy and a Mac-address EEPROM
189 24AA02E48. The SAMA5D2 SiP integrates the ARM Cortex-A5
190 processor-based SAMA5D2 MPU with up to 1 Gbit DDR2-SDRAM
191 in a single package.
192
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000193config TARGET_SAMA5D27_WLSOM1_EK
194 bool "SAMA5D27 WLSOM1 EK board"
195 select SAMA5D2
196 select BOARD_EARLY_INIT_F
197 select BOARD_LATE_INIT
198 select CPU_V7A
Eugen Hristev1d152122019-08-08 07:48:35 +0000199 select SUPPORT_SPL
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000200 help
201 The SAMA5D27 WLSOM1 embeds SAMA5D2 SiP (System in Package),
202 a 64Mbit QSPI flash with Mac-address, KSZ8081 Phy. A wireless
203 module providing bluetooth and wifi is also embedded.
204 The SAMA5D2 SiP integrates the ARM Cortex-A5
205 processor-based SAMA5D2 MPU with 2 Gbit LPDDR2-SDRAM
206 in a single package.
207
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300208config TARGET_SAMA5D2_ICP
209 bool "SAMA5D2 Industrial Connectivity Platform (ICP)"
Eugen Hristev99fe5002019-08-08 07:48:28 +0000210 select SAMA5D2
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300211 select SUPPORT_SPL
212 select BOARD_EARLY_INIT_F
213 select BOARD_LATE_INIT
214 help
215 The SAMA5D2 ICP embeds SAMA5D27 rev. C SoC, together with
216 a 64Mbit QSPI flash, 3xMikrobus connectors, 4xUSB ,
217 EtherCat and WILC3000 devices on board.
218
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900219config TARGET_SAMA5D3_XPLAINED
220 bool "SAMA5D3 Xplained board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200221 select BOARD_EARLY_INIT_F
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800222 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900223 select SUPPORT_SPL
Eugen Hristevbe01f772018-09-18 10:35:44 +0300224 select BOARD_LATE_INIT
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900225
226config TARGET_SAMA5D3XEK
227 bool "SAMA5D3X-EK board"
Michal Simek84f3dec2018-07-23 15:55:13 +0200228 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -0500229 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200230 select SAMA5D3
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900231 select SUPPORT_SPL
232
233config TARGET_SAMA5D4_XPLAINED
234 bool "SAMA5D4 Xplained board"
Simon Glass7a99a872017-01-23 13:31:20 -0700235 select BOARD_EARLY_INIT_F
Wenyou Yang426691e2017-09-18 15:26:00 +0800236 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200237 select SAMA5D4
238 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900239
240config TARGET_SAMA5D4EK
241 bool "SAMA5D4 Evaluation Kit"
Simon Glass7a99a872017-01-23 13:31:20 -0700242 select BOARD_EARLY_INIT_F
Wenyou Yang57ba4902017-09-18 15:25:59 +0800243 select BOARD_LATE_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200244 select SAMA5D4
245 select SUPPORT_SPL
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900246
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900247config TARGET_MEESC
248 bool "Support meesc"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800249 select AT91SAM9263
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900250
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900251config TARGET_CORVUS
252 bool "Support corvus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800253 select AT91SAM9M10G45
Tom Rini57e571e2022-03-18 08:38:19 -0400254 select AT91_WANTS_COMMON_PHY
Heiko Schocher914aff12016-05-25 07:23:45 +0200255 select DM
Heiko Schocher914aff12016-05-25 07:23:45 +0200256 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200257 select DM_GPIO
258 select DM_SERIAL
259 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200260 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900261
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200262config TARGET_SAMA7G5EK
263 bool "SAMA7G5 EK board"
264 select SAMA7G5
265 select BOARD_EARLY_INIT_F
266 select BOARD_LATE_INIT
267
268
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900269config TARGET_TAURUS
270 bool "Support taurus"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800271 select AT91SAM9G20
Tom Rini57e571e2022-03-18 08:38:19 -0400272 select AT91_WANTS_COMMON_PHY
Heiko Schocher649d8102016-05-25 07:23:48 +0200273 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200274 select DM_ETH
275 select DM_GPIO
Heiko Schocher649d8102016-05-25 07:23:48 +0200276 select DM_SERIAL
Jagan Tekid8ee7e62018-03-14 18:46:34 +0530277 select DM_SPI
Adam Ford4e96ff82018-04-15 13:51:26 -0400278 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200279 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200280 imply CMD_DM
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900281
Heiko Schocher44a93442015-06-29 09:10:48 +0200282config TARGET_SMARTWEB
283 bool "Support smartweb"
Wenyou Yangc09ca6a2017-09-14 11:07:41 +0800284 select AT91SAM9260
Tom Rini57e571e2022-03-18 08:38:19 -0400285 select AT91_WANTS_COMMON_PHY
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200286 select DM
Heiko Schocherd1b8ea82016-05-25 07:23:47 +0200287 select DM_ETH
Michal Simek84f3dec2018-07-23 15:55:13 +0200288 select DM_GPIO
289 select DM_SERIAL
290 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200291 imply CMD_DM
Heiko Schocher44a93442015-06-29 09:10:48 +0200292
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100293config TARGET_VINCO
294 bool "Support VINCO"
Jagan Tekib5ba07c2018-03-14 18:46:35 +0530295 select DM
Jagan Tekic022b3c2018-03-14 18:46:37 +0530296 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200297 select SAMA5D4
Adam Ford4e96ff82018-04-15 13:51:26 -0400298 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200299 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200300 imply CMD_DM
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100301
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900302endchoice
303
Eugen Hristev99fe5002019-08-08 07:48:28 +0000304config ATMEL_SFR
305 bool
Eugen Hristev99fe5002019-08-08 07:48:28 +0000306
Tudor Ambarusff8fb522022-02-25 10:13:56 +0200307config AT91RESET_EXTRST
308 bool
309
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900310config SYS_SOC
311 default "at91"
312
Patrick Delaunayeb560962022-01-04 14:24:01 +0100313config AT91_EFLASH
314 bool "Support AT91 flash driver"
315 depends on AT91SAM9XE
316 select USE_SYS_MAX_FLASH_BANKS
317 help
318 Enable the driver for the embedded flash used in the Atmel
319 AT91SAM9XE devices.
320
Tom Rinidbf44e32022-06-08 08:24:24 -0400321config EFLASH_PROTSECTORS
322 int "Number of flash sectors to protect from erasing"
323 depends on AT91_EFLASH
324 help
325 If non-zero, this will be the number of sectors of the flash to disallow
326 U-Boot to ease, starting from the beginning of flash.
327
Tom Rini86dbe2e2022-03-11 23:07:35 -0500328config AT91_GPIO_PULLUP
329 bool "Keep pullups on peripheral pins"
330 depends on CPU_ARM926EJS
331
Tom Rini201e75e2022-03-11 23:07:36 -0500332config ATMEL_LEGACY
333 bool "Legacy GPIO support"
334
Tom Rini57e571e2022-03-18 08:38:19 -0400335config AT91_WANTS_COMMON_PHY
336 bool
337
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900338source "board/atmel/at91sam9260ek/Kconfig"
339source "board/atmel/at91sam9261ek/Kconfig"
340source "board/atmel/at91sam9263ek/Kconfig"
341source "board/atmel/at91sam9m10g45ek/Kconfig"
342source "board/atmel/at91sam9n12ek/Kconfig"
343source "board/atmel/at91sam9rlek/Kconfig"
344source "board/atmel/at91sam9x5ek/Kconfig"
Sandeep Sheriker Mallikarjun641b3352019-09-27 13:08:52 +0000345source "board/atmel/sam9x60ek/Kconfig"
Durai Manickam KR2e7bc612022-04-04 11:23:18 +0530346source "board/atmel/sam9x60_curiosity/Kconfig"
Eugen Hristev0de35aa2020-03-10 11:56:38 +0200347source "board/atmel/sama7g5ek/Kconfig"
Ludovic Desroches1240d882017-11-17 14:57:12 +0800348source "board/atmel/sama5d2_ptc_ek/Kconfig"
Wenyou Yangc64a75a2015-10-30 09:55:52 +0800349source "board/atmel/sama5d2_xplained/Kconfig"
Wenyou Yangeebb0732017-09-13 14:58:54 +0800350source "board/atmel/sama5d27_som1_ek/Kconfig"
Nicolas Ferre8ba10c72019-08-08 07:48:26 +0000351source "board/atmel/sama5d27_wlsom1_ek/Kconfig"
Eugen Hristev860d8ba2018-07-06 11:15:10 +0300352source "board/atmel/sama5d2_icp/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900353source "board/atmel/sama5d3_xplained/Kconfig"
354source "board/atmel/sama5d3xek/Kconfig"
355source "board/atmel/sama5d4_xplained/Kconfig"
356source "board/atmel/sama5d4ek/Kconfig"
Andre Renaud2369c9c2016-05-05 07:28:22 -0600357source "board/bluewater/gurnard/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900358source "board/calao/usb_a9263/Kconfig"
359source "board/egnite/ethernut5/Kconfig"
360source "board/esd/meesc/Kconfig"
Stefan Roesedadede52019-04-02 10:57:27 +0200361source "board/gardena/smart-gateway-at91sam/Kconfig"
Gregory CLEMENT02b49b52015-12-16 17:01:44 +0100362source "board/l+g/vinco/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900363source "board/ronetix/pm9261/Kconfig"
364source "board/ronetix/pm9263/Kconfig"
365source "board/ronetix/pm9g45/Kconfig"
366source "board/siemens/corvus/Kconfig"
367source "board/siemens/taurus/Kconfig"
Heiko Schocher44a93442015-06-29 09:10:48 +0200368source "board/siemens/smartweb/Kconfig"
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900369
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900370endif