File 0020-enable-uart8-bluetooth.patch of Package imx93-devicetree

From 9e481ff9da239c529b89f9aee95505e1be20a1bd Mon Sep 17 00:00:00 2001
From: Michael van der Raad <vanderraad@inventeers>
Date: Fri, 19 Sep 2025 12:31:04 +0000
Subject: [PATCH] Enable uart8 and bluetooth with rts-cts

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

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
index 2e5938279887..50528e068516 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
@@ -481,11 +481,11 @@ &lpuart6 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart6>;
 	status = "okay";
-	uart-has-rtscts;
+	/*uart-has-rtscts;
 	bluetooth {
 		compatible = "infineon,cyw43439-bt", "brcm,bcm4329-bt";
 		shutdown-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
-	};
+	};*/
 };
 
 &lpuart2 { /* console */
@@ -494,16 +494,17 @@ &lpuart2 { /* console */
 	status = "okay";
 };
 
-/*&lpuart8 {
+&lpuart8 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart8>;
 	status = "okay";
-
+	uart-has-rtscts;
+	
 	bluetooth {
 		compatible = "infineon,cyw43439-bt", "brcm,bcm4329-bt";
 		shutdown-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
 	};
-};*/
+};
 
 &usbotg1 {
 	dr_mode = "otg";
@@ -941,12 +942,14 @@ MX93_PAD_GPIO_IO07__LPUART6_RTS_B          0x0000031E
 		>;
 	};
 
-	/*pinctrl_uart8: uart8grp {
+	pinctrl_uart8: uart8grp {
 		fsl,pins = <
 			MX93_PAD_GPIO_IO12__LPUART8_TX             0x0000031E
 			MX93_PAD_GPIO_IO13__LPUART8_RX             0x0000011E
+			MX93_PAD_GPIO_IO14__LPUART8_CTS_B          0x0000031E
+        	MX93_PAD_GPIO_IO15__LPUART8_RTS_B          0x0000031E
 		>;
-	};*/
+	};
 };
 
 &media_blk_ctrl {
-- 
2.50.1

openSUSE Build Service is sponsored by