965dc5fc55
Basic support for the GPIO available on the SBC610 VPX Single Board Computer from GE Fanuc (PowerPC MPC8641D). This patch adds basic support for the GPIO in the devices I/O FPGA, the GPIO functionality is exposed through the AFIX pins on the backplane, unless used by an AFIX card. This code currently does not support switching between totem-pole and open-drain outputs (when used as outputs, GPIOs default to totem-pole). The interrupt capabilites of the GPIO lines is also not currently supported. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
config PPC_86xx
|
|
menuconfig PPC_86xx
|
|
bool "86xx-based boards"
|
|
depends on 6xx && PPC_MULTIPLATFORM
|
|
select FSL_SOC
|
|
select ALTIVEC
|
|
help
|
|
The Freescale E600 SoCs have 74xx cores.
|
|
|
|
if PPC_86xx
|
|
|
|
config MPC8641_HPCN
|
|
bool "Freescale MPC8641 HPCN"
|
|
select PPC_I8259
|
|
select DEFAULT_UIMAGE
|
|
select FSL_ULI1575
|
|
select HAS_RAPIDIO
|
|
help
|
|
This option enables support for the MPC8641 HPCN board.
|
|
|
|
config SBC8641D
|
|
bool "Wind River SBC8641D"
|
|
select DEFAULT_UIMAGE
|
|
help
|
|
This option enables support for the WRS SBC8641D board.
|
|
|
|
config MPC8610_HPCD
|
|
bool "Freescale MPC8610 HPCD"
|
|
select DEFAULT_UIMAGE
|
|
select FSL_ULI1575
|
|
help
|
|
This option enables support for the MPC8610 HPCD board.
|
|
|
|
config GEF_SBC610
|
|
bool "GE Fanuc SBC610"
|
|
select DEFAULT_UIMAGE
|
|
select GENERIC_GPIO
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select HAS_RAPIDIO
|
|
help
|
|
This option enables support for GE Fanuc's SBC610.
|
|
|
|
endif
|
|
|
|
config MPC8641
|
|
bool
|
|
select PPC_PCI_CHOICE
|
|
select FSL_PCI if PCI
|
|
select PPC_UDBG_16550
|
|
select MPIC
|
|
default y if MPC8641_HPCN || SBC8641D || GEF_SBC610
|
|
|
|
config MPC8610
|
|
bool
|
|
select PPC_PCI_CHOICE
|
|
select FSL_PCI if PCI
|
|
select PPC_UDBG_16550
|
|
select MPIC
|
|
default y if MPC8610_HPCD
|