blob: eeea3bf4dffbbe2025339ca5edaac54fa09be95d [file] [log] [blame]
Arnd Bergmann7f01e5a2013-03-21 22:51:13 +01001config ARCH_U8500
2 bool "ST-Ericsson U8500 Series" if ARCH_MULTI_V7
3 depends on MMU
4 select ARCH_HAS_CPUFREQ
5 select ARCH_REQUIRE_GPIOLIB
6 select ARM_AMBA
7 select CLKDEV_LOOKUP
8 select CPU_V7
9 select GENERIC_CLOCKEVENTS
10 select HAVE_SMP
11 select MIGHT_HAVE_CACHE_L2X0
12 help
13 Support for ST-Ericsson's Ux500 architecture
14
Rabin Vincentf38406b2010-05-03 07:27:31 +010015if ARCH_U8500
16
17config UX500_SOC_COMMON
18 bool
19 default y
srinidhi kasagar98e87d52011-09-20 11:15:46 +053020 select ARM_ERRATA_754322
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000021 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010022 select ARM_GIC
Arnd Bergmann68526e52012-02-25 12:48:52 -070023 select CACHE_L2X0
Linus Walleij694e33a2012-10-18 14:01:25 +020024 select CLKSRC_NOMADIK_MTU
Russell Kingb1b3f492012-10-06 17:12:25 +010025 select COMMON_CLK
Linus Walleije98ea772012-04-26 23:57:25 +020026 select PINCTRL
27 select PINCTRL_NOMADIK
Patrice Chotard0493e642013-01-08 10:41:02 +010028 select PINCTRL_ABX500
Russell Kingb1b3f492012-10-06 17:12:25 +010029 select PL310_ERRATA_753970 if CACHE_PL310
Rabin Vincentf38406b2010-05-03 07:27:31 +010030
Rabin Vincentd2a40972010-12-08 11:08:01 +053031config UX500_SOC_DB8500
Arnd Bergmannded547a2012-02-25 12:48:50 -070032 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010033 select CPU_FREQ_TABLE if CPU_FREQ
Linus Walleij650c2a22011-05-15 22:53:56 +020034 select MFD_DB8500_PRCMU
Russell Kingb1b3f492012-10-06 17:12:25 +010035 select PINCTRL_DB8500
Linus Walleij1728c962013-01-28 14:43:55 +010036 select PINCTRL_DB8540
Patrice Chotard3c937992013-01-08 10:59:53 +010037 select PINCTRL_AB8500
Patrice Chotard1aa2d8d2013-01-28 14:23:45 +010038 select PINCTRL_AB8505
Patrice Chotard09dbec32013-01-28 14:29:35 +010039 select PINCTRL_AB9540
Patrice Chotarda8f96e42013-01-28 14:35:19 +010040 select PINCTRL_AB8540
Lee Jones97b3b7a2012-04-13 15:08:01 +020041 select REGULATOR
Bengt Jonsson1032fbf2011-04-01 14:43:33 +020042 select REGULATOR_DB8500_PRCMU
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010043
Linus Walleij9372da52011-03-31 09:07:20 +020044menu "Ux500 target platform (boards)"
Rabin Vincentd2a40972010-12-08 11:08:01 +053045
Linus Walleij5017f1c2012-02-29 18:15:20 +010046config MACH_MOP500
47 bool "U8500 Development platform, MOP500 versions"
Linus Walleij5017f1c2012-02-29 18:15:20 +010048 select I2C
49 select I2C_NOMADIK
Lee Jones0b5ea1e2012-09-03 14:33:39 +010050 select REGULATOR_FIXED_VOLTAGE
Russell Kingb1b3f492012-10-06 17:12:25 +010051 select SOC_BUS
52 select UX500_SOC_DB8500
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010053 help
Linus Walleij5017f1c2012-02-29 18:15:20 +010054 Include support for the MOP500 development platform.
Rabin Vincent591d8dd2010-05-03 08:46:51 +010055
Linus Walleij9372da52011-03-31 09:07:20 +020056config MACH_HREFV60
Linus Walleij5017f1c2012-02-29 18:15:20 +010057 bool "U8500 Development platform, HREFv60 version"
58 select MACH_MOP500
59 help
60 Include support for the HREFv60 new development platform.
61 Includes HREFv70, v71 etc.
Linus Walleij9372da52011-03-31 09:07:20 +020062
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060063config MACH_SNOWBALL
64 bool "U8500 Snowball platform"
Linus Walleij5017f1c2012-02-29 18:15:20 +010065 select MACH_MOP500
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060066 help
67 Include support for the snowball development platform.
68
Arnd Bergmannded547a2012-02-25 12:48:50 -070069config UX500_AUTO_PLATFORM
70 def_bool y
Linus Walleij5017f1c2012-02-29 18:15:20 +010071 select MACH_MOP500
Arnd Bergmannded547a2012-02-25 12:48:50 -070072 help
73 At least one platform needs to be selected in order to build
74 a working kernel. If everything else is disabled, this
Linus Walleij5017f1c2012-02-29 18:15:20 +010075 automatically enables MACH_MOP500.
Linus Torvalds09893ee2012-03-28 12:34:33 -070076
Lee Jonese27fc6c2012-03-02 21:51:38 +000077config MACH_UX500_DT
78 bool "Generic U8500 support using device tree"
Linus Torvalds09893ee2012-03-28 12:34:33 -070079 depends on MACH_MOP500
Lee Jonese27fc6c2012-03-02 21:51:38 +000080 select USE_OF
81
Rabin Vincentd2a40972010-12-08 11:08:01 +053082endmenu
Rabin Vincentf38406b2010-05-03 07:27:31 +010083
Rabin Vincent39a982b2010-05-03 07:38:06 +010084config UX500_DEBUG_UART
85 int "Ux500 UART to use for low-level debug"
86 default 2
87 help
88 Choose the UART on which kernel low-level debug messages should be
89 output.
90
Rabin Vincentf38406b2010-05-03 07:27:31 +010091endif