[PATCH 1/1] arm64: dts: imx93: add lpi2c1 and child node

Frank Li Frank.Li at nxp.com
Thu Aug 1 09:09:14 PDT 2024


From: Clark Wang <xiaoning.wang at nxp.com>

Add lpi2c1 and child node for imx93-11x11-evk board.

Signed-off-by: Clark Wang <xiaoning.wang at nxp.com>
Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
Signed-off-by: Li Yang <leoyang.li at nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong at nxp.com>
Signed-off-by: Frank Li <Frank.Li at nxp.com>
---
 .../boot/dts/freescale/imx93-11x11-evk.dts    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index a15987f49e8d6..dd387b820831a 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -145,6 +145,20 @@ ethphy2: ethernet-phy at 2 {
 	};
 };
 
+&lpi2c1 {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	clock-frequency = <400000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_lpi2c1>;
+	status = "okay";
+
+	lsm6dsm at 6a {
+		compatible = "st,lsm6dso";
+		reg = <0x6a>;
+	};
+};
+
 &lpi2c2 {
 	#address-cells = <1>;
 	#size-cells = <0>;
@@ -508,6 +522,13 @@ MX93_PAD_DAP_TCLK_SWCLK__LPUART5_CTS_B		0x31e
 		>;
 	};
 
+	pinctrl_lpi2c1: lpi2c1grp {
+		fsl,pins = <
+			MX93_PAD_I2C1_SCL__LPI2C1_SCL			0x40000b9e
+			MX93_PAD_I2C1_SDA__LPI2C1_SDA			0x40000b9e
+		>;
+	};
+
 	pinctrl_lpi2c2: lpi2c2grp {
 		fsl,pins = <
 			MX93_PAD_I2C2_SCL__LPI2C2_SCL			0x40000b9e
-- 
2.34.1




More information about the linux-arm-kernel mailing list