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:
parent
e147a6e8d9
commit
a8e14acba4
5 changed files with 37 additions and 0 deletions
|
@ -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`
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -71,3 +71,13 @@
|
|||
write-block-size = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
&lpi2c2 {
|
||||
pinctrl-0 = <&pinmux_lpi2c2>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&lpi2c3 {
|
||||
pinctrl-0 = <&pinmux_lpi2c3>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
|
|
|
@ -17,4 +17,5 @@ flash: 16384
|
|||
supported:
|
||||
- gpio
|
||||
- uart
|
||||
- i2c
|
||||
vendor: nxp
|
||||
|
|
|
@ -17,4 +17,5 @@ flash: 256
|
|||
supported:
|
||||
- gpio
|
||||
- uart
|
||||
- i2c
|
||||
vendor: nxp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue