boards: nxp: imx91_evk: Add LPI2C DT nodes
Add device-tree nodes for LPI2C instance 1~2. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
This commit is contained in:
parent
2efe6ab3bf
commit
4a1bdd1c4b
3 changed files with 37 additions and 0 deletions
|
@ -26,4 +26,26 @@
|
|||
drive-strength = "x5";
|
||||
};
|
||||
};
|
||||
|
||||
i2c1_default: i2c1_default {
|
||||
group0 {
|
||||
pinmux = <&iomuxc1_i2c1_scl_lpi2c_scl_lpi2c1_scl>,
|
||||
<&iomuxc1_i2c1_sda_lpi2c_sda_lpi2c1_sda>;
|
||||
drive-strength = "x5";
|
||||
drive-open-drain;
|
||||
slew-rate = "fast";
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
i2c2_default: i2c2_default {
|
||||
group0 {
|
||||
pinmux = <&iomuxc1_i2c2_scl_lpi2c_scl_lpi2c2_scl>,
|
||||
<&iomuxc1_i2c2_sda_lpi2c_sda_lpi2c2_sda>;
|
||||
drive-strength = "x5";
|
||||
drive-open-drain;
|
||||
slew-rate = "fast";
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -75,3 +75,17 @@
|
|||
&gpio2{
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpi2c1 {
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpi2c2 {
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
pinctrl-0 = <&i2c2_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -15,4 +15,5 @@ ram: 1024
|
|||
supported:
|
||||
- gpio
|
||||
- uart
|
||||
- i2c
|
||||
vendor: nxp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue