Skip to content

Commit b538ba7

Browse files
Alain Volmatkartben
authored andcommitted
dts: arm: st: mp13: add description of all i2c instances
Add description of all 5 instances (i2c1 to i2c5) available on the stm32mp13 soc. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
1 parent 9c9f526 commit b538ba7

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

dts/arm/st/mp13/stm32mp13.dtsi

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <zephyr/dt-bindings/clock/stm32mp13_clock.h>
1313
#include <zephyr/dt-bindings/gpio/gpio.h>
14+
#include <zephyr/dt-bindings/i2c/i2c.h>
1415
#include <zephyr/dt-bindings/interrupt-controller/arm-gic.h>
1516
#include <zephyr/dt-bindings/reset/stm32mp13_reset.h>
1617

@@ -166,6 +167,71 @@
166167
<8 1>, <9 1>, <10 1>, <11 1>,
167168
<12 1>, <13 1>, <14 1>, <15 1>;
168169
};
170+
171+
i2c1: i2c@40012000 {
172+
compatible = "st,stm32-i2c-v2";
173+
clock-frequency = <I2C_BITRATE_STANDARD>;
174+
#address-cells = <1>;
175+
#size-cells = <0>;
176+
reg = <0x40012000 0x400>;
177+
clocks = <&rcc STM32_CLOCK(APB1, 21)>;
178+
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
179+
<GIC_SPI 33 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
180+
interrupt-names = "event", "error";
181+
status = "disabled";
182+
};
183+
184+
i2c2: i2c@40013000 {
185+
compatible = "st,stm32-i2c-v2";
186+
clock-frequency = <I2C_BITRATE_STANDARD>;
187+
#address-cells = <1>;
188+
#size-cells = <0>;
189+
reg = <0x40013000 0x400>;
190+
clocks = <&rcc STM32_CLOCK(APB1, 22)>;
191+
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
192+
<GIC_SPI 35 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
193+
interrupt-names = "event", "error";
194+
status = "disabled";
195+
};
196+
197+
i2c3: i2c@4c004000 {
198+
compatible = "st,stm32-i2c-v2";
199+
clock-frequency = <I2C_BITRATE_STANDARD>;
200+
#address-cells = <1>;
201+
#size-cells = <0>;
202+
reg = <0x4c004000 0x400>;
203+
clocks = <&rcc STM32_CLOCK(APB6, 4)>;
204+
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
205+
<GIC_SPI 74 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
206+
interrupt-names = "event", "error";
207+
status = "disabled";
208+
};
209+
210+
i2c4: i2c@4c005000 {
211+
compatible = "st,stm32-i2c-v2";
212+
clock-frequency = <I2C_BITRATE_STANDARD>;
213+
#address-cells = <1>;
214+
#size-cells = <0>;
215+
reg = <0x4c005000 0x400>;
216+
clocks = <&rcc STM32_CLOCK(APB6, 5)>;
217+
interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
218+
<GIC_SPI 94 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
219+
interrupt-names = "event", "error";
220+
status = "disabled";
221+
};
222+
223+
i2c5: i2c@4c006000 {
224+
compatible = "st,stm32-i2c-v2";
225+
clock-frequency = <I2C_BITRATE_STANDARD>;
226+
#address-cells = <1>;
227+
#size-cells = <0>;
228+
reg = <0x4c006000 0x400>;
229+
clocks = <&rcc STM32_CLOCK(APB6, 6)>;
230+
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
231+
<GIC_SPI 115 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
232+
interrupt-names = "event", "error";
233+
status = "disabled";
234+
};
169235
};
170236

171237
gic: gic@A0021000 {

0 commit comments

Comments
 (0)