xref: /linux/arch/arm/mach-omap2/Kconfig (revision 3fa609755c11fbe8770ede4d895ebb86fb7b9f1e)
121278aeaSRob Herringmenu "TI OMAP/AM/DM/DRA Family"
221278aeaSRob Herring	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
321278aeaSRob Herring
459d92875SArnd Bergmannconfig ARCH_OMAP2
559d92875SArnd Bergmann	bool "TI OMAP2"
659d92875SArnd Bergmann	depends on ARCH_MULTI_V6
759d92875SArnd Bergmann	select ARCH_OMAP2PLUS
859d92875SArnd Bergmann	select CPU_V6
959d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
1059d92875SArnd Bergmann
1159d92875SArnd Bergmannconfig ARCH_OMAP3
1259d92875SArnd Bergmann	bool "TI OMAP3"
1359d92875SArnd Bergmann	depends on ARCH_MULTI_V7
1459d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1559d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
1659d92875SArnd Bergmann	select OMAP_INTERCONNECT
1759d92875SArnd Bergmann	select PM_OPP if PM
18464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
1959d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
2059d92875SArnd Bergmann
2159d92875SArnd Bergmannconfig ARCH_OMAP4
2259d92875SArnd Bergmann	bool "TI OMAP4"
2359d92875SArnd Bergmann	depends on ARCH_MULTI_V7
2459d92875SArnd Bergmann	select ARCH_OMAP2PLUS
2559d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
2659d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
2759d92875SArnd Bergmann	select ARM_ERRATA_720789
2859d92875SArnd Bergmann	select ARM_GIC
2959d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3047dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
3159d92875SArnd Bergmann	select OMAP_INTERCONNECT
32*3fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
33a641f3a6SRussell King	select PL310_ERRATA_588369 if CACHE_L2X0
34a641f3a6SRussell King	select PL310_ERRATA_727915 if CACHE_L2X0
3559d92875SArnd Bergmann	select PM_OPP if PM
36464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
3759d92875SArnd Bergmann	select ARM_ERRATA_754322
3859d92875SArnd Bergmann	select ARM_ERRATA_775420
3959d92875SArnd Bergmann
4059d92875SArnd Bergmannconfig SOC_OMAP5
4159d92875SArnd Bergmann	bool "TI OMAP5"
4259d92875SArnd Bergmann	depends on ARCH_MULTI_V7
4359d92875SArnd Bergmann	select ARCH_OMAP2PLUS
4459d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
4559d92875SArnd Bergmann	select ARM_GIC
4659d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
478b7dfa7dSRob Herring	select HAVE_ARM_TWD if SMP
4859d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
49f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
50*3fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
5159d92875SArnd Bergmann
5259d92875SArnd Bergmannconfig SOC_AM33XX
531085189fSEzequiel Garcia	bool "TI AM33XX"
5459d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5559d92875SArnd Bergmann	select ARCH_OMAP2PLUS
5659d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
5759d92875SArnd Bergmann
5859d92875SArnd Bergmannconfig SOC_AM43XX
5959d92875SArnd Bergmann	bool "TI AM43x"
6059d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6159d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6259d92875SArnd Bergmann	select ARM_GIC
6359d92875SArnd Bergmann	select MACH_OMAP_GENERIC
64d941f86fSSekhar Nori	select MIGHT_HAVE_CACHE_L2X0
6559d92875SArnd Bergmann
6668b9f608STero Kristoconfig SOC_DRA7XX
6768b9f608STero Kristo	bool "TI DRA7XX"
6868b9f608STero Kristo	depends on ARCH_MULTI_V7
6968b9f608STero Kristo	select ARCH_OMAP2PLUS
7068b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
7168b9f608STero Kristo	select ARM_GIC
7268b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
735c61e619SSricharan R	select IRQ_CROSSBAR
74209431efSPraneeth Bajjuri	select ARM_ERRATA_798181 if SMP
75*3fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
7668b9f608STero Kristo
77a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
7859d92875SArnd Bergmann	bool
7959d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
80a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
81a0694861STony Lindgren	select ARCH_OMAP
82a0694861STony Lindgren	select ARCH_REQUIRE_GPIOLIB
83a0694861STony Lindgren	select CLKSRC_MMIO
84a0694861STony Lindgren	select GENERIC_IRQ_CHIP
85f2acae69STony Lindgren	select MACH_OMAP_GENERIC
8618640193STony Lindgren	select MEMORY
87da4d8145STony Lindgren	select MFD_SYSCON
88a0694861STony Lindgren	select OMAP_DM_TIMER
8918640193STony Lindgren	select OMAP_GPMC
90a0694861STony Lindgren	select PINCTRL
916770b211SRuslan Bilovol	select SOC_BUS
929d8812dfSOlof Johansson	select TI_PRIV_EDMA
938598066cSFelipe Balbi	select OMAP_IRQCHIP
94a0694861STony Lindgren	help
95a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
96a0694861STony Lindgren
97*3fa60975SRussell Kingconfig OMAP_INTERCONNECT_BARRIER
98*3fa60975SRussell King	bool
99*3fa60975SRussell King	select ARM_HEAVY_MB
100*3fa60975SRussell King
101a0694861STony Lindgren
1024a54db61STony Lindgrenif ARCH_OMAP2PLUS
1034a54db61STony Lindgren
1044a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1054a54db61STony Lindgren
1068d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1078d9166b5STony Lindgren	bool "Typical OMAP configuration"
1088d9166b5STony Lindgren	default y
1098d9166b5STony Lindgren	select AEABI
110b1b3f49cSRussell King	select HIGHMEM
1118d9166b5STony Lindgren	select I2C
1128d9166b5STony Lindgren	select I2C_OMAP
1138d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1148dd21c93SR Sricharan	select NEON if CPU_V7
115464ed18eSRafael J. Wysocki	select PM
116b1b3f49cSRussell King	select REGULATOR
1178d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1188d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
119b1b3f49cSRussell King	select VFP
1208d9166b5STony Lindgren	help
1218d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1228d9166b5STony Lindgren
123ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
124ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
125ecc46cfdSVaibhav Hiremath
126fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
127fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
128f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
12934cceb74SJon Hunter	default y
130fa6d79d2SSantosh Shilimkar
1311dbae815STony Lindgrencomment "OMAP Core Type"
132f558b275STony Lindgren	depends on ARCH_OMAP2
1331dbae815STony Lindgren
13459b479e0STony Lindgrenconfig SOC_OMAP2420
1351dbae815STony Lindgren	bool "OMAP2420 support"
136f558b275STony Lindgren	depends on ARCH_OMAP2
137ffb63e34STony Lindgren	default y
13877900a2fSTimo Teras	select OMAP_DM_TIMER
139ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1401dbae815STony Lindgren
14159b479e0STony Lindgrenconfig SOC_OMAP2430
14272d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
143f558b275STony Lindgren	depends on ARCH_OMAP2
144ffb63e34STony Lindgren	default y
145ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
14672d0f1c3SSyed Mohammed Khasim
14759b479e0STony Lindgrenconfig SOC_OMAP3430
148cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
149f558b275STony Lindgren	depends on ARCH_OMAP3
150ffb63e34STony Lindgren	default y
151ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
152cc26b3b0SSyed Mohammed, Khasim
15333959553SKevin Hilmanconfig SOC_TI81XX
154a920360fSHemant Pedanekar	bool "TI81XX support"
155f558b275STony Lindgren	depends on ARCH_OMAP3
1564bd7be22SHemant Pedanekar	default y
1574bd7be22SHemant Pedanekar
158ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
159ddaa912aSTony Lindgren       bool
160ddaa912aSTony Lindgren
161ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
162ddaa912aSTony Lindgren       bool
163ddaa912aSTony Lindgren
164ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
165ddaa912aSTony Lindgren       bool
166ddaa912aSTony Lindgren
167662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
168662c8b55STony Lindgren       bool
169662c8b55STony Lindgren
170f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
171f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
1721dbae815STony Lindgren
1731dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
174f2acae69STony Lindgren	bool
1751dbae815STony Lindgren
1761b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
1771b52d5dfSKalle Valo	bool
17859b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
1791b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
1801b52d5dfSKalle Valo
18149265651SNishant Kamatconfig MACH_OMAP_LDP
18249265651SNishant Kamat	bool "OMAP3 LDP board"
183a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
184ffb63e34STony Lindgren	default y
185ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
18649265651SNishant Kamat
187d40f3f15STim Nordellconfig MACH_OMAP3530_LV_SOM
188d40f3f15STim Nordell	bool "OMAP3 Logic 3530 LV SOM board"
189d40f3f15STim Nordell	depends on ARCH_OMAP3
190d40f3f15STim Nordell	default y
191b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
192d40f3f15STim Nordell	help
193d40f3f15STim Nordell	 Support for the LogicPD OMAP3530 SOM Development kit
194d40f3f15STim Nordell	 for full description please see the products webpage at
195d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
196d40f3f15STim Nordell
197d40f3f15STim Nordellconfig MACH_OMAP3_TORPEDO
198d40f3f15STim Nordell	bool "OMAP3 Logic 35x Torpedo board"
199d40f3f15STim Nordell	depends on ARCH_OMAP3
200d40f3f15STim Nordell	default y
201b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
202d40f3f15STim Nordell	help
203d40f3f15STim Nordell	 Support for the LogicPD OMAP35x Torpedo Development kit
204d40f3f15STim Nordell	 for full description please see the products webpage at
205d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
206d40f3f15STim Nordell
207549f95edSTony Lindgrenconfig MACH_OMAP3517EVM
208549f95edSTony Lindgren	bool "OMAP3517/ AM3517 EVM board"
209549f95edSTony Lindgren	depends on ARCH_OMAP3
210549f95edSTony Lindgren	default y
211549f95edSTony Lindgren
212da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
213da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
214a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
215ffb63e34STony Lindgren	default y
216ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
217a075ccc6SFelipe Contreras	select REGULATOR_FIXED_VOLTAGE if REGULATOR
2186fdc29e2SSyed Mohammed Khasim
219d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
220d2fbf345STony Lindgren       bool
221d2fbf345STony Lindgren
222d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
223d2fbf345STony Lindgren       bool
224d2fbf345STony Lindgren
22563138812SKalle Valoconfig MACH_NOKIA_N8X0
22663138812SKalle Valo	bool "Nokia N800/N810"
22759b479e0STony Lindgren	depends on SOC_OMAP2420
228ffb63e34STony Lindgren	default y
229d2fbf345STony Lindgren	select MACH_NOKIA_N810
230d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
23163138812SKalle Valo
232ffe7f95bSLauri Leukkunenconfig MACH_NOKIA_RX51
233cc067797SPavel Machek	bool "Nokia N900 (RX-51) phone"
234a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
235ffb63e34STony Lindgren	default y
236ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
237577145f4SVikram Pandita
23818862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
23918862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
240a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
24118862cbeSPaul Walmsley	default n
24218862cbeSPaul Walmsley	help
24318862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
24418862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
24518862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
24618862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
24718862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
24818862cbeSPaul Walmsley	  going on could result in system crashes;
24918862cbeSPaul Walmsley
2504a54db61STony Lindgrenendmenu
2514a54db61STony Lindgren
2524a54db61STony Lindgrenendif
25321278aeaSRob Herring
25421278aeaSRob Herringendmenu
255