xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 97b3b7a0)
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
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
20*97b3b7a0SLee Jones	select REGULATOR
211032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
222c43ee44SArnd Bergmann	select CPU_FREQ_TABLE if CPU_FREQ
23aa44ef4dSSrinidhi Kasagar
249372da50SLinus Walleijmenu "Ux500 target platform (boards)"
25d2a40972SRabin Vincent
265017f1cdSLinus Walleijconfig MACH_MOP500
275017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
28ded547a4SArnd Bergmann	select UX500_SOC_DB8500
295017f1cdSLinus Walleij	select I2C
305017f1cdSLinus Walleij	select I2C_NOMADIK
31eda413c2SLee Jones	select SOC_BUS
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
4511ab32a7SMathieu J. Poirier	help
4611ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
4711ab32a7SMathieu J. Poirier
48591d8dd7SRabin Vincentconfig MACH_U5500
49591d8dd7SRabin Vincent	bool "U5500 Development platform"
50ded547a4SArnd Bergmann	select UX500_SOC_DB5500
51591d8dd7SRabin Vincent	help
52591d8dd7SRabin Vincent	  Include support for the U5500 development platform.
53ded547a4SArnd Bergmann
54ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
55ded547a4SArnd Bergmann	def_bool y
56ded547a4SArnd Bergmann	depends on !MACH_U5500
575017f1cdSLinus Walleij	select MACH_MOP500
58ded547a4SArnd Bergmann	help
59ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
60ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
615017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
6209893ee8SLinus Torvalds
63e27fc6cfSLee Jonesconfig MACH_UX500_DT
64e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
6509893ee8SLinus Torvalds	depends on MACH_MOP500
66e27fc6cfSLee Jones	select USE_OF
67e27fc6cfSLee Jones
68d2a40972SRabin Vincentendmenu
69f38406bbSRabin Vincent
7039a982b4SRabin Vincentconfig UX500_DEBUG_UART
7139a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
7239a982b4SRabin Vincent	default 2
7339a982b4SRabin Vincent	help
7439a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
7539a982b4SRabin Vincent	  output.
7639a982b4SRabin Vincent
77e81fcc97SLinus Walleijconfig U5500_MODEM_IRQ
78e81fcc97SLinus Walleij	bool "Modem IRQ support"
79d2a40972SRabin Vincent	depends on UX500_SOC_DB5500
80e81fcc97SLinus Walleij	default y
81e81fcc97SLinus Walleij	help
82e81fcc97SLinus Walleij	  Add support for handling IRQ:s from modem side
83e81fcc97SLinus Walleij
84e81fcc97SLinus Walleijconfig U5500_MBOX
85e81fcc97SLinus Walleij	bool "Mailbox support"
86d2a40972SRabin Vincent	depends on U5500_MODEM_IRQ
87e81fcc97SLinus Walleij	default y
88e81fcc97SLinus Walleij	help
89e81fcc97SLinus Walleij	  Add support for U5500 mailbox communication with modem side
90e81fcc97SLinus Walleij
91f38406bbSRabin Vincentendif
92