Skip to content

Commit 0774d45

Browse files
author
Tanguy Raufflet
committed
dts: arm: st: stm32mp2_m33.dtsi: add i2c nodes
Add I2C nodes in non-secure context to dtsi. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
1 parent 18672ba commit 0774d45

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

dts/arm/st/mp2/stm32mp2_m33.dtsi

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <zephyr/dt-bindings/gpio/gpio.h>
1111
#include <zephyr/dt-bindings/clock/stm32mp2_clock.h>
1212
#include <zephyr/dt-bindings/reset/stm32mp2_reset.h>
13+
#include <zephyr/dt-bindings/i2c/i2c.h>
1314

1415
/ {
1516
cpus {
@@ -248,6 +249,102 @@
248249
interrupts = <150 0>;
249250
status = "disabled";
250251
};
252+
253+
i2c1: i2c@40120000 {
254+
compatible = "st,stm32-i2c-v2";
255+
reg = <0x40120000 DT_SIZE_K(1)>;
256+
#address-cells = <1>;
257+
#size-cells = <0>;
258+
clocks = <&rcc STM32_CLOCK(I2C1, STM32_CLK)>;
259+
clock-frequency = <I2C_BITRATE_STANDARD>;
260+
interrupts = <108 0>;
261+
interrupt-names = "combined";
262+
status = "disabled";
263+
};
264+
265+
i2c2: i2c@40130000 {
266+
compatible = "st,stm32-i2c-v2";
267+
reg = <0x40130000 DT_SIZE_K(1)>;
268+
#address-cells = <1>;
269+
#size-cells = <0>;
270+
clocks = <&rcc STM32_CLOCK(I2C2, STM32_CLK)>;
271+
clock-frequency = <I2C_BITRATE_STANDARD>;
272+
interrupts = <110 0>;
273+
interrupt-names = "combined";
274+
status = "disabled";
275+
};
276+
277+
i2c3: i2c@40140000 {
278+
compatible = "st,stm32-i2c-v2";
279+
reg = <0x40140000 DT_SIZE_K(1)>;
280+
#address-cells = <1>;
281+
#size-cells = <0>;
282+
clocks = <&rcc STM32_CLOCK(I2C3, STM32_CLK)>;
283+
clock-frequency = <I2C_BITRATE_STANDARD>;
284+
interrupts = <137 0>;
285+
interrupt-names = "combined";
286+
status = "disabled";
287+
};
288+
289+
i2c4: i2c@40150000 {
290+
compatible = "st,stm32-i2c-v2";
291+
reg = <0x40150000 DT_SIZE_K(1)>;
292+
#address-cells = <1>;
293+
#size-cells = <0>;
294+
clocks = <&rcc STM32_CLOCK(I2C4, STM32_CLK)>;
295+
clock-frequency = <I2C_BITRATE_STANDARD>;
296+
interrupts = <168 0>;
297+
interrupt-names = "combined";
298+
status = "disabled";
299+
};
300+
301+
i2c5: i2c@40160000 {
302+
compatible = "st,stm32-i2c-v2";
303+
reg = <0x40160000 DT_SIZE_K(1)>;
304+
#address-cells = <1>;
305+
#size-cells = <0>;
306+
clocks = <&rcc STM32_CLOCK(I2C5, STM32_CLK)>;
307+
clock-frequency = <I2C_BITRATE_STANDARD>;
308+
interrupts = <181 0>;
309+
interrupt-names = "combined";
310+
status = "disabled";
311+
};
312+
313+
i2c6: i2c@40170000 {
314+
compatible = "st,stm32-i2c-v2";
315+
reg = <0x40170000 DT_SIZE_K(1)>;
316+
#address-cells = <1>;
317+
#size-cells = <0>;
318+
clocks = <&rcc STM32_CLOCK(I2C6, STM32_CLK)>;
319+
clock-frequency = <I2C_BITRATE_STANDARD>;
320+
interrupts = <208 0>;
321+
interrupt-names = "combined";
322+
status = "disabled";
323+
};
324+
325+
i2c7: i2c@40180000 {
326+
compatible = "st,stm32-i2c-v2";
327+
reg = <0x40180000 DT_SIZE_K(1)>;
328+
#address-cells = <1>;
329+
#size-cells = <0>;
330+
clocks = <&rcc STM32_CLOCK(I2C7, STM32_CLK)>;
331+
clock-frequency = <I2C_BITRATE_STANDARD>;
332+
interrupts = <210 0>;
333+
interrupt-names = "combined";
334+
status = "disabled";
335+
};
336+
337+
i2c8: i2c@46040000 {
338+
compatible = "st,stm32-i2c-v2";
339+
reg = <0x46040000 DT_SIZE_K(1)>;
340+
#address-cells = <1>;
341+
#size-cells = <0>;
342+
clocks = <&rcc STM32_CLOCK(I2C8, STM32_CLK)>;
343+
clock-frequency = <I2C_BITRATE_STANDARD>;
344+
interrupts = <212 0>;
345+
interrupt-names = "combined";
346+
status = "disabled";
347+
};
251348
};
252349
};
253350

0 commit comments

Comments
 (0)