GNU Linux-libre 4.9.282-gnu1
[releases.git] / Documentation / devicetree / bindings / net / can / microchip,mcp251x.txt
1 * Microchip MCP251X stand-alone CAN controller device tree bindings
2
3 Required properties:
4  - compatible: Should be one of the following:
5    - "microchip,mcp2510" for MCP2510.
6    - "microchip,mcp2515" for MCP2515.
7    - "microchip,mcp25625" for MCP25625.
8  - reg: SPI chip select.
9  - clocks: The clock feeding the CAN controller.
10  - interrupt-parent: The parent interrupt controller.
11  - interrupts: Should contain IRQ line for the CAN controller.
12
13 Optional properties:
14  - vdd-supply: Regulator that powers the CAN controller.
15  - xceiver-supply: Regulator that powers the CAN transceiver.
16
17 Example:
18         can0: can@1 {
19                 compatible = "microchip,mcp2515";
20                 reg = <1>;
21                 clocks = <&clk24m>;
22                 interrupt-parent = <&gpio4>;
23                 interrupts = <13 0x2>;
24                 vdd-supply = <&reg5v0>;
25                 xceiver-supply = <&reg5v0>;
26         };