Skip to content

Commit 20a1e35

Browse files
nodeaxmarckleinebudde
authored andcommitted
can: holt_hi311x: document device tree bindings
Document the HOLT HI-311x CAN device tree bindings. Signed-off-by: Akshay Bhat <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 8e8cda6 commit 20a1e35

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
* Holt HI-311X stand-alone CAN controller device tree bindings
2+
3+
Required properties:
4+
- compatible: Should be one of the following:
5+
- "holt,hi3110" for HI-3110
6+
- reg: SPI chip select.
7+
- clocks: The clock feeding the CAN controller.
8+
- interrupt-parent: The parent interrupt controller.
9+
- interrupts: Should contain IRQ line for the CAN controller.
10+
11+
Optional properties:
12+
- vdd-supply: Regulator that powers the CAN controller.
13+
- xceiver-supply: Regulator that powers the CAN transceiver.
14+
15+
Example:
16+
can0: can@1 {
17+
compatible = "holt,hi3110";
18+
reg = <1>;
19+
clocks = <&clk32m>;
20+
interrupt-parent = <&gpio4>;
21+
interrupts = <13 IRQ_TYPE_EDGE_RISING>;
22+
vdd-supply = <&reg5v0>;
23+
xceiver-supply = <&reg5v0>;
24+
};

0 commit comments

Comments
 (0)