About armsom-w3can interface

Does armsom-w3 have a can interface? How should I use it?

The can interface of armsom-W3 is integrated in 40pin. You can use pins 12 and 35 of the 40pin as the can interface. Before using can, you need to configure the device tree related to can

So how do I write a device tree to support the can interface function?

You can add the following content to the “kernel\arch\arm64\boot\dts\rockchip\rk3588-armsom-w3.dts” file:

/* can1 */
&can1 {
status = “okay”;
assigned-clocks = <&cru CLK_CAN1>;
assigned-clock-rates = <200000000>;