xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 5017f1cd)
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
86e266b20SLinus Walleij	select ARM_ERRATA_753970
998e87d57Ssrinidhi kasagar	select ARM_ERRATA_754322
10d65015f7SSrinidhi KASAGAR	select ARM_ERRATA_764369
1168526e58SArnd Bergmann	select CACHE_L2X0
12f38406bbSRabin Vincent
13f38406bbSRabin Vincentconfig UX500_SOC_DB5500
14ded547a4SArnd Bergmann	bool
158317797cSLinus Walleij	select MFD_DB5500_PRCMU
16f38406bbSRabin Vincent
17d2a40972SRabin Vincentconfig UX500_SOC_DB8500
18ded547a4SArnd Bergmann	bool
19650c2a21SLinus Walleij	select MFD_DB8500_PRCMU
201032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
212c43ee44SArnd Bergmann	select CPU_FREQ_TABLE if CPU_FREQ
22aa44ef4dSSrinidhi Kasagar
239372da50SLinus Walleijmenu "Ux500 target platform (boards)"
24d2a40972SRabin Vincent
25*5017f1cdSLinus Walleijconfig MACH_MOP500
26*5017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
27ded547a4SArnd Bergmann	select UX500_SOC_DB8500
28*5017f1cdSLinus Walleij	select I2C
29*5017f1cdSLinus Walleij	select I2C_NOMADIK
30aa44ef4dSSrinidhi Kasagar	help
31*5017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
32591d8dd7SRabin Vincent
339372da50SLinus Walleijconfig MACH_HREFV60
34*5017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
35*5017f1cdSLinus Walleij	select MACH_MOP500
369372da50SLinus Walleij	help
379372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
38*5017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
399372da50SLinus Walleij
4011ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
4111ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
42*5017f1cdSLinus Walleij	select MACH_MOP500
4311ab32a7SMathieu J. Poirier	help
4411ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
4511ab32a7SMathieu J. Poirier
46591d8dd7SRabin Vincentconfig MACH_U5500
47591d8dd7SRabin Vincent	bool "U5500 Development platform"
48ded547a4SArnd Bergmann	select UX500_SOC_DB5500
49591d8dd7SRabin Vincent	help
50591d8dd7SRabin Vincent	  Include support for the U5500 development platform.
51ded547a4SArnd Bergmann
52ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
53ded547a4SArnd Bergmann	def_bool y
54ded547a4SArnd Bergmann	depends on !MACH_U5500
55*5017f1cdSLinus Walleij	select MACH_MOP500
56ded547a4SArnd Bergmann	help
57ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
58ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
59*5017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
60d2a40972SRabin Vincentendmenu
61f38406bbSRabin Vincent
6239a982b4SRabin Vincentconfig UX500_DEBUG_UART
6339a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
6439a982b4SRabin Vincent	default 2
6539a982b4SRabin Vincent	help
6639a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
6739a982b4SRabin Vincent	  output.
6839a982b4SRabin Vincent
69e81fcc97SLinus Walleijconfig U5500_MODEM_IRQ
70e81fcc97SLinus Walleij	bool "Modem IRQ support"
71d2a40972SRabin Vincent	depends on UX500_SOC_DB5500
72e81fcc97SLinus Walleij	default y
73e81fcc97SLinus Walleij	help
74e81fcc97SLinus Walleij	  Add support for handling IRQ:s from modem side
75e81fcc97SLinus Walleij
76e81fcc97SLinus Walleijconfig U5500_MBOX
77e81fcc97SLinus Walleij	bool "Mailbox support"
78d2a40972SRabin Vincent	depends on U5500_MODEM_IRQ
79e81fcc97SLinus Walleij	default y
80e81fcc97SLinus Walleij	help
81e81fcc97SLinus Walleij	  Add support for U5500 mailbox communication with modem side
82e81fcc97SLinus Walleij
83f38406bbSRabin Vincentendif
84