xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision b78412b8)
1menuconfig ARCH_AT91
2	bool "Atmel SoCs"
3	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
4	select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
5	select COMMON_CLK_AT91
6	select GPIOLIB
7	select PINCTRL
8	select SOC_BUS
9
10if ARCH_AT91
11config 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
19config SOC_SAMA5D2
20	bool "SAMA5D2 family"
21	depends on ARCH_MULTI_V7
22	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
29	select HAVE_AT91_AUDIO_PLL
30	select PINCTRL_AT91PIO4
31	help
32	  Select this if ou are using one of Atmel's SAMA5D2 family SoC.
33
34config SOC_SAMA5D3
35	bool "SAMA5D3 family"
36	depends on ARCH_MULTI_V7
37	select SOC_SAMA5
38	select HAVE_FB_ATMEL
39	select HAVE_AT91_UTMI
40	select HAVE_AT91_SMD
41	select HAVE_AT91_USB_CLK
42	select PINCTRL_AT91
43	help
44	  Select this if you are using one of Atmel's SAMA5D3 family SoC.
45	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
46
47config SOC_SAMA5D4
48	bool "SAMA5D4 family"
49	depends on ARCH_MULTI_V7
50	select SOC_SAMA5
51	select CACHE_L2X0
52	select HAVE_FB_ATMEL
53	select HAVE_AT91_UTMI
54	select HAVE_AT91_SMD
55	select HAVE_AT91_USB_CLK
56	select HAVE_AT91_H32MX
57	select PINCTRL_AT91
58	help
59	  Select this if you are using one of Atmel's SAMA5D4 family SoC.
60
61config SOC_AT91RM9200
62	bool "AT91RM9200"
63	depends on ARCH_MULTI_V4T
64	select ATMEL_AIC_IRQ
65	select ATMEL_PM if PM
66	select ATMEL_ST
67	select CPU_ARM920T
68	select HAVE_AT91_USB_CLK
69	select PINCTRL_AT91
70	select SOC_SAM_V4_V5
71	select SRAM if PM
72	help
73	  Select this if you are using Atmel's AT91RM9200 SoC.
74
75config SOC_AT91SAM9
76	bool "AT91SAM9"
77	depends on ARCH_MULTI_V5
78	select ATMEL_AIC_IRQ
79	select ATMEL_PM if PM
80	select ATMEL_SDRAMC
81	select CPU_ARM926T
82	select HAVE_AT91_SMD
83	select HAVE_AT91_USB_CLK
84	select HAVE_AT91_UTMI
85	select HAVE_FB_ATMEL
86	select MEMORY
87	select PINCTRL_AT91
88	select SOC_SAM_V4_V5
89	select SRAM if PM
90	help
91	  Select this if you are using one of those Atmel SoC:
92	    AT91SAM9260
93	    AT91SAM9261
94	    AT91SAM9263
95	    AT91SAM9G15
96	    AT91SAM9G20
97	    AT91SAM9G25
98	    AT91SAM9G35
99	    AT91SAM9G45
100	    AT91SAM9G46
101	    AT91SAM9M10
102	    AT91SAM9M11
103	    AT91SAM9N12
104	    AT91SAM9RL
105	    AT91SAM9X25
106	    AT91SAM9X35
107	    AT91SAM9XE
108
109config HAVE_AT91_UTMI
110	bool
111
112config HAVE_AT91_USB_CLK
113	bool
114
115config COMMON_CLK_AT91
116	bool
117	select COMMON_CLK
118	select MFD_SYSCON
119
120config HAVE_AT91_SMD
121	bool
122
123config HAVE_AT91_H32MX
124	bool
125
126config HAVE_AT91_GENERATED_CLK
127	bool
128
129config HAVE_AT91_AUDIO_PLL
130	bool
131
132config SOC_SAM_V4_V5
133	bool
134
135config SOC_SAM_V7
136	bool
137
138config SOC_SAMA5
139	bool
140	select ATMEL_AIC5_IRQ
141	select ATMEL_PM if PM
142	select ATMEL_SDRAMC
143	select MEMORY
144	select SOC_SAM_V7
145	select SRAM if PM
146
147config ATMEL_PM
148	bool
149
150endif
151