Commit 4c1e7d84 authored by Frank Li's avatar Frank Li Committed by Shawn Guo

arm64: dts: imx8qm: add i2c1 for imx8qm-mek board

Add i2c1 for imx8qm-mek board.
Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent a4c049dc
...@@ -41,6 +41,18 @@ reg_usdhc2_vmmc: usdhc2-vmmc { ...@@ -41,6 +41,18 @@ reg_usdhc2_vmmc: usdhc2-vmmc {
}; };
}; };
&i2c1 {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <100000>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&pinctrl_i2c1>;
pinctrl-1 = <&pinctrl_i2c1_gpio>;
scl-gpios = <&lsio_gpio0 14 GPIO_ACTIVE_HIGH>;
sda-gpios = <&lsio_gpio0 15 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&lpuart0 { &lpuart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpuart0>; pinctrl-0 = <&pinctrl_lpuart0>;
...@@ -104,6 +116,20 @@ &usdhc2 { ...@@ -104,6 +116,20 @@ &usdhc2 {
}; };
&iomuxc { &iomuxc {
pinctrl_i2c1: i2c1grp {
fsl,pins = <
IMX8QM_GPT0_CLK_DMA_I2C1_SCL 0x0600004c
IMX8QM_GPT0_CAPTURE_DMA_I2C1_SDA 0x0600004c
>;
};
pinctrl_i2c1_gpio: i2c1gpio-grp {
fsl,pins = <
IMX8QM_GPT0_CLK_LSIO_GPIO0_IO14 0xc600004c
IMX8QM_GPT0_CAPTURE_LSIO_GPIO0_IO15 0xc600004c
>;
};
pinctrl_fec1: fec1grp { pinctrl_fec1: fec1grp {
fsl,pins = < fsl,pins = <
IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020 IMX8QM_ENET0_MDC_CONN_ENET0_MDC 0x06000020
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment