Skip to content

Commit

Permalink
boards: nxp: mimxrt1180_evk: add i3c2 support
Browse files Browse the repository at this point in the history
add the i3c2 pin setting
set i3c2 instance as ok status

Signed-off-by: Lucien Zhao <[email protected]>
  • Loading branch information
lucien-nxp committed Nov 26, 2024
1 parent 948cef8 commit d82d534
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/nxp/mimxrt1180_evk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ configuration supports the following hardware features:
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| I3C | on-chip | i3c |
+-----------+------------+-------------------------------------+

The default configuration can be found in the defconfig file:
:zephyr_file:`boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33_defconfig`
Expand Down
17 changes: 17 additions & 0 deletions boards/nxp/mimxrt1180_evk/mimxrt1180_evk-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,21 @@
slew-rate = "fast";
};
};

pinmux_i3c2: pinmux_i3c2 {
group0 {
pinmux = <&iomuxc_gpio_ad_18_i3c2_scl>,
<&iomuxc_gpio_ad_19_i3c2_sda>;
drive-strength = "normal";
drive-open-drain;
slew-rate = "fast";
input-enable;
};

group1 {
pinmux = <&iomuxc_gpio_ad_17_i3c2_pur>;
slew-rate = "fast";
drive-strength = "high";
};
};
};
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1180_evk/mimxrt1180_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,8 @@
pinctrl-0 = <&pinmux_flexpwm2>;
pinctrl-names = "default";
};

&i3c2 {
pinctrl-0 = <&pinmux_i3c2>;
pinctrl-names = "default";
};
4 changes: 4 additions & 0 deletions boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33.dts
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,7 @@
&lptmr1 {
status = "okay";
};

&i3c2 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ supported:
- netif:eth
- can
- pwm
- i3c
vendor: nxp
4 changes: 4 additions & 0 deletions boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@
&lptmr1 {
status = "okay";
};

&i3c2 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ supported:
- adc
- can
- pwm
- i3c
vendor: nxp

0 comments on commit d82d534

Please sign in to comment.