xref: /linux/arch/arm/mach-omap2/Kconfig (revision d8f8004ec7048fb2faa6967ab51259b5603562fb)
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
323fa60975SRussell 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
4759d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
48f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
49*d8f8004eSNishanth Menon	select OMAP_INTERCONNECT
503fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
51*d8f8004eSNishanth Menon	select PM_OPP if PM
5259d92875SArnd Bergmann
5359d92875SArnd Bergmannconfig SOC_AM33XX
541085189fSEzequiel Garcia	bool "TI AM33XX"
5559d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5659d92875SArnd Bergmann	select ARCH_OMAP2PLUS
5759d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
5859d92875SArnd Bergmann
5959d92875SArnd Bergmannconfig SOC_AM43XX
6059d92875SArnd Bergmann	bool "TI AM43x"
6159d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6259d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6359d92875SArnd Bergmann	select ARM_GIC
6459d92875SArnd Bergmann	select MACH_OMAP_GENERIC
65d941f86fSSekhar Nori	select MIGHT_HAVE_CACHE_L2X0
66f87d089dSDave Gerlach	select HAVE_ARM_SCU
6759d92875SArnd Bergmann
6868b9f608STero Kristoconfig SOC_DRA7XX
6968b9f608STero Kristo	bool "TI DRA7XX"
7068b9f608STero Kristo	depends on ARCH_MULTI_V7
7168b9f608STero Kristo	select ARCH_OMAP2PLUS
7268b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
7368b9f608STero Kristo	select ARM_GIC
74d2e104c6SNishanth Menon	select HAVE_ARM_SCU if SMP
7568b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
765c61e619SSricharan R	select IRQ_CROSSBAR
77209431efSPraneeth Bajjuri	select ARM_ERRATA_798181 if SMP
78d2e104c6SNishanth Menon	select OMAP_INTERCONNECT
793fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
80d2e104c6SNishanth Menon	select PM_OPP if PM
8168b9f608STero Kristo
82a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
8359d92875SArnd Bergmann	bool
8459d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
85a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
86a0694861STony Lindgren	select ARCH_OMAP
87a0694861STony Lindgren	select ARCH_REQUIRE_GPIOLIB
88a0694861STony Lindgren	select CLKSRC_MMIO
89a0694861STony Lindgren	select GENERIC_IRQ_CHIP
90f2acae69STony Lindgren	select MACH_OMAP_GENERIC
9118640193STony Lindgren	select MEMORY
92da4d8145STony Lindgren	select MFD_SYSCON
93a0694861STony Lindgren	select OMAP_DM_TIMER
9418640193STony Lindgren	select OMAP_GPMC
95a0694861STony Lindgren	select PINCTRL
966770b211SRuslan Bilovol	select SOC_BUS
979d8812dfSOlof Johansson	select TI_PRIV_EDMA
988598066cSFelipe Balbi	select OMAP_IRQCHIP
99a0694861STony Lindgren	help
100a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
101a0694861STony Lindgren
1023fa60975SRussell Kingconfig OMAP_INTERCONNECT_BARRIER
1033fa60975SRussell King	bool
1043fa60975SRussell King	select ARM_HEAVY_MB
1053fa60975SRussell King
106a0694861STony Lindgren
1074a54db61STony Lindgrenif ARCH_OMAP2PLUS
1084a54db61STony Lindgren
1094a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1104a54db61STony Lindgren
1118d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1128d9166b5STony Lindgren	bool "Typical OMAP configuration"
1138d9166b5STony Lindgren	default y
1148d9166b5STony Lindgren	select AEABI
115b1b3f49cSRussell King	select HIGHMEM
1168d9166b5STony Lindgren	select I2C
1178d9166b5STony Lindgren	select I2C_OMAP
1188d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1198dd21c93SR Sricharan	select NEON if CPU_V7
120464ed18eSRafael J. Wysocki	select PM
121b1b3f49cSRussell King	select REGULATOR
1228d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1238d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
124b1b3f49cSRussell King	select VFP
1258d9166b5STony Lindgren	help
1268d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1278d9166b5STony Lindgren
128ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
129ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
130ecc46cfdSVaibhav Hiremath
131fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
132fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
133f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
13434cceb74SJon Hunter	default y
135fa6d79d2SSantosh Shilimkar
1361dbae815STony Lindgrencomment "OMAP Core Type"
137f558b275STony Lindgren	depends on ARCH_OMAP2
1381dbae815STony Lindgren
13959b479e0STony Lindgrenconfig SOC_OMAP2420
1401dbae815STony Lindgren	bool "OMAP2420 support"
141f558b275STony Lindgren	depends on ARCH_OMAP2
142ffb63e34STony Lindgren	default y
14377900a2fSTimo Teras	select OMAP_DM_TIMER
144ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1451dbae815STony Lindgren
14659b479e0STony Lindgrenconfig SOC_OMAP2430
14772d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
148f558b275STony Lindgren	depends on ARCH_OMAP2
149ffb63e34STony Lindgren	default y
150ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
15172d0f1c3SSyed Mohammed Khasim
15259b479e0STony Lindgrenconfig SOC_OMAP3430
153cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
154f558b275STony Lindgren	depends on ARCH_OMAP3
155ffb63e34STony Lindgren	default y
156ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
157cc26b3b0SSyed Mohammed, Khasim
15833959553SKevin Hilmanconfig SOC_TI81XX
159a920360fSHemant Pedanekar	bool "TI81XX support"
160f558b275STony Lindgren	depends on ARCH_OMAP3
1614bd7be22SHemant Pedanekar	default y
1624bd7be22SHemant Pedanekar
163ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
164ddaa912aSTony Lindgren       bool
165ddaa912aSTony Lindgren
166ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
167ddaa912aSTony Lindgren       bool
168ddaa912aSTony Lindgren
169ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
170ddaa912aSTony Lindgren       bool
171ddaa912aSTony Lindgren
172662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
173662c8b55STony Lindgren       bool
174662c8b55STony Lindgren
175f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
176f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
1771dbae815STony Lindgren
1781dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
179f2acae69STony Lindgren	bool
1801dbae815STony Lindgren
1811b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
1821b52d5dfSKalle Valo	bool
18359b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
1841b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
1851b52d5dfSKalle Valo
18649265651SNishant Kamatconfig MACH_OMAP_LDP
18749265651SNishant Kamat	bool "OMAP3 LDP board"
188a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
189ffb63e34STony Lindgren	default y
190ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
19149265651SNishant Kamat
192549f95edSTony Lindgrenconfig MACH_OMAP3517EVM
193549f95edSTony Lindgren	bool "OMAP3517/ AM3517 EVM board"
194549f95edSTony Lindgren	depends on ARCH_OMAP3
195549f95edSTony Lindgren	default y
196549f95edSTony Lindgren
197da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
198da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
199a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
200ffb63e34STony Lindgren	default y
201ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
202a075ccc6SFelipe Contreras	select REGULATOR_FIXED_VOLTAGE if REGULATOR
2036fdc29e2SSyed Mohammed Khasim
204d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
205d2fbf345STony Lindgren       bool
206d2fbf345STony Lindgren
207d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
208d2fbf345STony Lindgren       bool
209d2fbf345STony Lindgren
21063138812SKalle Valoconfig MACH_NOKIA_N8X0
21163138812SKalle Valo	bool "Nokia N800/N810"
21259b479e0STony Lindgren	depends on SOC_OMAP2420
213ffb63e34STony Lindgren	default y
214d2fbf345STony Lindgren	select MACH_NOKIA_N810
215d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
21663138812SKalle Valo
217ffe7f95bSLauri Leukkunenconfig MACH_NOKIA_RX51
218cc067797SPavel Machek	bool "Nokia N900 (RX-51) phone"
219a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
220ffb63e34STony Lindgren	default y
221ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
222577145f4SVikram Pandita
22318862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
22418862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
225a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
22618862cbeSPaul Walmsley	default n
22718862cbeSPaul Walmsley	help
22818862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
22918862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
23018862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
23118862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
23218862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
23318862cbeSPaul Walmsley	  going on could result in system crashes;
23418862cbeSPaul Walmsley
2354a54db61STony Lindgrenendmenu
2364a54db61STony Lindgren
2374a54db61STony Lindgrenendif
23821278aeaSRob Herring
23921278aeaSRob Herringendmenu
240