Can0: bus-off on iMX8DX

Hi @lisandropm,

Can you please check the following overlay?

/dts-v1/;
/plugin/;

/ {
    compatible = "toradex,colibri-imx8x";
};

// Enable FLEXCAN0 TX and RX pins 32 and 34.
&flexcan1 {
    status = "okay";
};

// Disable UART0, conflicts with FLEXCAN0.
&lpuart0 {
    status = "disabled";
};

// Enable FLEXCAN1 TX and RX pins 55 and 63.
&flexcan2 {
    status = "okay";
};

// Also disable Colibri SPI CAN, since we're not using it
&mcp2515 {
    status = "disabled";
};

// Removed &pinctrl_lvds_converter, conflicts with FLEXCAN1 in iris
&iomuxc {
	pinctrl-0 = <&pinctrl_hog0>, <&pinctrl_hog1>, <&pinctrl_hog2>,
		    <&pinctrl_ext_io0>, <&pinctrl_lpspi2_cs2>, <&pinctrl_gpio_iris>;
};

It’s better to remove the pinctrl_lvds_converter from iomuxc instead of editing it. This could be causing some interference in your device tree.

Let me know if this changes something in your issue. Also, please provide us with your dmesg log.

Best Regards,
Hiago.