File 0003-imx93-FRDM-add-LTE-modem-uart.patch of Package imx93-devicetree

From ec00208380cbf72264361d7618f6169c51d50dd3 Mon Sep 17 00:00:00 2001
From: dewit <dewit@inventeers.nl>
Date: Mon, 15 Sep 2025 16:43:24 +0200
Subject: [PATCH] Create 0003-imx93-FRDM-add-LTE-modem-uart.patch Merge branch
 'device/dev-lte' into local/release

(cherry picked from commit ddbe9ea70c332395ff29e16d3236ad9fd2943057)
---
 .../boot/dts/freescale/imx93-11x11-frdm.dts   | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
index 44790c397387..622108ff7912 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts
@@ -109,6 +109,17 @@ reg_vdd_12v: regulator-vdd-12v {
 		enable-active-high;
 	};
 
+	reg_vdd_3v8: regulator-vdd-3v8 {
+		compatible = "regulator-fixed";
+		regulator-name = "reg_vdd_3v8";
+		regulator-min-microvolt = <3800000>;
+		regulator-max-microvolt = <3800000>;
+		gpio = <&gpio2 14 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
 	reg_usdhc3_vmmc: regulator-usdhc3 {
 		compatible = "regulator-fixed";
 		regulator-name = "WLAN_EN";
@@ -471,6 +482,12 @@ typec1_con: connector {
 	};
 };
 
+&lpuart1 { /* LTE */
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart1>;
+	status = "okay";
+};
+
 &lpuart2 { /* console */
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart2>;
@@ -711,6 +728,13 @@ MX93_PAD_CCM_CLKO2__GPIO3_IO27			0x31e
 		>;
 	};
 
+	pinctrl_uart1: uart1grp {
+		fsl,pins = <
+			MX93_PAD_UART1_RXD__LPUART1_RX			0x31e
+			MX93_PAD_UART1_TXD__LPUART1_TX			0x31e
+		>;
+	};
+
 	pinctrl_uart2: uart2grp {
 		fsl,pins = <
 			MX93_PAD_UART2_RXD__LPUART2_RX			0x31e
-- 
2.51.0.windows.1

openSUSE Build Service is sponsored by