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