xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 09dbec3f)
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
233c937993SPatrice Chotard	select PINCTRL_AB8500
241aa2d8d4SPatrice Chotard	select PINCTRL_AB8505
25*09dbec3fSPatrice Chotard	select PINCTRL_AB9540
2697b3b7a0SLee Jones	select REGULATOR
271032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
28aa44ef4dSSrinidhi Kasagar
299372da50SLinus Walleijmenu "Ux500 target platform (boards)"
30d2a40972SRabin Vincent
315017f1cdSLinus Walleijconfig MACH_MOP500
325017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
335017f1cdSLinus Walleij	select I2C
345017f1cdSLinus Walleij	select I2C_NOMADIK
350b5ea1e2SLee Jones	select REGULATOR_FIXED_VOLTAGE
36b1b3f49cSRussell King	select SOC_BUS
37b1b3f49cSRussell King	select UX500_SOC_DB8500
38aa44ef4dSSrinidhi Kasagar	help
395017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
40591d8dd7SRabin Vincent
419372da50SLinus Walleijconfig MACH_HREFV60
425017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
435017f1cdSLinus Walleij	select MACH_MOP500
449372da50SLinus Walleij	help
459372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
465017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
479372da50SLinus Walleij
4811ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
4911ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
505017f1cdSLinus Walleij	select MACH_MOP500
5111ab32a7SMathieu J. Poirier	help
5211ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
5311ab32a7SMathieu J. Poirier
54ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
55ded547a4SArnd Bergmann	def_bool y
565017f1cdSLinus Walleij	select MACH_MOP500
57ded547a4SArnd Bergmann	help
58ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
59ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
605017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
6109893ee8SLinus Torvalds
62e27fc6cfSLee Jonesconfig MACH_UX500_DT
63e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
6409893ee8SLinus Torvalds	depends on MACH_MOP500
65e27fc6cfSLee Jones	select USE_OF
66e27fc6cfSLee Jones
67d2a40972SRabin Vincentendmenu
68f38406bbSRabin Vincent
6939a982b4SRabin Vincentconfig UX500_DEBUG_UART
7039a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
7139a982b4SRabin Vincent	default 2
7239a982b4SRabin Vincent	help
7339a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
7439a982b4SRabin Vincent	  output.
7539a982b4SRabin Vincent
76f38406bbSRabin Vincentendif
77