soc: lpc55xxx: enable GPIO, disable SERIAL
Enables GPIO on LPC55xxx SoC and explictily mentions SERIAL is off. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
This commit is contained in:
parent
c85c5290d8
commit
e8a35231a2
@ -13,6 +13,8 @@ static int lpcxpresso_55s69_pinmux_init(const struct device *dev)
|
||||
{
|
||||
ARG_UNUSED(dev);
|
||||
|
||||
#ifdef CONFIG_BOARD_LPCXPRESSO55S69_CPU0
|
||||
/* Only CPU0 configures GPIO port inputs. */
|
||||
#ifdef CONFIG_PINMUX_MCUX_LPC_PORT0
|
||||
const struct device *port0 =
|
||||
device_get_binding(CONFIG_PINMUX_MCUX_LPC_PORT0_NAME);
|
||||
@ -22,6 +24,7 @@ static int lpcxpresso_55s69_pinmux_init(const struct device *dev)
|
||||
const struct device *port1 =
|
||||
device_get_binding(CONFIG_PINMUX_MCUX_LPC_PORT1_NAME);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm0), nxp_lpc_usart, okay) && CONFIG_SERIAL
|
||||
/* USART0 RX, TX */
|
||||
|
||||
@ -9,16 +9,19 @@ config SOC
|
||||
default "lpc55S69_cpu1"
|
||||
|
||||
config PINMUX_MCUX_LPC
|
||||
default n
|
||||
default y
|
||||
depends on PINMUX
|
||||
|
||||
config GPIO
|
||||
default n
|
||||
default y
|
||||
|
||||
config GPIO_MCUX_LPC
|
||||
default n
|
||||
default y
|
||||
depends on GPIO
|
||||
|
||||
config SERIAL
|
||||
default n
|
||||
|
||||
config UART_MCUX_FLEXCOMM
|
||||
default n
|
||||
depends on SERIAL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user