zephyr/drivers/gpio/Kconfig.mcux_lpc
Kumar Gala 263ac3e9e5 drivers: pinmux: mcux_lpc: Convert to using devicetree
Convert driver and users of pinmux on mcux lpc platforms to getting
basic port info from devicetree (register address, label)

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-03-01 12:04:53 -06:00

27 lines
480 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
help
Enable the MCUX LPC pinmux driver.
if GPIO_MCUX_LPC
config GPIO_MCUX_LPC_PORT0
bool "Port 0"
depends on $(dt_nodelabel_enabled,pio0)
help
Enable Port 0.
config GPIO_MCUX_LPC_PORT1
bool "Port 1"
depends on $(dt_nodelabel_enabled,pio1)
help
Enable Port 1.
endif # GPIO_MCUX_LPC