xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 0b5ea1e2)
1f38406bbSRabin Vincentif ARCH_U8500
2f38406bbSRabin Vincent
3f38406bbSRabin Vincentconfig UX500_SOC_COMMON
4f38406bbSRabin Vincent	bool
5f38406bbSRabin Vincent	default y
6f38406bbSRabin Vincent	select ARM_GIC
7f38406bbSRabin Vincent	select HAS_MTU
843a6955fSWill Deacon	select PL310_ERRATA_753970
998e87d57Ssrinidhi kasagar	select ARM_ERRATA_754322
10d65015f7SSrinidhi KASAGAR	select ARM_ERRATA_764369
1168526e58SArnd Bergmann	select CACHE_L2X0
12e98ea774SLinus Walleij	select PINCTRL
13e98ea774SLinus Walleij	select PINCTRL_NOMADIK
14f38406bbSRabin Vincent
15d2a40972SRabin Vincentconfig UX500_SOC_DB8500
16ded547a4SArnd Bergmann	bool
17650c2a21SLinus Walleij	select MFD_DB8500_PRCMU
1897b3b7a0SLee Jones	select REGULATOR
191032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
202c43ee44SArnd Bergmann	select CPU_FREQ_TABLE if CPU_FREQ
21e98ea774SLinus Walleij	select PINCTRL_DB8500
22aa44ef4dSSrinidhi Kasagar
239372da50SLinus Walleijmenu "Ux500 target platform (boards)"
24d2a40972SRabin Vincent
255017f1cdSLinus Walleijconfig MACH_MOP500
265017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
27ded547a4SArnd Bergmann	select UX500_SOC_DB8500
285017f1cdSLinus Walleij	select I2C
295017f1cdSLinus Walleij	select I2C_NOMADIK
30eda413c2SLee Jones	select SOC_BUS
31*0b5ea1e2SLee Jones	select REGULATOR_FIXED_VOLTAGE
32aa44ef4dSSrinidhi Kasagar	help
335017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
34591d8dd7SRabin Vincent
359372da50SLinus Walleijconfig MACH_HREFV60
365017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
375017f1cdSLinus Walleij	select MACH_MOP500
389372da50SLinus Walleij	help
399372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
405017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
419372da50SLinus Walleij
4211ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
4311ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
445017f1cdSLinus Walleij	select MACH_MOP500
458733f53cSLee Jones	select LEDS_GPIO
4611ab32a7SMathieu J. Poirier	help
4711ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
4811ab32a7SMathieu J. Poirier
49ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
50ded547a4SArnd Bergmann	def_bool y
515017f1cdSLinus Walleij	select MACH_MOP500
52ded547a4SArnd Bergmann	help
53ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
54ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
555017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
5609893ee8SLinus Torvalds
57e27fc6cfSLee Jonesconfig MACH_UX500_DT
58e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
5909893ee8SLinus Torvalds	depends on MACH_MOP500
60e27fc6cfSLee Jones	select USE_OF
61e27fc6cfSLee Jones
62d2a40972SRabin Vincentendmenu
63f38406bbSRabin Vincent
6439a982b4SRabin Vincentconfig UX500_DEBUG_UART
6539a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
6639a982b4SRabin Vincent	default 2
6739a982b4SRabin Vincent	help
6839a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
6939a982b4SRabin Vincent	  output.
7039a982b4SRabin Vincent
71f38406bbSRabin Vincentendif
72