Skip to content

Commit 72acd97

Browse files
ExaltZephyrkartben
authored andcommitted
boards: Enable I3C support for STM32 nucleo_h563zi.
This commit enables I3C support for STM32 nucleo_h563zi boards. Signed-off-by: Mohammad Badawi <[email protected]> Signed-off-by: Sara Touqan <[email protected]>
1 parent cb56a19 commit 72acd97

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

boards/st/nucleo_h563zi/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ The Zephyr nucleo_h563zi board configuration supports the following hardware fea
167167
+-----------+------------+-------------------------------------+
168168
| I2C | on-chip | i2c bus |
169169
+-----------+------------+-------------------------------------+
170+
| I3C | on-chip | i3c bus |
171+
+-----------+------------+-------------------------------------+
170172
| UART | on-chip | serial port-polling; |
171173
| | | serial port-interrupt |
172174
+-----------+------------+-------------------------------------+
@@ -222,6 +224,7 @@ Default Zephyr Peripheral Mapping:
222224
- SPI1 SCK/MISO/MOSI/CS: PA5/PG9/PB5/PD14
223225
- UART3 TX/RX : PD8/PD9 (VCP)
224226
- USER_PB : PC13
227+
- I3C1: PD12(SCL) & PD13(SDA)
225228

226229
System Clock
227230
------------

boards/st/nucleo_h563zi/nucleo_h563zi-common.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@
7878
status = "okay";
7979
};
8080

81+
&i3c1 {
82+
pinctrl-0 = <&i3c1_scl_pd12 &i3c1_sda_pd13>;
83+
pinctrl-names = "default";
84+
i3c-scl-hz = <12500000>;
85+
status = "okay";
86+
};
87+
8188
&rcc {
8289
clocks = <&pll>;
8390
clock-frequency = <DT_FREQ_M(240)>;

boards/st/nucleo_h563zi/nucleo_h563zi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ supported:
2525
- usb_device
2626
- rtc
2727
- i2c
28+
- i3c
2829
vendor: st

0 commit comments

Comments
 (0)