blob: f66d7deae46d9d63b22ffb084605f77b69ae3fa2 [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
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080010 select HAVE_ARM_SCU if SMP
11 select HAVE_ARM_TWD if LOCAL_TIMERS
Arnd Bergmann7f01e5a2013-03-21 22:51:13 +010012 select HAVE_SMP
13 select MIGHT_HAVE_CACHE_L2X0
14 help
15 Support for ST-Ericsson's Ux500 architecture
16
Rabin Vincentf38406b2010-05-03 07:27:31 +010017if ARCH_U8500
18
19config UX500_SOC_COMMON
20 bool
21 default y
srinidhi kasagar98e87d52011-09-20 11:15:46 +053022 select ARM_ERRATA_754322
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000023 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010024 select ARM_GIC
Arnd Bergmann68526e52012-02-25 12:48:52 -070025 select CACHE_L2X0
Linus Walleij694e33a2012-10-18 14:01:25 +020026 select CLKSRC_NOMADIK_MTU
Russell Kingb1b3f492012-10-06 17:12:25 +010027 select COMMON_CLK
Linus Walleije98ea772012-04-26 23:57:25 +020028 select PINCTRL
29 select PINCTRL_NOMADIK
Patrice Chotard0493e642013-01-08 10:41:02 +010030 select PINCTRL_ABX500
Russell Kingb1b3f492012-10-06 17:12:25 +010031 select PL310_ERRATA_753970 if CACHE_PL310
Rabin Vincentf38406b2010-05-03 07:27:31 +010032
Rabin Vincentd2a40972010-12-08 11:08:01 +053033config UX500_SOC_DB8500
Arnd Bergmannded547a2012-02-25 12:48:50 -070034 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010035 select CPU_FREQ_TABLE if CPU_FREQ
Linus Walleij650c2a22011-05-15 22:53:56 +020036 select MFD_DB8500_PRCMU
Russell Kingb1b3f492012-10-06 17:12:25 +010037 select PINCTRL_DB8500
Linus Walleij1728c962013-01-28 14:43:55 +010038 select PINCTRL_DB8540
Patrice Chotard3c937992013-01-08 10:59:53 +010039 select PINCTRL_AB8500
Patrice Chotard1aa2d8d2013-01-28 14:23:45 +010040 select PINCTRL_AB8505
Patrice Chotard09dbec32013-01-28 14:29:35 +010041 select PINCTRL_AB9540
Patrice Chotarda8f96e42013-01-28 14:35:19 +010042 select PINCTRL_AB8540
Lee Jones97b3b7a2012-04-13 15:08:01 +020043 select REGULATOR
Bengt Jonsson1032fbf2011-04-01 14:43:33 +020044 select REGULATOR_DB8500_PRCMU
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010045
Linus Walleij9372da52011-03-31 09:07:20 +020046menu "Ux500 target platform (boards)"
Rabin Vincentd2a40972010-12-08 11:08:01 +053047
Linus Walleij5017f1c2012-02-29 18:15:20 +010048config MACH_MOP500
49 bool "U8500 Development platform, MOP500 versions"
Linus Walleij5017f1c2012-02-29 18:15:20 +010050 select I2C
51 select I2C_NOMADIK
Lee Jones0b5ea1e2012-09-03 14:33:39 +010052 select REGULATOR_FIXED_VOLTAGE
Russell Kingb1b3f492012-10-06 17:12:25 +010053 select SOC_BUS
54 select UX500_SOC_DB8500
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010055 help
Linus Walleij5017f1c2012-02-29 18:15:20 +010056 Include support for the MOP500 development platform.
Rabin Vincent591d8dd2010-05-03 08:46:51 +010057
Linus Walleij9372da52011-03-31 09:07:20 +020058config MACH_HREFV60
Linus Walleij5017f1c2012-02-29 18:15:20 +010059 bool "U8500 Development platform, HREFv60 version"
60 select MACH_MOP500
61 help
62 Include support for the HREFv60 new development platform.
63 Includes HREFv70, v71 etc.
Linus Walleij9372da52011-03-31 09:07:20 +020064
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060065config MACH_SNOWBALL
66 bool "U8500 Snowball platform"
Linus Walleij5017f1c2012-02-29 18:15:20 +010067 select MACH_MOP500
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060068 help
69 Include support for the snowball development platform.
70
Arnd Bergmannded547a2012-02-25 12:48:50 -070071config UX500_AUTO_PLATFORM
72 def_bool y
Linus Walleij5017f1c2012-02-29 18:15:20 +010073 select MACH_MOP500
Arnd Bergmannded547a2012-02-25 12:48:50 -070074 help
75 At least one platform needs to be selected in order to build
76 a working kernel. If everything else is disabled, this
Linus Walleij5017f1c2012-02-29 18:15:20 +010077 automatically enables MACH_MOP500.
Linus Torvalds09893ee2012-03-28 12:34:33 -070078
Lee Jonese27fc6c2012-03-02 21:51:38 +000079config MACH_UX500_DT
80 bool "Generic U8500 support using device tree"
Linus Torvalds09893ee2012-03-28 12:34:33 -070081 depends on MACH_MOP500
Lee Jonese27fc6c2012-03-02 21:51:38 +000082 select USE_OF
83
Rabin Vincentd2a40972010-12-08 11:08:01 +053084endmenu
Rabin Vincentf38406b2010-05-03 07:27:31 +010085
Rabin Vincent39a982b2010-05-03 07:38:06 +010086config UX500_DEBUG_UART
87 int "Ux500 UART to use for low-level debug"
88 default 2
89 help
90 Choose the UART on which kernel low-level debug messages should be
91 output.
92
Rabin Vincentf38406b2010-05-03 07:27:31 +010093endif