xref: /openbmc/linux/arch/arm/mach-ux500/Kconfig (revision 74ba4ec7)
17f01e5a7SArnd Bergmannconfig ARCH_U8500
27f01e5a7SArnd Bergmann	bool "ST-Ericsson U8500 Series" if ARCH_MULTI_V7
37f01e5a7SArnd Bergmann	depends on MMU
47f01e5a7SArnd Bergmann	select ARCH_HAS_CPUFREQ
57f01e5a7SArnd Bergmann	select ARCH_REQUIRE_GPIOLIB
67f01e5a7SArnd Bergmann	select ARM_AMBA
77f01e5a7SArnd Bergmann	select CLKDEV_LOOKUP
87f01e5a7SArnd Bergmann	select CPU_V7
97f01e5a7SArnd Bergmann	select GENERIC_CLOCKEVENTS
104c3ffffdSStephen Boyd	select HAVE_ARM_SCU if SMP
114c3ffffdSStephen Boyd	select HAVE_ARM_TWD if LOCAL_TIMERS
127f01e5a7SArnd Bergmann	select HAVE_SMP
137f01e5a7SArnd Bergmann	select MIGHT_HAVE_CACHE_L2X0
147f01e5a7SArnd Bergmann	help
157f01e5a7SArnd Bergmann	  Support for ST-Ericsson's Ux500 architecture
167f01e5a7SArnd Bergmann
17f38406bbSRabin Vincentif ARCH_U8500
18f38406bbSRabin Vincent
19f38406bbSRabin Vincentconfig UX500_SOC_COMMON
20f38406bbSRabin Vincent	bool
21f38406bbSRabin Vincent	default y
22ccefeea9SArnd Bergmann	select ABX500_CORE
23ccefeea9SArnd Bergmann	select AB8500_CORE
2498e87d57Ssrinidhi kasagar	select ARM_ERRATA_754322
258f90cce5SArnd Bergmann	select ARM_ERRATA_764369 if SMP
26b1b3f49cSRussell King	select ARM_GIC
2768526e58SArnd Bergmann	select CACHE_L2X0
28694e33a7SLinus Walleij	select CLKSRC_NOMADIK_MTU
29b1b3f49cSRussell King	select COMMON_CLK
30e98ea774SLinus Walleij	select PINCTRL
31e98ea774SLinus Walleij	select PINCTRL_NOMADIK
320493e649SPatrice Chotard	select PINCTRL_ABX500
33b1b3f49cSRussell King	select PL310_ERRATA_753970 if CACHE_PL310
34f38406bbSRabin Vincent
35d2a40972SRabin Vincentconfig UX500_SOC_DB8500
36ded547a4SArnd Bergmann	bool
37b1b3f49cSRussell King	select CPU_FREQ_TABLE if CPU_FREQ
38650c2a21SLinus Walleij	select MFD_DB8500_PRCMU
39b1b3f49cSRussell King	select PINCTRL_DB8500
401728c96dSLinus Walleij	select PINCTRL_DB8540
413c937993SPatrice Chotard	select PINCTRL_AB8500
421aa2d8d4SPatrice Chotard	select PINCTRL_AB8505
4309dbec3fSPatrice Chotard	select PINCTRL_AB9540
44a8f96e41SPatrice Chotard	select PINCTRL_AB8540
4597b3b7a0SLee Jones	select REGULATOR
461032fbfdSBengt Jonsson	select REGULATOR_DB8500_PRCMU
47aa44ef4dSSrinidhi Kasagar
489372da50SLinus Walleijmenu "Ux500 target platform (boards)"
49d2a40972SRabin Vincent
505017f1cdSLinus Walleijconfig MACH_MOP500
515017f1cdSLinus Walleij	bool "U8500 Development platform, MOP500 versions"
525017f1cdSLinus Walleij	select I2C
535017f1cdSLinus Walleij	select I2C_NOMADIK
54*74ba4ec7SEmilio López	select REGULATOR
550b5ea1e2SLee Jones	select REGULATOR_FIXED_VOLTAGE
56b1b3f49cSRussell King	select SOC_BUS
57b1b3f49cSRussell King	select UX500_SOC_DB8500
58aa44ef4dSSrinidhi Kasagar	help
595017f1cdSLinus Walleij	  Include support for the MOP500 development platform.
60591d8dd7SRabin Vincent
619372da50SLinus Walleijconfig MACH_HREFV60
625017f1cdSLinus Walleij	bool "U8500 Development platform, HREFv60 version"
635017f1cdSLinus Walleij	select MACH_MOP500
649372da50SLinus Walleij	help
659372da50SLinus Walleij	  Include support for the HREFv60 new development platform.
665017f1cdSLinus Walleij	  Includes HREFv70, v71 etc.
679372da50SLinus Walleij
6811ab32a7SMathieu J. Poirierconfig MACH_SNOWBALL
6911ab32a7SMathieu J. Poirier	bool "U8500 Snowball platform"
705017f1cdSLinus Walleij	select MACH_MOP500
7111ab32a7SMathieu J. Poirier	help
7211ab32a7SMathieu J. Poirier	  Include support for the snowball development platform.
7311ab32a7SMathieu J. Poirier
74ded547a4SArnd Bergmannconfig UX500_AUTO_PLATFORM
75ded547a4SArnd Bergmann	def_bool y
765017f1cdSLinus Walleij	select MACH_MOP500
77ded547a4SArnd Bergmann	help
78ded547a4SArnd Bergmann	  At least one platform needs to be selected in order to build
79ded547a4SArnd Bergmann	  a working kernel. If everything else is disabled, this
805017f1cdSLinus Walleij	  automatically enables MACH_MOP500.
8109893ee8SLinus Torvalds
82e27fc6cfSLee Jonesconfig MACH_UX500_DT
83e27fc6cfSLee Jones	bool "Generic U8500 support using device tree"
8409893ee8SLinus Torvalds	depends on MACH_MOP500
85e27fc6cfSLee Jones	select USE_OF
86e27fc6cfSLee Jones
87d2a40972SRabin Vincentendmenu
88f38406bbSRabin Vincent
8939a982b4SRabin Vincentconfig UX500_DEBUG_UART
9039a982b4SRabin Vincent	int "Ux500 UART to use for low-level debug"
9139a982b4SRabin Vincent	default 2
9239a982b4SRabin Vincent	help
9339a982b4SRabin Vincent	  Choose the UART on which kernel low-level debug messages should be
9439a982b4SRabin Vincent	  output.
9539a982b4SRabin Vincent
96f38406bbSRabin Vincentendif
97