How to enable flexcan1 on pins 55/63 on colibri imx7?
I have this problem
Dear @aymen,
Thank you for contacting us. You should be able to enable the flexcan1 with a change in the device tree according to this article.
&flexcan1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flexcan1>;
status = "okay";
};
Best regards
Collin Bos
Dear @aymen,
I saw on the community that a very similar issue has arisen once before. You will likely have to alter an iomuxing line. The thread I am talking about is this one.
This is the line you will have to alter:
&iomuxc {
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio4
+ pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3
&pinctrl_gpio5 &pinctrl_lvds_transceiver>;
pinctrl_atmel_adapter: atmeladaptergrp { /* ATMEL MXT TOUCH ADAPTER */
Please let us know how you fare with this approach.
Best regards
Collin
Dear @aymen we are currently in the process of investigating this issue. I will get back to you as soon as I have further information.
Best regards
Collin Bos
Hello @aymen,
From your logs, it seems that you have edited the imx7s.dtsi
file.
Please revert this file back to its original state and edit the imx7-colibri.dtsi
file, according to the instructions on CAN (Linux) | Toradex Developer Center.
I have tested the instructions on the page and they work for the Colibri iMX7.
Best Regards,
Bruno