xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 1728c96d)
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
14b1b3f49cSRussell King	select PL310_ERRATA_753970 if CACHE_PL310
15f38406bbSRabin Vincent
16d2a40972SRabin Vincentconfig UX500_SOC_DB8500
17ded547a4SArnd Bergmann	bool
18b1b3f49cSRussell King	select CPU_FREQ_TABLE if CPU_FREQ
19650c2a21SLinus Walleij	select MFD_DB8500_PRCMU
20b1b3f49cSRussell King	select PINCTRL_DB8500
21*1728c96dSLinus Walleij	select PINCTRL_DB8540
2297b3b7a0SLee Jones	select REGULATOR
231032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
24aa44ef4dSSrinidhi Kasagar
259372da50SLinus Walleijmenu "Ux500 target platform (boards)"
26d2a40972SRabin Vincent
275017f1cdSLinus Walleijconfig MACH_MOP500
285017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
295017f1cdSLinus Walleij	select I2C
305017f1cdSLinus Walleij	select I2C_NOMADIK
310b5ea1e2SLee Jones	select REGULATOR_FIXED_VOLTAGE
32b1b3f49cSRussell King	select SOC_BUS
33b1b3f49cSRussell King	select UX500_SOC_DB8500
34aa44ef4dSSrinidhi Kasagar	help
355017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
36591d8dd7SRabin Vincent
379372da50SLinus Walleijconfig MACH_HREFV60
385017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
395017f1cdSLinus Walleij	select MACH_MOP500
409372da50SLinus Walleij	help
419372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
425017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
439372da50SLinus Walleij
4411ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
4511ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
465017f1cdSLinus Walleij	select MACH_MOP500
4711ab32a7SMathieu J. Poirier	help
4811ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
4911ab32a7SMathieu J. Poirier
50ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
51ded547a4SArnd Bergmann	def_bool y
525017f1cdSLinus Walleij	select MACH_MOP500
53ded547a4SArnd Bergmann	help
54ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
55ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
565017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
5709893ee8SLinus Torvalds
58e27fc6cfSLee Jonesconfig MACH_UX500_DT
59e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
6009893ee8SLinus Torvalds	depends on MACH_MOP500
61e27fc6cfSLee Jones	select USE_OF
62e27fc6cfSLee Jones
63d2a40972SRabin Vincentendmenu
64f38406bbSRabin Vincent
6539a982b4SRabin Vincentconfig UX500_DEBUG_UART
6639a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
6739a982b4SRabin Vincent	default 2
6839a982b4SRabin Vincent	help
6939a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
7039a982b4SRabin Vincent	  output.
7139a982b4SRabin Vincent
72f38406bbSRabin Vincentendif
73