]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: freescale: imx95-toradex-smarc: Enable bluetooth on lpuart5
authorFranz Schnyder <franz.schnyder@toradex.com>
Thu, 26 Mar 2026 14:37:05 +0000 (15:37 +0100)
committerFrank Li <Frank.Li@nxp.com>
Tue, 5 May 2026 19:13:20 +0000 (15:13 -0400)
The Toradex SMARC iMX95 uses the MAYA-W260 WiFi/Bluetooth module, which
uses the UART interface for Bluetooth.

Add UART support to enable bluetooth functionality on the MAYA-W260.

Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx95-toradex-smarc.dtsi

index 1d369983cf7ddbeaa0b6ff5e68c59814f310580d..a90edefc5197bd5e0b408b0d6270859b10987a16 100644 (file)
        pinctrl-0 = <&pinctrl_uart3>;
 };
 
+/* On-module Bluetooth */
+&lpuart5 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_bt_uart>;
+       uart-has-rtscts;
+       status = "okay";
+
+       bluetooth {
+               compatible = "nxp,88w8987-bt";
+               fw-init-baudrate = <3000000>;
+       };
+};
+
 /* SMARC SER2 */
 &lpuart6 {
        pinctrl-names = "default";
 };
 
 &scmi_iomuxc {
+       /* On-module Bluetooth, UART pins shared with JTAG */
+       pinctrl_bt_uart: btuartgrp {
+               fsl,pins = <IMX95_PAD_DAP_TDO_TRACESWO__LPUART5_TX      0x31e>, /* WiFI_UART_RXD */
+                          <IMX95_PAD_DAP_TDI__LPUART5_RX               0x31e>, /* WiFI_UART_TXD */
+                          <IMX95_PAD_DAP_TCLK_SWCLK__LPUART5_CTS_B     0x31e>, /* WiFI_UART_RTS# */
+                          <IMX95_PAD_DAP_TMS_SWDIO__LPUART5_RTS_B      0x31e>; /* WiFI_UART_CTS# */
+       };
+
        /* SMARC CAM_MCK */
        pinctrl_cam_mck: cammckgrp {
                fsl,pins = <IMX95_PAD_CCM_CLKO1__CCMSRCGPCMIX_TOP_CLKO_1        0x51e>; /* SMARC S6 - CAM_MCK */