Skip to content

Commit

Permalink
boards: Enable I3C support for STM32 nucleo_h563zi.
Browse files Browse the repository at this point in the history
This commit enables I3C support for STM32 nucleo_h563zi boards.

Signed-off-by: Mohammad Badawi <[email protected]>
Signed-off-by: Sara Touqan <[email protected]>
  • Loading branch information
ExaltZephyr authored and ExaltZephyr committed Dec 2, 2024
1 parent 9640502 commit 54e190b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boards/st/nucleo_h563zi/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ The Zephyr nucleo_h563zi board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c bus |
+-----------+------------+-------------------------------------+
| I3C | on-chip | i3c bus |
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-------------------------------------+
Expand Down Expand Up @@ -222,6 +224,7 @@ Default Zephyr Peripheral Mapping:
- SPI1 SCK/MISO/MOSI/CS: PA5/PG9/PB5/PD14
- UART3 TX/RX : PD8/PD9 (VCP)
- USER_PB : PC13
- I3C1: PD12(SCL) & PD13(SDA)

System Clock
------------
Expand Down
7 changes: 7 additions & 0 deletions boards/st/nucleo_h563zi/nucleo_h563zi-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@
status = "okay";
};

&i3c1 {
pinctrl-0 = <&i3c1_scl_pd12 &i3c1_sda_pd13>;
pinctrl-names = "default";
i3c-scl-hz = <12500000>;
status = "okay";
};

&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(240)>;
Expand Down
1 change: 1 addition & 0 deletions boards/st/nucleo_h563zi/nucleo_h563zi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ supported:
- usb_device
- rtc
- i2c
- i3c
vendor: st

0 comments on commit 54e190b

Please sign in to comment.