LPC GPIO binding was wrong in that the reg address on the simple soc bus was given as an index of the gpio ports within a gpio controller. Fix this by putting the GPIO node on the simple bus as a single node with the correct base address, and make the ports children of this node. Change the driver to get the port number from the reg address instead of a custom property, and get base address from DT instead of the SDK macro definition. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
12 lines
254 B
Plaintext
12 lines
254 B
Plaintext
# MCUX LPC GPIO configuration options
|
|
|
|
# Copyright (c) 2017, NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_MCUX_LPC
|
|
bool "MCUX LPC GPIO driver"
|
|
default y
|
|
depends on DT_HAS_NXP_LPC_GPIO_PORT_ENABLED
|
|
help
|
|
Enable the MCUX LPC pinmux driver.
|