boards: arm: Conditionalize i2c pinmuxes on nxp boards
Conditionalizes i2c pinmuxes on CONFIG_I2C for all nxp boards (kinetis, lpc, and imx families) to avoid possible conflicts between peripherals. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
49debeb636
commit
5c2d8f3e2a
23 changed files with 36 additions and 36 deletions
|
@ -117,7 +117,7 @@ static int lpcxpresso_55s16_pinmux_init(struct device *dev)
|
|||
pinmux_pin_set(port0, 30, port0_pin30_config);
|
||||
#endif
|
||||
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm4), nxp_lpc_i2c, okay)
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm4), nxp_lpc_i2c, okay) && CONFIG_I2C
|
||||
/* PORT1 PIN20 is configured as FC4_TXD_SCL_MISO_WS */
|
||||
pinmux_pin_set(port1, 20, IOCON_PIO_FUNC5 |
|
||||
IOCON_PIO_MODE_INACT |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue