arm64: dts: imx8mn-ddr4-evk: Add i2c1 support
authorAnson Huang <Anson.Huang@nxp.com>
Sun, 18 Aug 2019 06:32:19 +0000 (02:32 -0400)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Aug 2019 14:15:34 +0000 (16:15 +0200)
Enable i2c1 on i.MX8MN DDR4 EVK board.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts

index 9b2c1727a862d2388e0ffc71a7b91be46e62568b..5fce5b1beeeb92dd293060ffe0523addcf6655d8 100644 (file)
                >;
        };
 
+       pinctrl_i2c1: i2c1grp {
+               fsl,pins = <
+                       MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL          0x400001c3
+                       MX8MN_IOMUXC_I2C1_SDA_I2C1_SDA          0x400001c3
+               >;
+       };
+
        pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
                fsl,pins = <
                        MX8MN_IOMUXC_SD2_RESET_B_GPIO2_IO19     0x41
        };
 };
 
+&i2c1 {
+       clock-frequency = <400000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c1>;
+       status = "okay";
+};
+
 &snvs_pwrkey {
        status = "okay";
 };