xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision cfbb9be8)
1# SPDX-License-Identifier: GPL-2.0
2menuconfig ARCH_U8500
3	bool "ST-Ericsson U8500 Series"
4	depends on ARCH_MULTI_V7 && MMU
5	select AB8500_CORE
6	select ABX500_CORE
7	select ARM_AMBA
8	select ARM_ERRATA_754322
9	select ARM_ERRATA_764369 if SMP
10	select ARM_GIC
11	select CACHE_L2X0
12	select CLKSRC_NOMADIK_MTU
13	select GPIOLIB
14	select HAVE_ARM_SCU if SMP
15	select HAVE_ARM_TWD if SMP
16	select PINCTRL
17	select PINCTRL_ABX500
18	select PINCTRL_NOMADIK
19	select PL310_ERRATA_753970 if CACHE_L2X0
20	help
21	  Support for ST-Ericsson's Ux500 architecture
22
23if ARCH_U8500
24
25config UX500_SOC_DB8500
26	bool
27	select MFD_DB8500_PRCMU
28	select PINCTRL_DB8500
29	select PINCTRL_DB8540
30	select PINCTRL_AB8500
31	select PINCTRL_AB8505
32	select PINCTRL_AB9540
33	select PINCTRL_AB8540
34	select REGULATOR
35	select REGULATOR_DB8500_PRCMU
36	select CLKSRC_DBX500_PRCMU
37	select PM_GENERIC_DOMAINS if PM
38
39config MACH_MOP500
40	bool "U8500 Development platform, MOP500 versions"
41	select I2C
42	select I2C_NOMADIK
43	select REGULATOR
44	select REGULATOR_FIXED_VOLTAGE
45	select SOC_BUS
46	select UX500_SOC_DB8500
47	help
48	  Include support for the MOP500 development platform.
49
50config MACH_HREFV60
51	bool "U8500 Development platform, HREFv60 version"
52	select MACH_MOP500
53	help
54	  Include support for the HREFv60 new development platform.
55	  Includes HREFv70, v71 etc.
56
57config MACH_SNOWBALL
58	bool "U8500 Snowball platform"
59	select MACH_MOP500
60	help
61	  Include support for the snowball development platform.
62
63config UX500_AUTO_PLATFORM
64	def_bool y
65	select MACH_MOP500
66	help
67	  At least one platform needs to be selected in order to build
68	  a working kernel. If everything else is disabled, this
69	  automatically enables MACH_MOP500.
70
71config UX500_DEBUG_UART
72	int "Ux500 UART to use for low-level debug"
73	default 2
74	help
75	  Choose the UART on which kernel low-level debug messages should be
76	  output.
77
78endif
79