mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 06:15:22 +00:00
LPC GPIO architecture uses multiple devices. GPIO input is routed via INPUTMUX to the PINT device which roots the interrupt to NVIC. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
38 lines
711 B
Plaintext
38 lines
711 B
Plaintext
# MCUX LPC GPIO configuration options
|
|
|
|
# Copyright (c) 2017, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig GPIO_MCUX_LPC
|
|
bool "MCUX LPC GPIO driver"
|
|
depends on HAS_MCUX
|
|
select HAS_DTS_GPIO
|
|
help
|
|
Enable the MCUX LPC pinmux driver.
|
|
|
|
if GPIO_MCUX_LPC
|
|
|
|
config GPIO_MCUX_LPC_PORT0
|
|
bool "Port 0"
|
|
depends on PINMUX_MCUX_LPC_PORT0
|
|
help
|
|
Enable Port 0.
|
|
|
|
config GPIO_MCUX_LPC_PORT0_NAME
|
|
string "Port 0 driver name"
|
|
depends on GPIO_MCUX_LPC_PORT0
|
|
default "GPIO_0"
|
|
|
|
config GPIO_MCUX_LPC_PORT1
|
|
bool "Port 1"
|
|
depends on PINMUX_MCUX_LPC_PORT1
|
|
help
|
|
Enable Port 1.
|
|
|
|
config GPIO_MCUX_LPC_PORT1_NAME
|
|
string "Port 1 driver name"
|
|
depends on GPIO_MCUX_LPC_PORT1
|
|
default "GPIO_1"
|
|
|
|
endif # GPIO_MCUX_LPC
|