]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
41141127 | 2 | menuconfig ARCH_AT91 |
ed08b63c | 3 | bool "AT91/Microchip SoCs" |
2d4c44e9 | 4 | depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M |
dbeb0c8e | 5 | select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7 |
ef7eda2c | 6 | select COMMON_CLK_AT91 |
5c34a4e8 | 7 | select GPIOLIB |
41141127 | 8 | select PINCTRL |
41141127 | 9 | select SOC_BUS |
8f0cdcc5 | 10 | |
41141127 | 11 | if ARCH_AT91 |
2d4c44e9 SA |
12 | config SOC_SAMV7 |
13 | bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M | |
14 | select COMMON_CLK_AT91 | |
15 | select PINCTRL_AT91 | |
16 | help | |
ed08b63c | 17 | Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7 |
2d4c44e9 SA |
18 | families. |
19 | ||
c268a743 | 20 | config SOC_SAMA5D2 |
e3246542 MY |
21 | bool "SAMA5D2 family" |
22 | depends on ARCH_MULTI_V7 | |
c268a743 NF |
23 | select SOC_SAMA5 |
24 | select CACHE_L2X0 | |
c268a743 NF |
25 | select HAVE_AT91_UTMI |
26 | select HAVE_AT91_USB_CLK | |
27 | select HAVE_AT91_H32MX | |
28 | select HAVE_AT91_GENERATED_CLK | |
0865805d | 29 | select HAVE_AT91_AUDIO_PLL |
96e4ea8c | 30 | select HAVE_AT91_I2S_MUX_CLK |
8423536f | 31 | select PINCTRL_AT91PIO4 |
c268a743 | 32 | help |
ed08b63c | 33 | Select this if ou are using one of Microchip's SAMA5D2 family SoC. |
c268a743 | 34 | |
8f4b4794 | 35 | config SOC_SAMA5D3 |
e3246542 MY |
36 | bool "SAMA5D3 family" |
37 | depends on ARCH_MULTI_V7 | |
8f4b4794 | 38 | select SOC_SAMA5 |
f090fb37 | 39 | select HAVE_AT91_UTMI |
a9c0688f | 40 | select HAVE_AT91_SMD |
c84a61d8 | 41 | select HAVE_AT91_USB_CLK |
8423536f | 42 | select PINCTRL_AT91 |
8f4b4794 | 43 | help |
ed08b63c | 44 | Select this if you are using one of Microchip's SAMA5D3 family SoC. |
7f457160 | 45 | This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. |
2dc850b6 NF |
46 | |
47 | config SOC_SAMA5D4 | |
e3246542 MY |
48 | bool "SAMA5D4 family" |
49 | depends on ARCH_MULTI_V7 | |
2dc850b6 | 50 | select SOC_SAMA5 |
2dc850b6 | 51 | select CACHE_L2X0 |
2dc850b6 NF |
52 | select HAVE_AT91_UTMI |
53 | select HAVE_AT91_SMD | |
54 | select HAVE_AT91_USB_CLK | |
55 | select HAVE_AT91_H32MX | |
8423536f | 56 | select PINCTRL_AT91 |
2dc850b6 | 57 | help |
ed08b63c | 58 | Select this if you are using one of Microchip's SAMA5D4 family SoC. |
8f4b4794 | 59 | |
1e3ce2b8 | 60 | config SOC_AT91RM9200 |
e3246542 MY |
61 | bool "AT91RM9200" |
62 | depends on ARCH_MULTI_V4T | |
ef7eda2c | 63 | select ATMEL_AIC_IRQ |
b2f06274 | 64 | select ATMEL_PM if PM |
b53cdd03 | 65 | select ATMEL_ST |
c750815e | 66 | select CPU_ARM920T |
c84a61d8 | 67 | select HAVE_AT91_USB_CLK |
8423536f | 68 | select PINCTRL_AT91 |
41141127 | 69 | select SOC_SAM_V4_V5 |
896bc871 | 70 | select SRAM if PM |
41141127 | 71 | help |
ed08b63c | 72 | Select this if you are using Microchip's AT91RM9200 SoC. |
73a59c1c | 73 | |
2b019a43 | 74 | config SOC_AT91SAM9 |
e3246542 MY |
75 | bool "AT91SAM9" |
76 | depends on ARCH_MULTI_V5 | |
2b019a43 | 77 | select ATMEL_AIC_IRQ |
b2f06274 | 78 | select ATMEL_PM if PM |
2b019a43 | 79 | select ATMEL_SDRAMC |
2b019a43 | 80 | select CPU_ARM926T |
a9c0688f | 81 | select HAVE_AT91_SMD |
c84a61d8 | 82 | select HAVE_AT91_USB_CLK |
2b019a43 | 83 | select HAVE_AT91_UTMI |
74db4fb9 | 84 | select HAVE_FB_ATMEL |
2b019a43 | 85 | select MEMORY |
8423536f | 86 | select PINCTRL_AT91 |
41141127 | 87 | select SOC_SAM_V4_V5 |
896bc871 | 88 | select SRAM if PM |
74db4fb9 | 89 | help |
ed08b63c | 90 | Select this if you are using one of those Microchip SoC: |
2b019a43 AB |
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 | |
fe138c23 | 107 | |
7803dc86 AB |
108 | comment "Clocksource driver selection" |
109 | ||
110 | config ATMEL_CLOCKSOURCE_PIT | |
111 | bool "Periodic Interval Timer (PIT) support" | |
112 | depends on SOC_AT91SAM9 || SOC_SAMA5 | |
113 | default SOC_AT91SAM9 || SOC_SAMA5 | |
114 | select ATMEL_PIT | |
115 | help | |
116 | Select this to get a clocksource based on the Atmel Periodic Interval | |
117 | Timer. It has a relatively low resolution and the TC Block clocksource | |
118 | should be preferred. | |
119 | ||
120 | config ATMEL_CLOCKSOURCE_TCB | |
121 | bool "Timer Counter Blocks (TCB) support" | |
122 | default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAMA5 | |
123 | select ATMEL_TCB_CLKSRC | |
124 | help | |
125 | Select this to get a high precision clocksource based on a | |
126 | TC block with a 5+ MHz base clock rate. | |
127 | On platforms with 16-bit counters, two timer channels are combined | |
128 | to make a single 32-bit timer. | |
129 | It can also be used as a clock event device supporting oneshot mode. | |
130 | ||
41141127 AB |
131 | config HAVE_AT91_UTMI |
132 | bool | |
133 | ||
134 | config HAVE_AT91_USB_CLK | |
135 | bool | |
136 | ||
137 | config COMMON_CLK_AT91 | |
138 | bool | |
139 | select COMMON_CLK | |
863a81c3 | 140 | select MFD_SYSCON |
41141127 AB |
141 | |
142 | config HAVE_AT91_SMD | |
143 | bool | |
144 | ||
145 | config HAVE_AT91_H32MX | |
146 | bool | |
147 | ||
df70aeef NF |
148 | config HAVE_AT91_GENERATED_CLK |
149 | bool | |
150 | ||
0865805d QS |
151 | config HAVE_AT91_AUDIO_PLL |
152 | bool | |
153 | ||
96e4ea8c CC |
154 | config HAVE_AT91_I2S_MUX_CLK |
155 | bool | |
156 | ||
41141127 AB |
157 | config SOC_SAM_V4_V5 |
158 | bool | |
159 | ||
160 | config SOC_SAM_V7 | |
161 | bool | |
162 | ||
163 | config SOC_SAMA5 | |
164 | bool | |
165 | select ATMEL_AIC5_IRQ | |
b2f06274 | 166 | select ATMEL_PM if PM |
41141127 AB |
167 | select ATMEL_SDRAMC |
168 | select MEMORY | |
169 | select SOC_SAM_V7 | |
170 | select SRAM if PM | |
171 | ||
b2f06274 AB |
172 | config ATMEL_PM |
173 | bool | |
174 | ||
73a59c1c | 175 | endif |