diff mbox series

[1/2] arm64: dts: imx8mn-evk: Add i2c3 support

Message ID 1582984982-29151-1-git-send-email-Anson.Huang@nxp.com (mailing list archive)
State Mainlined
Commit d3f46dd47ff73c14184d5f3a9c031d6b2cd55f3c
Headers show
Series [1/2] arm64: dts: imx8mn-evk: Add i2c3 support | expand

Commit Message

Anson Huang Feb. 29, 2020, 2:03 p.m. UTC
Enable i2c3 for i.MX8MN EVK board.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Shawn Guo March 11, 2020, 8:07 a.m. UTC | #1
On Sat, Feb 29, 2020 at 10:03:01PM +0800, Anson Huang wrote:
> Enable i2c3 for i.MX8MN EVK board.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied both, thanks.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
index 0d2ec4a..2fb599f 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
@@ -102,6 +102,13 @@ 
 	};
 };
 
+&i2c3 {
+	clock-frequency = <400000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c3>;
+	status = "okay";
+};
+
 &snvs_pwrkey {
 	status = "okay";
 };
@@ -202,6 +209,13 @@ 
 		>;
 	};
 
+	pinctrl_i2c3: i2c3grp {
+		fsl,pins = <
+			MX8MN_IOMUXC_I2C3_SCL_I2C3_SCL		0x400001c3
+			MX8MN_IOMUXC_I2C3_SDA_I2C3_SDA		0x400001c3
+		>;
+	};
+
 	pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
 		fsl,pins = <
 			MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19	0x41