aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-12-21 00:01:41 -0500
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-12-21 09:04:24 -0500
commit66606aafd8cd6cffbefa463b27e1f16e793e40a9 (patch)
treed4b9c8e4d0fdfe8fb99306a73747d287f0e34985 /Documentation
parentc0ebbdd6b57949775d428f00b8696a4078f86ac4 (diff)
can: mcp251x: Add device tree support
This patch adds Device Tree support to the Microchip MCP251X driver. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt b/Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt
new file mode 100644
index 000000000000..ee3723beb701
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/can/microchip,mcp251x.txt
@@ -0,0 +1,25 @@
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 - interrupt-parent: The parent interrupt controller.
10 - interrupts: Should contain IRQ line for the CAN controller.
11
12Optional properties:
13 - vdd-supply: Regulator that powers the CAN controller.
14 - xceiver-supply: Regulator that powers the CAN transceiver.
15
16Example:
17 can0: can@1 {
18 compatible = "microchip,mcp2515";
19 reg = <1>;
20 clocks = <&clk24m>;
21 interrupt-parent = <&gpio4>;
22 interrupts = <13 0x2>;
23 vdd-supply = <&reg5v0>;
24 xceiver-supply = <&reg5v0>;
25 };