xref: /linux/arch/powerpc/platforms/Kconfig (revision 47fe819e7555b31d24f8a11d9b2568d8f5de8b01)
14330f5daSKumar Galamenu "Platform support"
24330f5daSKumar Gala
34330f5daSKumar Galasource "arch/powerpc/platforms/pseries/Kconfig"
44330f5daSKumar Galasource "arch/powerpc/platforms/iseries/Kconfig"
54330f5daSKumar Galasource "arch/powerpc/platforms/chrp/Kconfig"
6e177edcdSJohn Rigbysource "arch/powerpc/platforms/512x/Kconfig"
74330f5daSKumar Galasource "arch/powerpc/platforms/52xx/Kconfig"
84330f5daSKumar Galasource "arch/powerpc/platforms/powermac/Kconfig"
94330f5daSKumar Galasource "arch/powerpc/platforms/prep/Kconfig"
104330f5daSKumar Galasource "arch/powerpc/platforms/maple/Kconfig"
114330f5daSKumar Galasource "arch/powerpc/platforms/pasemi/Kconfig"
1298750261SKumar Galasource "arch/powerpc/platforms/ps3/Kconfig"
1398750261SKumar Galasource "arch/powerpc/platforms/cell/Kconfig"
14c8a55f3dSKumar Galasource "arch/powerpc/platforms/8xx/Kconfig"
15d6071f88SKumar Galasource "arch/powerpc/platforms/82xx/Kconfig"
16b5a48346SKumar Galasource "arch/powerpc/platforms/83xx/Kconfig"
17db947808SKumar Galasource "arch/powerpc/platforms/85xx/Kconfig"
184a89f7faSKumar Galasource "arch/powerpc/platforms/86xx/Kconfig"
1998750261SKumar Galasource "arch/powerpc/platforms/embedded6xx/Kconfig"
20f6dfc805SDavid Gibsonsource "arch/powerpc/platforms/44x/Kconfig"
21545c069cSJosh Boyersource "arch/powerpc/platforms/40x/Kconfig"
2254b318aaSGerhard Pirchersource "arch/powerpc/platforms/amigaone/Kconfig"
23a1d0d98dSDavid Gibsonsource "arch/powerpc/platforms/wsp/Kconfig"
244330f5daSKumar Gala
25d17051cbSAlexander Grafconfig KVM_GUEST
26d17051cbSAlexander Graf	bool "KVM Guest support"
27d17051cbSAlexander Graf	default y
28d17051cbSAlexander Graf	---help---
29d17051cbSAlexander Graf	  This option enables various optimizations for running under the KVM
30d17051cbSAlexander Graf	  hypervisor. Overhead for the kernel when not running inside KVM should
31d17051cbSAlexander Graf	  be minimal.
32d17051cbSAlexander Graf
33d17051cbSAlexander Graf	  In case of doubt, say Y
34d17051cbSAlexander Graf
354330f5daSKumar Galaconfig PPC_NATIVE
364330f5daSKumar Gala	bool
3728794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
384330f5daSKumar Gala	help
394330f5daSKumar Gala	  Support for running natively on the hardware, i.e. without
404330f5daSKumar Gala	  a hypervisor. This option is not user-selectable but should
414330f5daSKumar Gala	  be selected by all platforms that need it.
424330f5daSKumar Gala
4328794d34SBenjamin Herrenschmidtconfig PPC_OF_BOOT_TRAMPOLINE
4428794d34SBenjamin Herrenschmidt	bool "Support booting from Open Firmware or yaboot"
4528794d34SBenjamin Herrenschmidt	depends on 6xx || PPC64
4628794d34SBenjamin Herrenschmidt	default y
4728794d34SBenjamin Herrenschmidt	help
4828794d34SBenjamin Herrenschmidt	  Support from booting from Open Firmware or yaboot using an
4928794d34SBenjamin Herrenschmidt	  Open Firmware client interface. This enables the kernel to
50f65e51d7SSylvestre Ledru	  communicate with open firmware to retrieve system information
5128794d34SBenjamin Herrenschmidt	  such as the device tree.
5228794d34SBenjamin Herrenschmidt
5328794d34SBenjamin Herrenschmidt	  In case of doubt, say Y
5428794d34SBenjamin Herrenschmidt
554330f5daSKumar Galaconfig UDBG_RTAS_CONSOLE
564330f5daSKumar Gala	bool "RTAS based debug console"
574330f5daSKumar Gala	depends on PPC_RTAS
584330f5daSKumar Gala	default n
594330f5daSKumar Gala
601ece355bSMilton Millerconfig PPC_SMP_MUXED_IPI
611ece355bSMilton Miller	bool
621ece355bSMilton Miller	help
631ece355bSMilton Miller	  Select this opton if your platform supports SMP and your
641ece355bSMilton Miller	  interrupt controller provides less than 4 interrupts to each
651ece355bSMilton Miller	  cpu.	This will enable the generic code to multiplex the 4
661ece355bSMilton Miller	  messages on to one ipi.
671ece355bSMilton Miller
684330f5daSKumar Galaconfig PPC_UDBG_BEAT
694330f5daSKumar Gala	bool "BEAT based debug console"
704330f5daSKumar Gala	depends on PPC_CELLEB
714330f5daSKumar Gala	default n
724330f5daSKumar Gala
73b0bbad60SJohn Rigbyconfig IPIC
74b0bbad60SJohn Rigby	bool
75b0bbad60SJohn Rigby	default n
76b0bbad60SJohn Rigby
7798750261SKumar Galaconfig MPIC
7898750261SKumar Gala	bool
7998750261SKumar Gala	default n
8098750261SKumar Gala
8198750261SKumar Galaconfig MPIC_WEIRD
8298750261SKumar Gala	bool
8398750261SKumar Gala	default n
8498750261SKumar Gala
8598750261SKumar Galaconfig PPC_I8259
8698750261SKumar Gala	bool
8798750261SKumar Gala	default n
8898750261SKumar Gala
894330f5daSKumar Galaconfig U3_DART
904330f5daSKumar Gala	bool
9128794d34SBenjamin Herrenschmidt	depends on PPC64
924330f5daSKumar Gala	default n
934330f5daSKumar Gala
944330f5daSKumar Galaconfig PPC_RTAS
954330f5daSKumar Gala	bool
964330f5daSKumar Gala	default n
974330f5daSKumar Gala
984330f5daSKumar Galaconfig RTAS_ERROR_LOGGING
994330f5daSKumar Gala	bool
1004330f5daSKumar Gala	depends on PPC_RTAS
1014330f5daSKumar Gala	default n
1024330f5daSKumar Gala
1033d541c4bSBenjamin Herrenschmidtconfig PPC_RTAS_DAEMON
1043d541c4bSBenjamin Herrenschmidt	bool
1053d541c4bSBenjamin Herrenschmidt	depends on PPC_RTAS
1063d541c4bSBenjamin Herrenschmidt	default n
1073d541c4bSBenjamin Herrenschmidt
1084330f5daSKumar Galaconfig RTAS_PROC
1094330f5daSKumar Gala	bool "Proc interface to RTAS"
1104330f5daSKumar Gala	depends on PPC_RTAS
1114330f5daSKumar Gala	default y
1124330f5daSKumar Gala
1134330f5daSKumar Galaconfig RTAS_FLASH
1144330f5daSKumar Gala	tristate "Firmware flash interface"
1154330f5daSKumar Gala	depends on PPC64 && RTAS_PROC
1164330f5daSKumar Gala
1174330f5daSKumar Galaconfig MMIO_NVRAM
1184330f5daSKumar Gala	bool
1194330f5daSKumar Gala	default n
1204330f5daSKumar Gala
1216cfef5b2SMichael Ellermanconfig MPIC_U3_HT_IRQS
1224330f5daSKumar Gala	bool
123314b389bSAndreas Schwab	default n
1244330f5daSKumar Gala
1250d72ba93SOlof Johanssonconfig MPIC_BROKEN_REGREAD
1260d72ba93SOlof Johansson	bool
1270d72ba93SOlof Johansson	depends on MPIC
1280d72ba93SOlof Johansson	help
1290d72ba93SOlof Johansson	  This option enables a MPIC driver workaround for some chips
1300d72ba93SOlof Johansson	  that have a bug that causes some interrupt source information
1310d72ba93SOlof Johansson	  to not read back properly. It is safe to use on other chips as
1320d72ba93SOlof Johansson	  well, but enabling it uses about 8KB of memory to keep copies
1330d72ba93SOlof Johansson	  of the register contents in software.
1340d72ba93SOlof Johansson
1354330f5daSKumar Galaconfig IBMVIO
1364330f5daSKumar Gala	depends on PPC_PSERIES || PPC_ISERIES
1374330f5daSKumar Gala	bool
1384330f5daSKumar Gala	default y
1394330f5daSKumar Gala
1404330f5daSKumar Galaconfig IBMEBUS
1414330f5daSKumar Gala	depends on PPC_PSERIES
1424330f5daSKumar Gala	bool "Support for GX bus based adapters"
1434330f5daSKumar Gala	help
1444330f5daSKumar Gala	  Bus device driver for GX bus based adapters.
1454330f5daSKumar Gala
1464330f5daSKumar Galaconfig PPC_MPC106
1474330f5daSKumar Gala	bool
1484330f5daSKumar Gala	default n
1494330f5daSKumar Gala
1504330f5daSKumar Galaconfig PPC_970_NAP
1514330f5daSKumar Gala	bool
1524330f5daSKumar Gala	default n
1534330f5daSKumar Gala
154948cf67cSBenjamin Herrenschmidtconfig PPC_P7_NAP
155948cf67cSBenjamin Herrenschmidt	bool
156948cf67cSBenjamin Herrenschmidt	default n
157948cf67cSBenjamin Herrenschmidt
1584330f5daSKumar Galaconfig PPC_INDIRECT_IO
1594330f5daSKumar Gala	bool
1604330f5daSKumar Gala	select GENERIC_IOMAP
16121176fedSMichael Ellerman
16221176fedSMichael Ellermanconfig PPC_INDIRECT_PIO
16321176fedSMichael Ellerman	bool
16421176fedSMichael Ellerman	select PPC_INDIRECT_IO
16521176fedSMichael Ellerman
16621176fedSMichael Ellermanconfig PPC_INDIRECT_MMIO
16721176fedSMichael Ellerman	bool
16821176fedSMichael Ellerman	select PPC_INDIRECT_IO
1694330f5daSKumar Gala
1703cc30d07SMichael Ellermanconfig PPC_IO_WORKAROUNDS
1713cc30d07SMichael Ellerman	bool
1723cc30d07SMichael Ellerman
1734330f5daSKumar Galaconfig GENERIC_IOMAP
1744330f5daSKumar Gala	bool
1754330f5daSKumar Gala
1764330f5daSKumar Galasource "drivers/cpufreq/Kconfig"
1774330f5daSKumar Gala
178c146c958SOlof Johanssonmenu "CPU Frequency drivers"
179c146c958SOlof Johansson	depends on CPU_FREQ
180c146c958SOlof Johansson
1814330f5daSKumar Galaconfig CPU_FREQ_PMAC
1824330f5daSKumar Gala	bool "Support for Apple PowerBooks"
183c146c958SOlof Johansson	depends on ADB_PMU && PPC32
1844330f5daSKumar Gala	select CPU_FREQ_TABLE
1854330f5daSKumar Gala	help
1864330f5daSKumar Gala	  This adds support for frequency switching on Apple PowerBooks,
1874330f5daSKumar Gala	  this currently includes some models of iBook & Titanium
1884330f5daSKumar Gala	  PowerBook.
1894330f5daSKumar Gala
1904330f5daSKumar Galaconfig CPU_FREQ_PMAC64
1914330f5daSKumar Gala	bool "Support for some Apple G5s"
192c146c958SOlof Johansson	depends on PPC_PMAC && PPC64
1934330f5daSKumar Gala	select CPU_FREQ_TABLE
1944330f5daSKumar Gala	help
1954330f5daSKumar Gala	  This adds support for frequency switching on Apple iMac G5,
1964330f5daSKumar Gala	  and some of the more recent desktop G5 machines as well.
1972e0c3370SOlof Johansson
1982e0c3370SOlof Johanssonconfig PPC_PASEMI_CPUFREQ
1992e0c3370SOlof Johansson	bool "Support for PA Semi PWRficient"
200c146c958SOlof Johansson	depends on PPC_PASEMI
2012e0c3370SOlof Johansson	default y
2022e0c3370SOlof Johansson	select CPU_FREQ_TABLE
2032e0c3370SOlof Johansson	help
2042e0c3370SOlof Johansson	  This adds the support for frequency switching on PA Semi
2052e0c3370SOlof Johansson	  PWRficient processors.
2062e0c3370SOlof Johansson
207164a460dSKumar Galaendmenu
2084330f5daSKumar Gala
2094330f5daSKumar Galaconfig PPC601_SYNC_FIX
2104330f5daSKumar Gala	bool "Workarounds for PPC601 bugs"
2114330f5daSKumar Gala	depends on 6xx && (PPC_PREP || PPC_PMAC)
2124330f5daSKumar Gala	help
2134330f5daSKumar Gala	  Some versions of the PPC601 (the first PowerPC chip) have bugs which
2144330f5daSKumar Gala	  mean that extra synchronization instructions are required near
2154330f5daSKumar Gala	  certain instructions, typically those that make major changes to the
2164330f5daSKumar Gala	  CPU state.  These extra instructions reduce performance slightly.
2174330f5daSKumar Gala	  If you say N here, these extra instructions will not be included,
2184330f5daSKumar Gala	  resulting in a kernel which will run faster but may not run at all
2194330f5daSKumar Gala	  on some systems with the PPC601 chip.
2204330f5daSKumar Gala
2214330f5daSKumar Gala	  If in doubt, say Y here.
2224330f5daSKumar Gala
2234330f5daSKumar Galaconfig TAU
2244330f5daSKumar Gala	bool "On-chip CPU temperature sensor support"
22528794d34SBenjamin Herrenschmidt	depends on 6xx
2264330f5daSKumar Gala	help
2274330f5daSKumar Gala	  G3 and G4 processors have an on-chip temperature sensor called the
2284330f5daSKumar Gala	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
2294330f5daSKumar Gala	  temperature within 2-4 degrees Celsius. This option shows the current
2304330f5daSKumar Gala	  on-die temperature in /proc/cpuinfo if the cpu supports it.
2314330f5daSKumar Gala
2324330f5daSKumar Gala	  Unfortunately, on some chip revisions, this sensor is very inaccurate
2334330f5daSKumar Gala	  and in many cases, does not work at all, so don't assume the cpu
2344330f5daSKumar Gala	  temp is actually what /proc/cpuinfo says it is.
2354330f5daSKumar Gala
2364330f5daSKumar Galaconfig TAU_INT
2374330f5daSKumar Gala	bool "Interrupt driven TAU driver (DANGEROUS)"
2384330f5daSKumar Gala	depends on TAU
2394330f5daSKumar Gala	---help---
2404330f5daSKumar Gala	  The TAU supports an interrupt driven mode which causes an interrupt
2414330f5daSKumar Gala	  whenever the temperature goes out of range. This is the fastest way
2424330f5daSKumar Gala	  to get notified the temp has exceeded a range. With this option off,
2434330f5daSKumar Gala	  a timer is used to re-check the temperature periodically.
2444330f5daSKumar Gala
2454330f5daSKumar Gala	  However, on some cpus it appears that the TAU interrupt hardware
2464330f5daSKumar Gala	  is buggy and can cause a situation which would lead unexplained hard
2474330f5daSKumar Gala	  lockups.
2484330f5daSKumar Gala
2494330f5daSKumar Gala	  Unless you are extending the TAU driver, or enjoy kernel/hardware
2504330f5daSKumar Gala	  debugging, leave this option off.
2514330f5daSKumar Gala
2524330f5daSKumar Galaconfig TAU_AVERAGE
2534330f5daSKumar Gala	bool "Average high and low temp"
2544330f5daSKumar Gala	depends on TAU
2554330f5daSKumar Gala	---help---
2564330f5daSKumar Gala	  The TAU hardware can compare the temperature to an upper and lower
2574330f5daSKumar Gala	  bound.  The default behavior is to show both the upper and lower
2584330f5daSKumar Gala	  bound in /proc/cpuinfo. If the range is large, the temperature is
2594330f5daSKumar Gala	  either changing a lot, or the TAU hardware is broken (likely on some
2604330f5daSKumar Gala	  G4's). If the range is small (around 4 degrees), the temperature is
2614330f5daSKumar Gala	  relatively stable.  If you say Y here, a single temperature value,
2624330f5daSKumar Gala	  halfway between the upper and lower bounds, will be reported in
2634330f5daSKumar Gala	  /proc/cpuinfo.
2644330f5daSKumar Gala
2654330f5daSKumar Gala	  If in doubt, say N here.
2664330f5daSKumar Gala
26798750261SKumar Galaconfig QUICC_ENGINE
2684e330bcfSTimur Tabi	bool "Freescale QUICC Engine (QE) Support"
269*47fe819eSKumar Gala	depends on FSL_SOC && PPC32
2701088a209SSylvain Munaut	select PPC_LIB_RHEAP
271bc556ba9STimur Tabi	select CRC32
27298750261SKumar Gala	help
27398750261SKumar Gala	  The QUICC Engine (QE) is a new generation of communications
27498750261SKumar Gala	  coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
27598750261SKumar Gala	  Selecting this option means that you wish to build a kernel
27698750261SKumar Gala	  for a machine with a QE coprocessor.
27798750261SKumar Gala
2785c091193SAnton Vorontsovconfig QE_GPIO
2795c091193SAnton Vorontsov	bool "QE GPIO support"
2805c091193SAnton Vorontsov	depends on QUICC_ENGINE
2815c091193SAnton Vorontsov	select GENERIC_GPIO
2825c091193SAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
2835c091193SAnton Vorontsov	help
2845c091193SAnton Vorontsov	  Say Y here if you're going to use hardware that connects to the
2855c091193SAnton Vorontsov	  QE GPIOs.
2865c091193SAnton Vorontsov
287d6071f88SKumar Galaconfig CPM2
288b8b3caf3SPaul Gortmaker	bool "Enable support for the CPM2 (Communications Processor Module)"
2895753c082SKumar Gala	depends on (FSL_SOC_BOOKE && PPC32) || 8260
290c374e00eSScott Wood	select CPM
2911088a209SSylvain Munaut	select PPC_LIB_RHEAP
292b500563bSJohn Rigby	select PPC_PCI_CHOICE
293e193325eSLaurent Pinchart	select ARCH_REQUIRE_GPIOLIB
294e193325eSLaurent Pinchart	select GENERIC_GPIO
295d6071f88SKumar Gala	help
296d6071f88SKumar Gala	  The CPM2 (Communications Processor Module) is a coprocessor on
297d6071f88SKumar Gala	  embedded CPUs made by Freescale.  Selecting this option means that
298d6071f88SKumar Gala	  you wish to build a kernel for a machine with a CPM2 coprocessor
299d6071f88SKumar Gala	  on it (826x, 827x, 8560).
300d6071f88SKumar Gala
301dbdf04c4SMaxim Shchetyninconfig AXON_RAM
302dbdf04c4SMaxim Shchetynin	tristate "Axon DDR2 memory device driver"
303ebf0f334SMichael Ellerman	depends on PPC_IBM_CELL_BLADE && BLOCK
304dbdf04c4SMaxim Shchetynin	default m
305dbdf04c4SMaxim Shchetynin	help
306dbdf04c4SMaxim Shchetynin	  It registers one block device per Axon's DDR2 memory bank found
307dbdf04c4SMaxim Shchetynin	  on a system. Block devices are called axonram?, their major and
308dbdf04c4SMaxim Shchetynin	  minor numbers are available in /proc/devices, /proc/partitions or
309dbdf04c4SMaxim Shchetynin	  in /sys/block/axonram?/dev.
310dbdf04c4SMaxim Shchetynin
311b66510cbSKumar Galaconfig FSL_ULI1575
312b66510cbSKumar Gala	bool
313b66510cbSKumar Gala	default n
314fb4f0e88SKumar Gala	select GENERIC_ISA_DMA
315b66510cbSKumar Gala	help
316b66510cbSKumar Gala	  Supports for the ULI1575 PCIe south bridge that exists on some
317b66510cbSKumar Gala	  Freescale reference boards. The boards all use the ULI in pretty
318b66510cbSKumar Gala	  much the same way.
319b66510cbSKumar Gala
320c374e00eSScott Woodconfig CPM
321c374e00eSScott Wood	bool
32280776554SLaurent Pinchart	select PPC_CLOCK
323c374e00eSScott Wood
32422258fa4SDavid Gibsonconfig OF_RTC
32522258fa4SDavid Gibson	bool
32622258fa4SDavid Gibson	help
327692105b8SMatt LaPlante	  Uses information from the OF or flattened device tree to instantiate
32822258fa4SDavid Gibson	  platform devices for direct mapped RTC chips like the DS1742 or DS1743.
32922258fa4SDavid Gibson
3302f9ea1bdSSylvain Munautsource "arch/powerpc/sysdev/bestcomm/Kconfig"
3312f9ea1bdSSylvain Munaut
332782f04fcSKumar Galaconfig MPC8xxx_GPIO
333e39d5ef6SAnatolij Gustschin	bool "MPC512x/MPC8xxx GPIO support"
334e39d5ef6SAnatolij Gustschin	depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
335e39d5ef6SAnatolij Gustschin		   FSL_SOC_BOOKE || PPC_86xx
336782f04fcSKumar Gala	select GENERIC_GPIO
337782f04fcSKumar Gala	select ARCH_REQUIRE_GPIOLIB
338782f04fcSKumar Gala	help
339782f04fcSKumar Gala	  Say Y here if you're going to use hardware that connects to the
340e39d5ef6SAnatolij Gustschin	  MPC512x/831x/834x/837x/8572/8610 GPIOs.
341782f04fcSKumar Gala
3423d64de9cSAnton Vorontsovconfig SIMPLE_GPIO
3433d64de9cSAnton Vorontsov	bool "Support for simple, memory-mapped GPIO controllers"
3443d64de9cSAnton Vorontsov	depends on PPC
3453d64de9cSAnton Vorontsov	select GENERIC_GPIO
3463d64de9cSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
3473d64de9cSAnton Vorontsov	help
3483d64de9cSAnton Vorontsov	  Say Y here to support simple, memory-mapped GPIO controllers.
3493d64de9cSAnton Vorontsov	  These are usually BCSRs used to control board's switches, LEDs,
3503d64de9cSAnton Vorontsov	  chip-selects, Ethernet/USB PHY's power and various other small
3513d64de9cSAnton Vorontsov	  on-board peripherals.
3523d64de9cSAnton Vorontsov
353ea0105eaSAnton Vorontsovconfig MCU_MPC8349EMITX
354ea0105eaSAnton Vorontsov	tristate "MPC8349E-mITX MCU driver"
355ea0105eaSAnton Vorontsov	depends on I2C && PPC_83xx
356ea0105eaSAnton Vorontsov	select GENERIC_GPIO
357ea0105eaSAnton Vorontsov	select ARCH_REQUIRE_GPIOLIB
358ea0105eaSAnton Vorontsov	help
359ea0105eaSAnton Vorontsov	  Say Y here to enable soft power-off functionality on the Freescale
360ea0105eaSAnton Vorontsov	  boards with the MPC8349E-mITX-compatible MCU chips. This driver will
361ea0105eaSAnton Vorontsov	  also register MCU GPIOs with the generic GPIO API, so you'll able
362ea0105eaSAnton Vorontsov	  to use MCU pins as GPIOs.
363ea0105eaSAnton Vorontsov
36464f16502SRoderick Colenbranderconfig XILINX_PCI
36564f16502SRoderick Colenbrander	bool "Xilinx PCI host bridge support"
36664f16502SRoderick Colenbrander	depends on PCI && XILINX_VIRTEX
36764f16502SRoderick Colenbrander
3684330f5daSKumar Galaendmenu
369