Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] Core-3308Y CAN

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72

【Linux】 Core-3308Y CAN

Posted at 9/1/2023 07:46:06      View:692 | Replies:4        Print     [Copy Link] 1#
Hi everyone!

I am working with Core-3308Y board. I have not found any ways to activate CAN module using a Device Tree.
DTS entry which I use:

&can {
    assigned-clocks = <&cru PCLK_CAN>;
    assigned-clock-rates = <200000000>;
    pinctrl-names = "default";
    pinctrl-0 = <&canm2_pins>;
    status = "okay";
};

rk3308b.dtsi contains only CAN pin declarations, therefore compilation fails with "Label or path can not found" error.

Could you propose a correct CAN declaration for RK3308B?

Reply

Use props Report

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72
Posted at 9/5/2023 02:17:49      2#
时间的蝴蝶 Posted at 9/2/2023 17:35
In fact, the soc RK3308 does not yet have support for the CAN pin.
We are using the spi to can solu ...

Thank you for the answer!

Could you provide any more details on the question? Maybe there are some plans for adding CAN support? Or the chip itself does not contain the module?

Adding the extra chip is the way to go, but the space constraints does not always allow to use it
Reply

Use props Report

72

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
72
Posted at 9/6/2023 05:39:43      3#
Okay, thank you!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list