blob: b19b07204aafbeb53ced9f4226164ecd9c036cff [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
Arnd Bergmannccefeea2013-04-30 13:19:23 +020022 select ABX500_CORE
23 select AB8500_CORE
srinidhi kasagar98e87d52011-09-20 11:15:46 +053024 select ARM_ERRATA_754322
Arnd Bergmann8f90cce2012-08-16 09:36:04 +000025 select ARM_ERRATA_764369 if SMP
Russell Kingb1b3f492012-10-06 17:12:25 +010026 select ARM_GIC
Arnd Bergmann68526e52012-02-25 12:48:52 -070027 select CACHE_L2X0
Linus Walleij694e33a2012-10-18 14:01:25 +020028 select CLKSRC_NOMADIK_MTU
Russell Kingb1b3f492012-10-06 17:12:25 +010029 select COMMON_CLK
Linus Walleije98ea772012-04-26 23:57:25 +020030 select PINCTRL
31 select PINCTRL_NOMADIK
Patrice Chotard0493e642013-01-08 10:41:02 +010032 select PINCTRL_ABX500
Russell Kingb1b3f492012-10-06 17:12:25 +010033 select PL310_ERRATA_753970 if CACHE_PL310
Rabin Vincentf38406b2010-05-03 07:27:31 +010034
Rabin Vincentd2a40972010-12-08 11:08:01 +053035config UX500_SOC_DB8500
Arnd Bergmannded547a2012-02-25 12:48:50 -070036 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010037 select CPU_FREQ_TABLE if CPU_FREQ
Linus Walleij650c2a22011-05-15 22:53:56 +020038 select MFD_DB8500_PRCMU
Russell Kingb1b3f492012-10-06 17:12:25 +010039 select PINCTRL_DB8500
Linus Walleij1728c962013-01-28 14:43:55 +010040 select PINCTRL_DB8540
Patrice Chotard3c937992013-01-08 10:59:53 +010041 select PINCTRL_AB8500
Patrice Chotard1aa2d8d2013-01-28 14:23:45 +010042 select PINCTRL_AB8505
Patrice Chotard09dbec32013-01-28 14:29:35 +010043 select PINCTRL_AB9540
Patrice Chotarda8f96e42013-01-28 14:35:19 +010044 select PINCTRL_AB8540
Lee Jones97b3b7a2012-04-13 15:08:01 +020045 select REGULATOR
Bengt Jonsson1032fbf2011-04-01 14:43:33 +020046 select REGULATOR_DB8500_PRCMU
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010047
Linus Walleij9372da52011-03-31 09:07:20 +020048menu "Ux500 target platform (boards)"
Rabin Vincentd2a40972010-12-08 11:08:01 +053049
Linus Walleij5017f1c2012-02-29 18:15:20 +010050config MACH_MOP500
51 bool "U8500 Development platform, MOP500 versions"
Linus Walleij5017f1c2012-02-29 18:15:20 +010052 select I2C
53 select I2C_NOMADIK
Emilio López74ba4ec72013-05-15 09:36:41 -030054 select REGULATOR
Lee Jones0b5ea1e2012-09-03 14:33:39 +010055 select REGULATOR_FIXED_VOLTAGE
Russell Kingb1b3f492012-10-06 17:12:25 +010056 select SOC_BUS
57 select UX500_SOC_DB8500
Srinidhi Kasagaraa44ef42009-11-28 08:17:18 +010058 help
Linus Walleij5017f1c2012-02-29 18:15:20 +010059 Include support for the MOP500 development platform.
Rabin Vincent591d8dd2010-05-03 08:46:51 +010060
Linus Walleij9372da52011-03-31 09:07:20 +020061config MACH_HREFV60
Linus Walleij5017f1c2012-02-29 18:15:20 +010062 bool "U8500 Development platform, HREFv60 version"
63 select MACH_MOP500
64 help
65 Include support for the HREFv60 new development platform.
66 Includes HREFv70, v71 etc.
Linus Walleij9372da52011-03-31 09:07:20 +020067
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060068config MACH_SNOWBALL
69 bool "U8500 Snowball platform"
Linus Walleij5017f1c2012-02-29 18:15:20 +010070 select MACH_MOP500
Mathieu J. Poirier11ab32a2011-03-25 09:29:01 -060071 help
72 Include support for the snowball development platform.
73
Arnd Bergmannded547a2012-02-25 12:48:50 -070074config UX500_AUTO_PLATFORM
75 def_bool y
Linus Walleij5017f1c2012-02-29 18:15:20 +010076 select MACH_MOP500
Arnd Bergmannded547a2012-02-25 12:48:50 -070077 help
78 At least one platform needs to be selected in order to build
79 a working kernel. If everything else is disabled, this
Linus Walleij5017f1c2012-02-29 18:15:20 +010080 automatically enables MACH_MOP500.
Linus Torvalds09893ee2012-03-28 12:34:33 -070081
Lee Jonese27fc6c2012-03-02 21:51:38 +000082config MACH_UX500_DT
83 bool "Generic U8500 support using device tree"
Linus Torvalds09893ee2012-03-28 12:34:33 -070084 depends on MACH_MOP500
Lee Jonese27fc6c2012-03-02 21:51:38 +000085 select USE_OF
86
Rabin Vincentd2a40972010-12-08 11:08:01 +053087endmenu
Rabin Vincentf38406b2010-05-03 07:27:31 +010088
Rabin Vincent39a982b2010-05-03 07:38:06 +010089config UX500_DEBUG_UART
90 int "Ux500 UART to use for low-level debug"
91 default 2
92 help
93 Choose the UART on which kernel low-level debug messages should be
94 output.
95
Rabin Vincentf38406b2010-05-03 07:27:31 +010096endif