boards: nxp: Added I2S Support for RW612

Added I2S support for RW612.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2025-03-28 12:21:04 -05:00 committed by Benjamin Cabé
commit 9a893c6bd9
6 changed files with 37 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright 2022-2024 NXP
* Copyright 2022-2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -72,4 +72,11 @@
slew-rate = "ultra";
};
};
pinmux_flexcomm1_i2s: pinmux_flexcomm1_i2s {
group0 {
pinmux = <IO_MUX_FC1_I2S>;
slew-rate = "normal";
};
};
};

View file

@ -1,5 +1,5 @@
#
# Copyright 2022-2024 NXP
# Copyright 2022-2025 NXP
#
# SPDX-License-Identifier: Apache-2.0
#
@ -18,6 +18,7 @@ supported:
- dma
- spi
- i2c
- i2s
- entropy
- usb_device
- watchdog

View file

@ -1,5 +1,5 @@
/*
* Copyright 2022-2024 NXP
* Copyright 2022-2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -119,4 +119,11 @@
slew-rate = "normal";
};
};
pinmux_flexcomm1_i2s: pinmux_flexcomm1_i2s {
group0 {
pinmux = <IO_MUX_FC1_I2S>;
slew-rate = "normal";
};
};
};

View file

@ -1,5 +1,5 @@
/*
* Copyright 2022-2024 NXP
* Copyright 2022-2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

View file

@ -1,5 +1,5 @@
#
# Copyright 2022-2024 NXP
# Copyright 2022-2025 NXP
#
# SPDX-License-Identifier: Apache-2.0
#
@ -24,6 +24,7 @@ supported:
- gpio
- hwinfo
- i2c
- i2s
- pwm
- spi
- usb_device

View file

@ -230,6 +230,22 @@ __weak __ramfunc void clock_init(void)
*/
CLOCK_AttachClk(kAUDIO_PLL_to_DMIC_CLK);
CLOCK_SetClkDiv(kCLOCK_DivDmicClk, 4);
#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm0), nxp_lpc_i2s, okay))
CLOCK_AttachClk(kAUDIO_PLL_to_FLEXCOMM0);
#endif
#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm1), nxp_lpc_i2s, okay))
CLOCK_AttachClk(kAUDIO_PLL_to_FLEXCOMM1);
#endif
#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm2), nxp_lpc_i2s, okay))
CLOCK_AttachClk(kAUDIO_PLL_to_FLEXCOMM2);
#endif
#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm3), nxp_lpc_i2s, okay))
CLOCK_AttachClk(kAUDIO_PLL_to_FLEXCOMM3);
#endif
#if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm14), nxp_lpc_i2s, okay))
CLOCK_AttachClk(kAUDIO_PLL_to_FLEXCOMM14);
#endif
#endif
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(lcdic)) && CONFIG_MIPI_DBI_NXP_LCDIC