xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision f7777dcc)
1config ARCH_U8500
2	bool "ST-Ericsson U8500 Series" if ARCH_MULTI_V7
3	depends on MMU
4	select ARCH_HAS_CPUFREQ
5	select ARCH_REQUIRE_GPIOLIB
6	select ARM_AMBA
7	select CLKDEV_LOOKUP
8	select CPU_V7
9	select GENERIC_CLOCKEVENTS
10	select HAVE_ARM_SCU if SMP
11	select HAVE_ARM_TWD if SMP
12	select HAVE_SMP
13	select MIGHT_HAVE_CACHE_L2X0
14	help
15	  Support for ST-Ericsson's Ux500 architecture
16
17if ARCH_U8500
18
19config UX500_SOC_COMMON
20	bool
21	default y
22	select ABX500_CORE
23	select AB8500_CORE
24	select ARM_ERRATA_754322
25	select ARM_ERRATA_764369 if SMP
26	select ARM_GIC
27	select CACHE_L2X0
28	select CLKSRC_NOMADIK_MTU
29	select COMMON_CLK
30	select PINCTRL
31	select PINCTRL_NOMADIK
32	select PINCTRL_ABX500
33	select PL310_ERRATA_753970 if CACHE_PL310
34
35config UX500_SOC_DB8500
36	bool
37	select CPU_FREQ_TABLE if CPU_FREQ
38	select MFD_DB8500_PRCMU
39	select PINCTRL_DB8500
40	select PINCTRL_DB8540
41	select PINCTRL_AB8500
42	select PINCTRL_AB8505
43	select PINCTRL_AB9540
44	select PINCTRL_AB8540
45	select REGULATOR
46	select REGULATOR_DB8500_PRCMU
47
48menu "Ux500 target platform (boards)"
49
50config MACH_MOP500
51	bool "U8500 Development platform, MOP500 versions"
52	select I2C
53	select I2C_NOMADIK
54	select REGULATOR
55	select REGULATOR_FIXED_VOLTAGE
56	select SOC_BUS
57	select UX500_SOC_DB8500
58	help
59	  Include support for the MOP500 development platform.
60
61config MACH_HREFV60
62	bool "U8500 Development platform, HREFv60 version"
63	select MACH_MOP500
64	help
65	  Include support for the HREFv60 new development platform.
66	  Includes HREFv70, v71 etc.
67
68config MACH_SNOWBALL
69	bool "U8500 Snowball platform"
70	select MACH_MOP500
71	help
72	  Include support for the snowball development platform.
73
74config UX500_AUTO_PLATFORM
75	def_bool y
76	select MACH_MOP500
77	help
78	  At least one platform needs to be selected in order to build
79	  a working kernel. If everything else is disabled, this
80	  automatically enables MACH_MOP500.
81
82config MACH_UX500_DT
83	bool "Generic U8500 support using device tree"
84	depends on MACH_MOP500
85	select USE_OF
86
87endmenu
88
89config UX500_DEBUG_UART
90	int "Ux500 UART to use for low-level debug"
91	default 2
92	help
93	  Choose the UART on which kernel low-level debug messages should be
94	  output.
95
96endif
97