Skip to content

Commit d875cfc

Browse files
warasilapmMaureenHelm
authored andcommitted
dts: arm: st: u5: add fdcan to stm32u5 series
Add support for the fdcan peripheral to the stm32u5 series device tree include. This can be applied here since (at present) all of the stm32u5 series MCUs have an FDCAN peripheral. Signed-off-by: Peter Maxwell Warasila <[email protected]>
1 parent c91a70e commit d875cfc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

dts/arm/st/u5/stm32u5.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,32 @@
391391
has-vref-channel;
392392
};
393393

394+
can {
395+
compatible = "bosch,m-can-base";
396+
#address-cells = <1>;
397+
#size-cells = <1>;
398+
std-filter-elements = <28>;
399+
ext-filter-elements = <8>;
400+
rx-fifo0-elements = <3>;
401+
rx-fifo1-elements = <3>;
402+
rx-buffer-elements = <0>;
403+
tx-buffer-elements = <3>;
404+
405+
can1: can@4000a400 {
406+
compatible = "st,stm32-fdcan";
407+
reg = <0x4000a400 0x400>, <0x4000ac00 0x350>;
408+
reg-names = "m_can", "message_ram";
409+
interrupts = <39 0>, <40 0>;
410+
interrupt-names = "LINE_0", "LINE_1";
411+
status = "disabled";
412+
label = "CAN_1";
413+
sjw = <1>;
414+
sample-point = <875>;
415+
sjw-data = <1>;
416+
sample-point-data = <875>;
417+
};
418+
};
419+
394420
ucpd1: ucpd@4000dc00 {
395421
compatible = "st,stm32-ucpd";
396422
reg = <0x4000dc00 0x400>;

0 commit comments

Comments
 (0)