1Rockchip CANFD controller Device Tree Bindings 2--------------------------------------------------------- 3 4Required properties: 5- compatible : Should be: 6 - "rockchip,canfd-1.0" for CANFD controllers 1.0 7 - "rockchip,can-2.0" for RK3588 CAN controllers 2.0 8 - "rockchip,rk3568-can-2.0" for RK3568 CAN controllers 2.0 9- reg : Physical base address and size of the controller 10 registers map. 11- interrupts : Property with a value describing the interrupt 12 number. 13- clock-names : List of input clock names 14 - "can_clk", "pclk", 15 (See clock bindings for details). 16- clocks : Clock phandles (see clock bindings for details). 17- resets : Must contain an entry for each entry in reset-names. 18 See ../reset/reset.txt for details. 19- reset-names : List of input reset names 20 - "can", "can-apb". 21 22Example: 23 24For Dts file: 25 can0: can0@fe570000 { 26 compatible = "rockchip,canfd-1.0"; 27 reg = <0x0 0xfe570000 0x0 0x1000>; 28 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 29 clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>; 30 clock-names = "baudclk", "apb_pclk"; 31 resets = <&cru SRST_CAN0>, &cru SRST_P_CAN0>; 32 reset-names = "can", "can-apb"; 33 status = "okay"; 34 }; 35