Skip to content

Commit 2c73fb5

Browse files
committed
dts: arm: st: Add can, can1 to stm32h7.dtsi.
* Add can, can1 to stm32h7.dtsi. Signed-off-by: Jeremy Wood <[email protected]>
1 parent 94e8c2e commit 2c73fb5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,31 @@
444444
label = "SPI_6";
445445
};
446446

447+
can {
448+
compatible = "bosch,m-can-base";
449+
#address-cells = <1>;
450+
#size-cells = <1>;
451+
std-filter-elements = <28>;
452+
ext-filter-elements = <8>;
453+
rx-fifo0-elements = <3>;
454+
rx-fifo1-elements = <3>;
455+
rx-buffer-elements = <0>;
456+
tx-buffer-elements = <3>;
457+
458+
can1: can@4000a000 {
459+
compatible = "st,stm32-fdcan";
460+
#address-cells = <1>;
461+
#size-cells = <0>;
462+
reg = <0x4000a000 0x400>, <0x4000ac00 0xd48>;
463+
reg-names = "m_can", "message_ram";
464+
interrupts = <19 0>, <21 0>, <63 0>;
465+
interrupt-names = "LINE_0", "LINE_1", "CALIB";
466+
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x02000000>;
467+
status = "disabled";
468+
label = "CAN_1";
469+
};
470+
};
471+
447472
timers1: timers@40010000 {
448473
compatible = "st,stm32-timers";
449474
reg = <0x40010000 0x400>;

0 commit comments

Comments
 (0)