First of all, I am sure I am completely overlooking something, but I can´t seem to figure this out:
In CubeIDE I added the FDCAN1 peripheral for my STM32MP157D-DK1 board. I then added the device tree to the build. However, when the board has booted up, and I type: dmesg | grep m_can, I get the message:
m_can_platform 4400e000.can: no clock found
It therefore seems that no clock has been enabled for this peripheral. How can I enable the clock?
@Hi @michelman ,
As there is no FDCAN on DK1/DK2 boards, maybe you should check how it is done on EV1 board
in st,clksrc , you are missing CLK_FDCAN_xxxx (e.g. CLK_FDCAN_PLL4R).
As a consequence, you likely does not have any fdcan_k entry if you do: