xref: /linux/arch/powerpc/platforms/Kconfig (revision 54b318aa5211ab7bba617a27d9cbd7fd759dcfd0)
14330f5daSKumar Galamenu "Platform support"
24330f5daSKumar Gala
34330f5daSKumar Galaconfig PPC_MULTIPLATFORM
4d8267c1aSKumar Gala	bool
5d8267c1aSKumar Gala	depends on PPC64 || 6xx
6d8267c1aSKumar Gala	default y
74330f5daSKumar Gala
8b9fd305dSArnd Bergmannconfig CLASSIC32
9b9fd305dSArnd Bergmann	def_bool y
10b9fd305dSArnd Bergmann	depends on 6xx && PPC_MULTIPLATFORM
11b9fd305dSArnd Bergmann
124330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig"
134330f5daSKumar Galasource "arch/powerpc/platforms/iseries/Kconfig"
144330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig"
15e177edcdSJohn Rigbysource "arch/powerpc/platforms/512x/Kconfig"
164330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig"
174330f5daSKumar Galasource "arch/powerpc/platforms/powermac/Kconfig"
184330f5daSKumar Galasource "arch/powerpc/platforms/prep/Kconfig"
194330f5daSKumar Galasource "arch/powerpc/platforms/maple/Kconfig"
204330f5daSKumar Galasource "arch/powerpc/platforms/pasemi/Kconfig"
2198750261SKumar Galasource "arch/powerpc/platforms/ps3/Kconfig"
2298750261SKumar Galasource "arch/powerpc/platforms/cell/Kconfig"
23c8a55f3dSKumar Galasource "arch/powerpc/platforms/8xx/Kconfig"
24d6071f88SKumar Galasource "arch/powerpc/platforms/82xx/Kconfig"
25b5a48346SKumar Galasource "arch/powerpc/platforms/83xx/Kconfig"
26db947808SKumar Galasource "arch/powerpc/platforms/85xx/Kconfig"
274a89f7faSKumar Galasource "arch/powerpc/platforms/86xx/Kconfig"
2898750261SKumar Galasource "arch/powerpc/platforms/embedded6xx/Kconfig"
29f6dfc805SDavid Gibsonsource "arch/powerpc/platforms/44x/Kconfig"
30545c069cSJosh Boyersource "arch/powerpc/platforms/40x/Kconfig"
31*54b318aaSGerhard Pirchersource "arch/powerpc/platforms/amigaone/Kconfig"
324330f5daSKumar Gala
334330f5daSKumar Galaconfig PPC_NATIVE
344330f5daSKumar Gala	bool
354330f5daSKumar Gala	depends on PPC_MULTIPLATFORM
364330f5daSKumar Gala	help
374330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
384330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
394330f5daSKumar Gala	  be selected by all platforms that need it.
404330f5daSKumar Gala
414330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
424330f5daSKumar Gala	bool "RTAS based debug console"
434330f5daSKumar Gala	depends on PPC_RTAS
444330f5daSKumar Gala	default n
454330f5daSKumar Gala
464330f5daSKumar Galaconfig PPC_UDBG_BEAT
474330f5daSKumar Gala	bool "BEAT based debug console"
484330f5daSKumar Gala	depends on PPC_CELLEB
494330f5daSKumar Gala	default n
504330f5daSKumar Gala
514330f5daSKumar Galaconfig XICS
524330f5daSKumar Gala	depends on PPC_PSERIES
534330f5daSKumar Gala	bool
544330f5daSKumar Gala	default y
554330f5daSKumar Gala
56b0bbad60SJohn Rigbyconfig IPIC
57b0bbad60SJohn Rigby	bool
58b0bbad60SJohn Rigby	default n
59b0bbad60SJohn Rigby
6098750261SKumar Galaconfig MPIC
6198750261SKumar Gala	bool
6298750261SKumar Gala	default n
6398750261SKumar Gala
6498750261SKumar Galaconfig MPIC_WEIRD
6598750261SKumar Gala	bool
6698750261SKumar Gala	default n
6798750261SKumar Gala
6898750261SKumar Galaconfig PPC_I8259
6998750261SKumar Gala	bool
7098750261SKumar Gala	default n
7198750261SKumar Gala
724330f5daSKumar Galaconfig U3_DART
734330f5daSKumar Gala	bool
744330f5daSKumar Gala	depends on PPC_MULTIPLATFORM && PPC64
754330f5daSKumar Gala	default n
764330f5daSKumar Gala
774330f5daSKumar Galaconfig PPC_RTAS
784330f5daSKumar Gala	bool
794330f5daSKumar Gala	default n
804330f5daSKumar Gala
814330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
824330f5daSKumar Gala	bool
834330f5daSKumar Gala	depends on PPC_RTAS
844330f5daSKumar Gala	default n
854330f5daSKumar Gala
864330f5daSKumar Galaconfig RTAS_PROC
874330f5daSKumar Gala	bool "Proc interface to RTAS"
884330f5daSKumar Gala	depends on PPC_RTAS
894330f5daSKumar Gala	default y
904330f5daSKumar Gala
914330f5daSKumar Galaconfig RTAS_FLASH
924330f5daSKumar Gala	tristate "Firmware flash interface"
934330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
944330f5daSKumar Gala
954330f5daSKumar Galaconfig PPC_PMI
964330f5daSKumar Gala	tristate "Support for PMI"
97247537b9SAdrian Bunk	depends on PPC_IBM_CELL_BLADE
984330f5daSKumar Gala	help
994330f5daSKumar Gala	  PMI (Platform Management Interrupt) is a way to
10001dd2fbfSMatt LaPlante	  communicate with the BMC (Baseboard Management Controller).
1014330f5daSKumar Gala	  It is used in some IBM Cell blades.
1024330f5daSKumar Gala	default m
1034330f5daSKumar Gala
1044330f5daSKumar Galaconfig MMIO_NVRAM
1054330f5daSKumar Gala	bool
1064330f5daSKumar Gala	default n
1074330f5daSKumar Gala
1086cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1094330f5daSKumar Gala	bool
1104330f5daSKumar Gala	depends on PPC_MAPLE
1114330f5daSKumar Gala	default y
1124330f5daSKumar Gala
1130d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD
1140d72ba93SOlof Johansson	bool
1150d72ba93SOlof Johansson	depends on MPIC
1160d72ba93SOlof Johansson	help
1170d72ba93SOlof Johansson	  This option enables a MPIC driver workaround for some chips
1180d72ba93SOlof Johansson	  that have a bug that causes some interrupt source information
1190d72ba93SOlof Johansson	  to not read back properly. It is safe to use on other chips as
1200d72ba93SOlof Johansson	  well, but enabling it uses about 8KB of memory to keep copies
1210d72ba93SOlof Johansson	  of the register contents in software.
1220d72ba93SOlof Johansson
1234330f5daSKumar Galaconfig IBMVIO
1244330f5daSKumar Gala	depends on PPC_PSERIES || PPC_ISERIES
1254330f5daSKumar Gala	bool
1264330f5daSKumar Gala	default y
1274330f5daSKumar Gala
1284330f5daSKumar Galaconfig IBMEBUS
1294330f5daSKumar Gala	depends on PPC_PSERIES
1304330f5daSKumar Gala	bool "Support for GX bus based adapters"
1314330f5daSKumar Gala	help
1324330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1334330f5daSKumar Gala
1344330f5daSKumar Galaconfig PPC_MPC106
1354330f5daSKumar Gala	bool
1364330f5daSKumar Gala	default n
1374330f5daSKumar Gala
1384330f5daSKumar Galaconfig PPC_970_NAP
1394330f5daSKumar Gala	bool
1404330f5daSKumar Gala	default n
1414330f5daSKumar Gala
1424330f5daSKumar Galaconfig PPC_INDIRECT_IO
1434330f5daSKumar Gala	bool
1444330f5daSKumar Gala	select GENERIC_IOMAP
1454330f5daSKumar Gala	default n
1464330f5daSKumar Gala
1474330f5daSKumar Galaconfig GENERIC_IOMAP
1484330f5daSKumar Gala	bool
1494330f5daSKumar Gala	default n
1504330f5daSKumar Gala
1514330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
1524330f5daSKumar Gala
153c146c958SOlof Johanssonmenu "CPU Frequency drivers"
154c146c958SOlof Johansson	depends on CPU_FREQ
155c146c958SOlof Johansson
1564330f5daSKumar Galaconfig CPU_FREQ_PMAC
1574330f5daSKumar Gala	bool "Support for Apple PowerBooks"
158c146c958SOlof Johansson	depends on ADB_PMU && PPC32
1594330f5daSKumar Gala	select CPU_FREQ_TABLE
1604330f5daSKumar Gala	help
1614330f5daSKumar Gala	  This adds support for frequency switching on Apple PowerBooks,
1624330f5daSKumar Gala	  this currently includes some models of iBook & Titanium
1634330f5daSKumar Gala	  PowerBook.
1644330f5daSKumar Gala
1654330f5daSKumar Galaconfig CPU_FREQ_PMAC64
1664330f5daSKumar Gala	bool "Support for some Apple G5s"
167c146c958SOlof Johansson	depends on PPC_PMAC && PPC64
1684330f5daSKumar Gala	select CPU_FREQ_TABLE
1694330f5daSKumar Gala	help
1704330f5daSKumar Gala	  This adds support for frequency switching on Apple iMac G5,
1714330f5daSKumar Gala	  and some of the more recent desktop G5 machines as well.
1722e0c3370SOlof Johansson
1732e0c3370SOlof Johanssonconfig PPC_PASEMI_CPUFREQ
1742e0c3370SOlof Johansson	bool "Support for PA Semi PWRficient"
175c146c958SOlof Johansson	depends on PPC_PASEMI
1762e0c3370SOlof Johansson	default y
1772e0c3370SOlof Johansson	select CPU_FREQ_TABLE
1782e0c3370SOlof Johansson	help
1792e0c3370SOlof Johansson	  This adds the support for frequency switching on PA Semi
1802e0c3370SOlof Johansson	  PWRficient processors.
1812e0c3370SOlof Johansson
182164a460dSKumar Galaendmenu
1834330f5daSKumar Gala
1844330f5daSKumar Galaconfig PPC601_SYNC_FIX
1854330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
1864330f5daSKumar Gala	depends on 6xx && (PPC_PREP || PPC_PMAC)
1874330f5daSKumar Gala	help
1884330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
1894330f5daSKumar Gala	  mean that extra synchronization instructions are required near
1904330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
1914330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
1924330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
1934330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
1944330f5daSKumar Gala	  on some systems with the PPC601 chip.
1954330f5daSKumar Gala
1964330f5daSKumar Gala	  If in doubt, say Y here.
1974330f5daSKumar Gala
1984330f5daSKumar Galaconfig TAU
1994330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
200164a460dSKumar Gala	depends on CLASSIC32
2014330f5daSKumar Gala	help
2024330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2034330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2044330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2054330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2064330f5daSKumar Gala
2074330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2084330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2094330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2104330f5daSKumar Gala
2114330f5daSKumar Galaconfig TAU_INT
2124330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2134330f5daSKumar Gala	depends on TAU
2144330f5daSKumar Gala	---help---
2154330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2164330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2174330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2184330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2194330f5daSKumar Gala
2204330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2214330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2224330f5daSKumar Gala	  lockups.
2234330f5daSKumar Gala
2244330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2254330f5daSKumar Gala	  debugging, leave this option off.
2264330f5daSKumar Gala
2274330f5daSKumar Galaconfig TAU_AVERAGE
2284330f5daSKumar Gala	bool "Average high and low temp"
2294330f5daSKumar Gala	depends on TAU
2304330f5daSKumar Gala	---help---
2314330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2324330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2334330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2344330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2354330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2364330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2374330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2384330f5daSKumar Gala	  /proc/cpuinfo.
2394330f5daSKumar Gala
2404330f5daSKumar Gala	  If in doubt, say N here.
2414330f5daSKumar Gala
24298750261SKumar Galaconfig QUICC_ENGINE
2434e330bcfSTimur Tabi	bool "Freescale QUICC Engine (QE) Support"
2444e330bcfSTimur Tabi	depends on FSL_SOC
2451088a209SSylvain Munaut	select PPC_LIB_RHEAP
246bc556ba9STimur Tabi	select CRC32
24798750261SKumar Gala	help
24898750261SKumar Gala	  The QUICC Engine (QE) is a new generation of communications
24998750261SKumar Gala	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
25098750261SKumar Gala	  Selecting this option means that you wish to build a kernel
25198750261SKumar Gala	  for a machine with a QE coprocessor.
25298750261SKumar Gala
2535c091193SAnton Vorontsovconfig QE_GPIO
2545c091193SAnton Vorontsov	bool "QE GPIO support"
2555c091193SAnton Vorontsov	depends on QUICC_ENGINE
2565c091193SAnton Vorontsov	select GENERIC_GPIO
2575c091193SAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
2585c091193SAnton Vorontsov	help
2595c091193SAnton Vorontsov	  Say Y here if you're going to use hardware that connects to the
2605c091193SAnton Vorontsov	  QE GPIOs.
2615c091193SAnton Vorontsov
262d6071f88SKumar Galaconfig CPM2
263b8b3caf3SPaul Gortmaker	bool "Enable support for the CPM2 (Communications Processor Module)"
264b8b3caf3SPaul Gortmaker	depends on MPC85xx || 8260
265c374e00eSScott Wood	select CPM
2661088a209SSylvain Munaut	select PPC_LIB_RHEAP
267b500563bSJohn Rigby	select PPC_PCI_CHOICE
268e193325eSLaurent Pinchart	select ARCH_REQUIRE_GPIOLIB
269e193325eSLaurent Pinchart	select GENERIC_GPIO
270d6071f88SKumar Gala	help
271d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
272d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
273d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
274d6071f88SKumar Gala	  on it (826x, 827x, 8560).
275d6071f88SKumar Gala
276dbdf04c4SMaxim Shchetyninconfig AXON_RAM
277dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
278dbdf04c4SMaxim Shchetynin	depends on PPC_IBM_CELL_BLADE
279dbdf04c4SMaxim Shchetynin	default m
280dbdf04c4SMaxim Shchetynin	help
281dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
282dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
283dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
284dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
285dbdf04c4SMaxim Shchetynin
286b66510cbSKumar Galaconfig FSL_ULI1575
287b66510cbSKumar Gala	bool
288b66510cbSKumar Gala	default n
289fb4f0e88SKumar Gala	select GENERIC_ISA_DMA
290b66510cbSKumar Gala	help
291b66510cbSKumar Gala	  Supports for the ULI1575 PCIe south bridge that exists on some
292b66510cbSKumar Gala	  Freescale reference boards. The boards all use the ULI in pretty
293b66510cbSKumar Gala	  much the same way.
294b66510cbSKumar Gala
295c374e00eSScott Woodconfig CPM
296c374e00eSScott Wood	bool
29780776554SLaurent Pinchart	select PPC_CLOCK
298c374e00eSScott Wood
29922258fa4SDavid Gibsonconfig OF_RTC
30022258fa4SDavid Gibson	bool
30122258fa4SDavid Gibson	help
30222258fa4SDavid Gibson	  Uses information from the OF or flattened device tree to instatiate
30322258fa4SDavid Gibson	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.
30422258fa4SDavid Gibson
3052f9ea1bdSSylvain Munautsource "arch/powerpc/sysdev/bestcomm/Kconfig"
3062f9ea1bdSSylvain Munaut
307782f04fcSKumar Galaconfig MPC8xxx_GPIO
308782f04fcSKumar Gala	bool "MPC8xxx GPIO support"
309782f04fcSKumar Gala	depends on PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || PPC_85xx || PPC_86xx
310782f04fcSKumar Gala	select GENERIC_GPIO
311782f04fcSKumar Gala	select ARCH_REQUIRE_GPIOLIB
312782f04fcSKumar Gala	help
313782f04fcSKumar Gala	  Say Y here if you're going to use hardware that connects to the
314782f04fcSKumar Gala	  MPC831x/834x/837x/8572/8610 GPIOs.
315782f04fcSKumar Gala
3163d64de9cSAnton Vorontsovconfig SIMPLE_GPIO
3173d64de9cSAnton Vorontsov	bool "Support for simple, memory-mapped GPIO controllers"
3183d64de9cSAnton Vorontsov	depends on PPC
3193d64de9cSAnton Vorontsov	select GENERIC_GPIO
3203d64de9cSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
3213d64de9cSAnton Vorontsov	help
3223d64de9cSAnton Vorontsov	  Say Y here to support simple, memory-mapped GPIO controllers.
3233d64de9cSAnton Vorontsov	  These are usually BCSRs used to control board's switches, LEDs,
3243d64de9cSAnton Vorontsov	  chip-selects, Ethernet/USB PHY's power and various other small
3253d64de9cSAnton Vorontsov	  on-board peripherals.
3263d64de9cSAnton Vorontsov
327ea0105eaSAnton Vorontsovconfig MCU_MPC8349EMITX
328ea0105eaSAnton Vorontsov	tristate "MPC8349E-mITX MCU driver"
329ea0105eaSAnton Vorontsov	depends on I2C && PPC_83xx
330ea0105eaSAnton Vorontsov	select GENERIC_GPIO
331ea0105eaSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
332ea0105eaSAnton Vorontsov	help
333ea0105eaSAnton Vorontsov	  Say Y here to enable soft power-off functionality on the Freescale
334ea0105eaSAnton Vorontsov	  boards with the MPC8349E-mITX-compatible MCU chips. This driver will
335ea0105eaSAnton Vorontsov	  also register MCU GPIOs with the generic GPIO API, so you'll able
336ea0105eaSAnton Vorontsov	  to use MCU pins as GPIOs.
337ea0105eaSAnton Vorontsov
3384330f5daSKumar Galaendmenu
339