blob: 195da38cb9a220f22c2f890c5bcb8fc1f2c7c621 [file] [log] [blame]
Alexandre Belloni41141122015-03-13 22:57:18 +01001menuconfig ARCH_AT91
2 bool "Atmel SoCs"
Szemző András2d4c44e2017-05-31 03:06:21 +02003 depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
Arnd Bergmanndbeb0c82017-08-23 16:46:15 +02004 select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
Nicolas Ferreef7eda22014-11-21 17:10:06 +01005 select COMMON_CLK_AT91
Linus Walleij5c34a4e2016-06-02 14:10:16 +02006 select GPIOLIB
Alexandre Belloni41141122015-03-13 22:57:18 +01007 select PINCTRL
Alexandre Belloni41141122015-03-13 22:57:18 +01008 select SOC_BUS
Ludovic Desroches8f4b4792013-03-22 13:24:12 +00009
Alexandre Belloni41141122015-03-13 22:57:18 +010010if ARCH_AT91
Szemző András2d4c44e2017-05-31 03:06:21 +020011config SOC_SAMV7
12 bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
13 select COMMON_CLK_AT91
14 select PINCTRL_AT91
15 help
16 Select this if you are using an SoC from Atmel's SAME7, SAMS7 or SAMV7
17 families.
18
Nicolas Ferrec268a742015-07-30 19:12:12 +020019config SOC_SAMA5D2
Masahiro Yamadae3246542015-11-16 12:06:10 +090020 bool "SAMA5D2 family"
21 depends on ARCH_MULTI_V7
Nicolas Ferrec268a742015-07-30 19:12:12 +020022 select SOC_SAMA5
23 select CACHE_L2X0
24 select HAVE_FB_ATMEL
25 select HAVE_AT91_UTMI
26 select HAVE_AT91_USB_CLK
27 select HAVE_AT91_H32MX
28 select HAVE_AT91_GENERATED_CLK
Ludovic Desroches84235362015-12-01 11:44:40 +010029 select PINCTRL_AT91PIO4
Nicolas Ferrec268a742015-07-30 19:12:12 +020030 help
31 Select this if ou are using one of Atmel's SAMA5D2 family SoC.
32
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000033config SOC_SAMA5D3
Masahiro Yamadae3246542015-11-16 12:06:10 +090034 bool "SAMA5D3 family"
35 depends on ARCH_MULTI_V7
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000036 select SOC_SAMA5
37 select HAVE_FB_ATMEL
Boris BREZILLONf090fb32013-10-11 12:22:06 +020038 select HAVE_AT91_UTMI
Boris BREZILLONa9c06882013-10-11 13:27:06 +020039 select HAVE_AT91_SMD
Boris BREZILLONc84a61d2013-10-17 18:55:41 +020040 select HAVE_AT91_USB_CLK
Ludovic Desroches84235362015-12-01 11:44:40 +010041 select PINCTRL_AT91
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000042 help
43 Select this if you are using one of Atmel's SAMA5D3 family SoC.
Josh Wu7f457162013-11-06 18:01:11 +080044 This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
Nicolas Ferre2dc850b2014-09-15 18:15:54 +020045
46config SOC_SAMA5D4
Masahiro Yamadae3246542015-11-16 12:06:10 +090047 bool "SAMA5D4 family"
48 depends on ARCH_MULTI_V7
Nicolas Ferre2dc850b2014-09-15 18:15:54 +020049 select SOC_SAMA5
Nicolas Ferre2dc850b2014-09-15 18:15:54 +020050 select CACHE_L2X0
Nicolas Ferre2dc850b2014-09-15 18:15:54 +020051 select HAVE_FB_ATMEL
52 select HAVE_AT91_UTMI
53 select HAVE_AT91_SMD
54 select HAVE_AT91_USB_CLK
55 select HAVE_AT91_H32MX
Ludovic Desroches84235362015-12-01 11:44:40 +010056 select PINCTRL_AT91
Nicolas Ferre2dc850b2014-09-15 18:15:54 +020057 help
58 Select this if you are using one of Atmel's SAMA5D4 family SoC.
Ludovic Desroches8f4b4792013-03-22 13:24:12 +000059
Jean-Christophe PLAGNIOL-VILLARD1e3ce2b2012-04-06 11:51:50 +080060config SOC_AT91RM9200
Masahiro Yamadae3246542015-11-16 12:06:10 +090061 bool "AT91RM9200"
62 depends on ARCH_MULTI_V4T
Nicolas Ferreef7eda22014-11-21 17:10:06 +010063 select ATMEL_AIC_IRQ
Alexandre Bellonib2f06272017-05-31 03:06:22 +020064 select ATMEL_PM if PM
Alexandre Bellonib53cdd02015-03-12 13:07:31 +010065 select ATMEL_ST
Russell Kingc7508152008-10-26 10:55:14 +000066 select CPU_ARM920T
Boris BREZILLONc84a61d2013-10-17 18:55:41 +020067 select HAVE_AT91_USB_CLK
Ludovic Desroches84235362015-12-01 11:44:40 +010068 select PINCTRL_AT91
Alexandre Belloni41141122015-03-13 22:57:18 +010069 select SOC_SAM_V4_V5
Wenyou Yang896bc872015-03-09 11:44:50 +080070 select SRAM if PM
Alexandre Belloni41141122015-03-13 22:57:18 +010071 help
72 Select this if you are using Atmel's AT91RM9200 SoC.
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010073
Alexandre Belloni2b019a42015-01-15 22:58:13 +010074config SOC_AT91SAM9
Masahiro Yamadae3246542015-11-16 12:06:10 +090075 bool "AT91SAM9"
76 depends on ARCH_MULTI_V5
Alexandre Belloni2b019a42015-01-15 22:58:13 +010077 select ATMEL_AIC_IRQ
Alexandre Bellonib2f06272017-05-31 03:06:22 +020078 select ATMEL_PM if PM
Alexandre Belloni2b019a42015-01-15 22:58:13 +010079 select ATMEL_SDRAMC
Alexandre Belloni2b019a42015-01-15 22:58:13 +010080 select CPU_ARM926T
Boris BREZILLONa9c06882013-10-11 13:27:06 +020081 select HAVE_AT91_SMD
Boris BREZILLONc84a61d2013-10-17 18:55:41 +020082 select HAVE_AT91_USB_CLK
Alexandre Belloni2b019a42015-01-15 22:58:13 +010083 select HAVE_AT91_UTMI
Hong Xu74db4fb2012-04-17 14:26:31 +080084 select HAVE_FB_ATMEL
Alexandre Belloni2b019a42015-01-15 22:58:13 +010085 select MEMORY
Ludovic Desroches84235362015-12-01 11:44:40 +010086 select PINCTRL_AT91
Alexandre Belloni41141122015-03-13 22:57:18 +010087 select SOC_SAM_V4_V5
Wenyou Yang896bc872015-03-09 11:44:50 +080088 select SRAM if PM
Hong Xu74db4fb2012-04-17 14:26:31 +080089 help
Alexandre Belloni2b019a42015-01-15 22:58:13 +010090 Select this if you are using one of those Atmel SoC:
91 AT91SAM9260
92 AT91SAM9261
93 AT91SAM9263
94 AT91SAM9G15
95 AT91SAM9G20
96 AT91SAM9G25
97 AT91SAM9G35
98 AT91SAM9G45
99 AT91SAM9G46
100 AT91SAM9M10
101 AT91SAM9M11
102 AT91SAM9N12
103 AT91SAM9RL
104 AT91SAM9X25
105 AT91SAM9X35
106 AT91SAM9XE
Greg Ungerer9f1ccef2007-07-30 02:39:21 +0100107
Alexandre Belloni41141122015-03-13 22:57:18 +0100108config HAVE_AT91_UTMI
109 bool
110
111config HAVE_AT91_USB_CLK
112 bool
113
114config COMMON_CLK_AT91
115 bool
116 select COMMON_CLK
Boris Brezillon863a81c2014-09-05 09:54:13 +0200117 select MFD_SYSCON
Alexandre Belloni41141122015-03-13 22:57:18 +0100118
119config HAVE_AT91_SMD
120 bool
121
122config HAVE_AT91_H32MX
123 bool
124
Nicolas Ferredf70aee2015-07-31 11:43:12 +0200125config HAVE_AT91_GENERATED_CLK
126 bool
127
Alexandre Belloni41141122015-03-13 22:57:18 +0100128config SOC_SAM_V4_V5
129 bool
130
131config SOC_SAM_V7
132 bool
133
134config SOC_SAMA5
135 bool
136 select ATMEL_AIC5_IRQ
Alexandre Bellonib2f06272017-05-31 03:06:22 +0200137 select ATMEL_PM if PM
Alexandre Belloni41141122015-03-13 22:57:18 +0100138 select ATMEL_SDRAMC
139 select MEMORY
140 select SOC_SAM_V7
141 select SRAM if PM
142
Alexandre Bellonib2f06272017-05-31 03:06:22 +0200143config ATMEL_PM
144 bool
145
SAN People73a59c12006-01-09 17:05:41 +0000146endif