xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 3c937993)
1f38406bbSRabin Vincentif ARCH_U8500
2f38406bbSRabin Vincent
3f38406bbSRabin Vincentconfig UX500_SOC_COMMON
4f38406bbSRabin Vincent	bool
5f38406bbSRabin Vincent	default y
698e87d57Ssrinidhi kasagar	select ARM_ERRATA_754322
78f90cce5SArnd Bergmann	select ARM_ERRATA_764369 if SMP
8b1b3f49cSRussell King	select ARM_GIC
968526e58SArnd Bergmann	select CACHE_L2X0
10694e33a7SLinus Walleij	select CLKSRC_NOMADIK_MTU
11b1b3f49cSRussell King	select COMMON_CLK
12e98ea774SLinus Walleij	select PINCTRL
13e98ea774SLinus Walleij	select PINCTRL_NOMADIK
140493e649SPatrice Chotard	select PINCTRL_ABX500
15b1b3f49cSRussell King	select PL310_ERRATA_753970 if CACHE_PL310
16f38406bbSRabin Vincent
17d2a40972SRabin Vincentconfig UX500_SOC_DB8500
18ded547a4SArnd Bergmann	bool
19b1b3f49cSRussell King	select CPU_FREQ_TABLE if CPU_FREQ
20650c2a21SLinus Walleij	select MFD_DB8500_PRCMU
21b1b3f49cSRussell King	select PINCTRL_DB8500
221728c96dSLinus Walleij	select PINCTRL_DB8540
23*3c937993SPatrice Chotard	select PINCTRL_AB8500
2497b3b7a0SLee Jones	select REGULATOR
251032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
26aa44ef4dSSrinidhi Kasagar
279372da50SLinus Walleijmenu "Ux500 target platform (boards)"
28d2a40972SRabin Vincent
295017f1cdSLinus Walleijconfig MACH_MOP500
305017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
315017f1cdSLinus Walleij	select I2C
325017f1cdSLinus Walleij	select I2C_NOMADIK
330b5ea1e2SLee Jones	select REGULATOR_FIXED_VOLTAGE
34b1b3f49cSRussell King	select SOC_BUS
35b1b3f49cSRussell King	select UX500_SOC_DB8500
36aa44ef4dSSrinidhi Kasagar	help
375017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
38591d8dd7SRabin Vincent
399372da50SLinus Walleijconfig MACH_HREFV60
405017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
415017f1cdSLinus Walleij	select MACH_MOP500
429372da50SLinus Walleij	help
439372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
445017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
459372da50SLinus Walleij
4611ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
4711ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
485017f1cdSLinus Walleij	select MACH_MOP500
4911ab32a7SMathieu J. Poirier	help
5011ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
5111ab32a7SMathieu J. Poirier
52ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
53ded547a4SArnd Bergmann	def_bool y
545017f1cdSLinus Walleij	select MACH_MOP500
55ded547a4SArnd Bergmann	help
56ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
57ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
585017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
5909893ee8SLinus Torvalds
60e27fc6cfSLee Jonesconfig MACH_UX500_DT
61e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
6209893ee8SLinus Torvalds	depends on MACH_MOP500
63e27fc6cfSLee Jones	select USE_OF
64e27fc6cfSLee Jones
65d2a40972SRabin Vincentendmenu
66f38406bbSRabin Vincent
6739a982b4SRabin Vincentconfig UX500_DEBUG_UART
6839a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
6939a982b4SRabin Vincent	default 2
7039a982b4SRabin Vincent	help
7139a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
7239a982b4SRabin Vincent	  output.
7339a982b4SRabin Vincent
74f38406bbSRabin Vincentendif
75