boards: nxp: mimxrt1180_evk: add lpi2c2/3 pinmux

add lpi2c2/3 pinmux

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
This commit is contained in:
Lucien Zhao 2024-07-24 14:27:56 +08:00 committed by Anas Nashif
commit a8e14acba4
5 changed files with 37 additions and 0 deletions

View file

@ -106,6 +106,8 @@ already supported, which can also be re-used on this mimxrt1180_evk board:
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33_defconfig`

View file

@ -40,4 +40,27 @@
slew-rate = "fast";
};
};
/* Connected to FXLS8974 */
pinmux_lpi2c2: pinmux_lpi2c2 {
group0 {
pinmux = <&iomuxc_aon_gpio_aon_15_lpi2c2_sda>,
<&iomuxc_aon_gpio_aon_16_lpi2c2_scl>;
drive-strength = "normal";
drive-open-drain;
slew-rate = "fast";
input-enable;
};
};
pinmux_lpi2c3: pinmux_lpi2c3 {
group0 {
pinmux = <&iomuxc_gpio_ad_18_lpi2c3_scl>,
<&iomuxc_gpio_ad_19_lpi2c3_sda>;
drive-strength = "normal";
drive-open-drain;
slew-rate = "fast";
input-enable;
};
};
};

View file

@ -71,3 +71,13 @@
write-block-size = <1>;
};
};
&lpi2c2 {
pinctrl-0 = <&pinmux_lpi2c2>;
pinctrl-names = "default";
};
&lpi2c3 {
pinctrl-0 = <&pinmux_lpi2c3>;
pinctrl-names = "default";
};

View file

@ -17,4 +17,5 @@ flash: 16384
supported:
- gpio
- uart
- i2c
vendor: nxp

View file

@ -17,4 +17,5 @@ flash: 256
supported:
- gpio
- uart
- i2c
vendor: nxp