I’m trying to run the built-in can bus. I’m using armbian. I added interface information to the dtsi file and built the system. When I started the system, I saw that this information was in the device tree, but the can bus didn’t start. Maybe someone could suggest something?
I took the interface information from the rockchip kernel
can1: can@fea60000 {
compatible = “rockchip,can-2.0”;
reg = <0x0 0xfea60000 0x0 0x1000>;
interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru CLK_CAN1>, <&cru PCLK_CAN1>;
clock-names = “baudclk”, “apb_pclk”;
resets = <&cru SRST_CAN1>, <&cru SRST_P_CAN1>;
reset-names = “can”, “can-apb”;
pinctrl-names = “default”;
pinctrl-0 = <&can1m0_pins>;
tx-fifo-depth = <1>;
rx-fifo-depth = <6>;
status = “disabled”;
};
I also set up an overlay when the system starts, which puts the interface into the “okay” state