File 0010-attach-uart1-bluetooth.patch of Package imx93-devicetree

From ee752c25b2e3cc128e9253ce246d9c79de4ae998 Mon Sep 17 00:00:00 2001
From: Michael van der Raad <vanderraad@inventeers>
Date: Thu, 18 Sep 2025 12:41:59 +0000
Subject: [PATCH] Enable uart1 and attach to bluetooth driver for testing

---
 .../boot/dts/freescale/imx93-11x11-frdm.dts     | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
index 66685ea6929e..7266c147bacb 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
@@ -906,6 +906,13 @@ MX93_PAD_SAI1_TXC__GPIO1_IO12              0x0000011E
 		>;
 	};
 
+	pinctrl_lpuart1: lpuart1grp {
+		fsl,pins = <
+			MX93_PAD_UART1_RXD__LPUART1_RX             0x0000011E
+			MX93_PAD_UART1_TXD__LPUART1_TX             0x0000011E
+		>;
+	};
+
 	pinctrl_lpuart8: lpuart8grp {
 		fsl,pins = <
 			MX93_PAD_GPIO_IO12__LPUART8_TX             0x0000011E
@@ -971,9 +978,9 @@ spi_wifi_bl: spi@1 {
 	};
 };
 
-&lpuart8 {
+&lpuart1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_lpuart8>;
+	pinctrl-0 = <&pinctrl_lpuart1>;
 	status = "okay";
 
 	bluetooth {
@@ -982,6 +989,12 @@ bluetooth {
 	};
 };
 
+&lpuart8 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_lpuart8>;
+	status = "okay";
+};
+
 /*&gpio1 {
     bt-wifi-enable-hog {
         gpio-hog;
-- 
2.50.1

openSUSE Build Service is sponsored by