lin
2025-06-05 ed3dd9d3e7519a82bb871d5eedb24a2fa0c91f47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
 
menu "Platform selection"
 
config ARCH_SUNXI
   bool "Allwinner sunxi 64-bit SoC Family"
   select ARCH_HAS_RESET_CONTROLLER
   select GENERIC_IRQ_CHIP
   select PINCTRL
   select PINCTRL_SUN50I_A64
   select RESET_CONTROLLER
   help
     This enables support for Allwinner sunxi based SoCs like the A64.
 
if ARCH_SUNXI
choice
   prompt "Select the architecture of SoC"
   default ARCH_SUN50I
   help
     Select the architecture for SoC
     sunxi
     `-- sun50i ----- Cortex-A53 based Family SoCs
 
   config ARCH_SUN50I
   bool "Allwinner SUN50I"
endchoice
 
# Select the wafer with sun50i
 
if ARCH_SUN50I
choice
   prompt "Select the wafer with arch sun50i"
   default ARCH_SUN50IW1
   help
     Select the wafer with arch sun50i
 
config ARCH_SUN50IW1
   bool "Allwinner SUN50IW1 SoCs"
   help
     Support for Allwinner SUN50IW1 SoC family
 
config ARCH_SUN50IW2
   bool "Allwinner SUN50IW2 SoCs"
   help
     Support for Allwinner SUN50IW2 SoC family
 
config ARCH_SUN50IW3
   bool "Allwinner SUN50IW3 SoCs"
   help
     Support for Allwinner SUN50IW3 SoC family
 
config ARCH_SUN50IW6
   bool "Allwinner SUN50IW6 SoCs"
   help
     Support for Allwinner SUN50IW6 SoC family
 
config ARCH_SUN50IW8
   bool "Allwinner SUN50IW8 SoCs"
   help
     Support for Allwinner SUN50IW8 SoC family
 
config ARCH_SUN50IW9
   bool "Allwinner SUN50IW9 SoCs"
   help
     Support for Allwinner SUN50IW9 SoC family
 
config ARCH_SUN50IW10
   bool "Allwinner SUN50IW10 SoCs"
   help
     Support for Allwinner SUN50IW10 SoC family
 
config ARCH_SUN50IW5T
   bool "Allwinner SUN50IW5T SoCs"
   help
     Support for Allwinner SUN50IW5T SoC family
endchoice
endif
 
# Select the SoC with specific arch and wafer
 
if ARCH_SUN50IW1
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW1"
   default ARCH_SUN50IW1P1
   help
     Select the SoC with wafer ARCH_SUN50IW1
 
config ARCH_SUN50IW1P1
   bool "Allwinner SUN50IW1P1"
   select SUNXI_SMC
endchoice
endif
 
if ARCH_SUN50IW2
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW2"
   default ARCH_SUN50IW2P1
   help
     Select the SoC with wafer ARCH_SUN50IW2
 
config ARCH_SUN50IW2P1
   bool "Allwinner SUN50IW2P1"
   select HAVE_UNSTABLE_SCHED_CLOCK
   select SUNXI_SMC
endchoice
endif
 
if ARCH_SUN50IW3
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW3"
   default ARCH_SUN50IW3P1
   help
     Select the SoC with wafer ARCH_SUN50IW3
 
config ARCH_SUN50IW3P1
   bool "Allwinner SUN50IW3P1"
   select SUNXI_SMC
endchoice
endif
 
if ARCH_SUN50IW6
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW6"
   default ARCH_SUN50IW6P1
   help
     Select the SoC with wafer ARCH_SUN50IW6
 
config ARCH_SUN50IW6P1
   bool "Allwinner SUN50IW6P1"
   select SUNXI_SMC
   select ARCH_SUPPORTS_MSI
endchoice
endif
 
if ARCH_SUN50IW8
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW8"
   default ARCH_SUN50IW8P1
   help
     Select the SoC with wafer ARCH_SUN50IW8
 
config ARCH_SUN50IW8P1
   bool "Allwinner SUN50IW8P1"
#    Will not use smc in FPGA stage
#    select SUNXI_SMC
endchoice
endif
 
if ARCH_SUN50IW9
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW9"
   default ARCH_SUN50IW9P1
   help
     Select the SoC with wafer ARCH_SUN50IW9
 
config ARCH_SUN50IW9P1
   bool "Allwinner SUN50IW9P1"
#    Will not use smc in FPGA stage
#    select SUNXI_SMC
endchoice
endif
 
if ARCH_SUN50IW10
choice
   prompt "Select the SoC with wafer ARCH_SUN50IW10"
   default ARCH_SUN50IW10P1
   help
     Select the SoC with wafer ARCH_SUN50IW10
 
config ARCH_SUN50IW10P1
   bool "Allwinner SUN50IW10P1"
#    Will not use smc in FPGA stage
#    select SUNXI_SMC
endchoice
endif
 
# Select the board between FPGA and EVB
 
choice
   prompt "Allwinner development boards"
   depends on ARCH_SUNXI
   default FPGA_V4_PLATFORM
 
config FPGA_V4_PLATFORM
   bool "FPGAv4 board"
   help
     Support for Allwinner's FPGAv4 board
 
   config FPGA_V7_PLATFORM
   bool "FPGAv7 board"
   help
     Support for Allwinner's FPGAv7 board
 
   config EVB_PLATFORM
   bool "EVB board"
   help
     Support for Allwinner's EVB board
endchoice
 
config SUNXI_SOC_NAME
   string "The name of SUNXI SoC"
   default ""
   help
     Used for /sysfs/.../sysinfo.
 
endif # end of ARCH_SUNXI
config ARCH_ALPINE
   bool "Annapurna Labs Alpine platform"
   select ALPINE_MSI if PCI
   help
     This enables support for the Annapurna Labs Alpine
     Soc family.
 
config ARCH_BCM2835
   bool "Broadcom BCM2835 family"
   select CLKSRC_OF
   select GPIOLIB
   select PINCTRL
   select PINCTRL_BCM2835
   select ARM_AMBA
   select ARM_TIMER_SP804
   select HAVE_ARM_ARCH_TIMER
   help
     This enables support for the Broadcom BCM2837 SoC.
     This SoC is used in the Raspberry Pi 3 device.
 
config ARCH_BCM_IPROC
   bool "Broadcom iProc SoC Family"
   select COMMON_CLK_IPROC
   select GPIOLIB
   select PINCTRL
   help
     This enables support for Broadcom iProc based SoCs
 
config ARCH_BERLIN
   bool "Marvell Berlin SoC Family"
   select DW_APB_ICTL
   select GPIOLIB
   select PINCTRL
   help
     This enables support for Marvell Berlin SoC Family
 
config ARCH_BRCMSTB
   bool "Broadcom Set-Top-Box SoCs"
   select BRCMSTB_L2_IRQ
   select GENERIC_IRQ_CHIP
   help
     This enables support for Broadcom's ARMv8 Set Top Box SoCs
 
config ARCH_EXYNOS
   bool "ARMv8 based Samsung Exynos SoC family"
   select COMMON_CLK_SAMSUNG
   select HAVE_S3C2410_WATCHDOG if WATCHDOG
   select HAVE_S3C_RTC if RTC_CLASS
   select PINCTRL
   select PINCTRL_EXYNOS
   select SOC_SAMSUNG
   help
     This enables support for ARMv8 based Samsung Exynos SoC family.
 
config ARCH_LAYERSCAPE
   bool "ARMv8 based Freescale Layerscape SoC family"
   select EDAC_SUPPORT
   help
     This enables support for the Freescale Layerscape SoC family.
 
config ARCH_LG1K
   bool "LG Electronics LG1K SoC Family"
   help
     This enables support for LG Electronics LG1K SoC Family
 
config ARCH_HISI
   bool "Hisilicon SoC Family"
   select ARM_TIMER_SP804
   select HISILICON_IRQ_MBIGEN if PCI
   select PINCTRL
   help
     This enables support for Hisilicon ARMv8 SoC family
 
config ARCH_MEDIATEK
   bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
   select ARM_GIC
   select PINCTRL
   select MTK_TIMER
   help
     Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
 
config ARCH_MESON
   bool "Amlogic Platforms"
   select PINCTRL
   select PINCTRL_MESON
   select COMMON_CLK_AMLOGIC
   select COMMON_CLK_GXBB
   help
     This enables support for the Amlogic S905 SoCs.
 
config ARCH_MVEBU
   bool "Marvell EBU SoC Family"
   select ARMADA_AP806_SYSCON
   select ARMADA_CP110_SYSCON
   select ARMADA_37XX_CLK
   select MVEBU_ODMI
   select MVEBU_PIC
   help
     This enables support for Marvell EBU familly, including:
      - Armada 3700 SoC Family
      - Armada 7K SoC Family
      - Armada 8K SoC Family
 
config ARCH_QCOM
   bool "Qualcomm Platforms"
   select PINCTRL
   help
     This enables support for the ARMv8 based Qualcomm chipsets.
 
config ARCH_ROCKCHIP
   bool "Rockchip Platforms"
   select ARCH_HAS_RESET_CONTROLLER
   select GPIOLIB
   select PINCTRL
   select PINCTRL_ROCKCHIP
   select PM
   select ROCKCHIP_TIMER
   help
     This enables support for the ARMv8 based Rockchip chipsets,
     like the RK3368.
 
config ARCH_SEATTLE
   bool "AMD Seattle SoC Family"
   help
     This enables support for AMD Seattle SOC Family
 
config ARCH_SHMOBILE
   bool
 
config ARCH_RENESAS
   bool "Renesas SoC Platforms"
   select ARCH_SHMOBILE
   select PINCTRL
   select PM
   select PM_GENERIC_DOMAINS
   select RENESAS_IRQC
   help
     This enables support for the ARMv8 based Renesas SoCs.
 
config ARCH_R8A7795
   bool "Renesas R-Car H3 SoC Platform"
   depends on ARCH_RENESAS
   help
     This enables support for the Renesas R-Car H3 SoC.
 
config ARCH_R8A7796
   bool "Renesas R-Car M3-W SoC Platform"
   depends on ARCH_RENESAS
   help
     This enables support for the Renesas R-Car M3-W SoC.
 
config ARCH_STRATIX10
   bool "Altera's Stratix 10 SoCFPGA Family"
   help
     This enables support for Altera's Stratix 10 SoCFPGA Family.
 
config ARCH_TEGRA
   bool "NVIDIA Tegra SoC Family"
   select ARCH_HAS_RESET_CONTROLLER
   select CLKDEV_LOOKUP
   select CLKSRC_MMIO
   select CLKSRC_OF
   select GENERIC_CLOCKEVENTS
   select GPIOLIB
   select PINCTRL
   select PM
   select PM_GENERIC_DOMAINS
   select RESET_CONTROLLER
   help
     This enables support for the NVIDIA Tegra SoC family.
 
config ARCH_SPRD
   bool "Spreadtrum SoC platform"
   help
     Support for Spreadtrum ARM based SoCs
 
config ARCH_THUNDER
   bool "Cavium Inc. Thunder SoC Family"
   help
     This enables support for Cavium's Thunder Family of SoCs.
 
config ARCH_UNIPHIER
   bool "Socionext UniPhier SoC Family"
   select ARCH_HAS_RESET_CONTROLLER
   select PINCTRL
   help
     This enables support for Socionext UniPhier SoC family.
 
config ARCH_VEXPRESS
   bool "ARMv8 software model (Versatile Express)"
   select COMMON_CLK_VERSATILE
   select GPIOLIB
   select PM
   select PM_GENERIC_DOMAINS
   select POWER_RESET_VEXPRESS
   select VEXPRESS_CONFIG
   help
     This enables support for the ARMv8 software model (Versatile
     Express).
 
config ARCH_VULCAN
   bool "Broadcom Vulcan SOC Family"
   select GPIOLIB
   help
     This enables support for Broadcom Vulcan SoC Family
 
config ARCH_XGENE
   bool "AppliedMicro X-Gene SOC Family"
   help
     This enables support for AppliedMicro X-Gene SOC Family
 
config ARCH_ZX
   bool "ZTE ZX SoC Family"
   help
     This enables support for ZTE ZX SoC Family
 
config ARCH_ZYNQMP
   bool "Xilinx ZynqMP Family"
   help
     This enables support for Xilinx ZynqMP Family
 
 
endmenu