xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/can/rockchip_can.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip CAN controller Device Tree Bindings
2---------------------------------------------------------
3
4Required properties:
5- compatible		: Should be:
6			  - "rockchip,can-1.0" for CAN controllers 1.0
7- reg			: Physical base address and size of the controller
8			  registers map.
9- interrupts		: Property with a value describing the interrupt
10			  number.
11- clock-names		: List of input clock names
12			  - "can_clk", "pclk",
13			  (See clock bindings for details).
14- clocks		: Clock phandles (see clock bindings for details).
15- resets : Must contain an entry for each entry in reset-names.
16	   See ../reset/reset.txt for details.
17- reset-names : List of input reset names
18			  - "can", "can-apb".
19
20Example:
21
22For Dts file:
23	can: can@ff250000 {
24		compatible = "rockchip,can-1.0";
25		reg = <0x0 0xff610000 0x0 0x1000>;
26		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
27		clocks = <&cru CLK_CAN>, <&cru PCLK_CAN>;
28		clock-names = "baudclk", "apb_pclk";
29		resets = <&cru SRST_CAN>, &cru SRST_CAN_P>;
30		reset-names = "can", "can-apb";
31		status = "okay";
32	};
33