Skip to content

Commit 4edd396

Browse files
Dan Murphymarckleinebudde
authored andcommitted
dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver
DT binding documentation for TI TCAN4x5x driver. Signed-off-by: Dan Murphy <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 441ac34 commit 4edd396

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Texas Instruments TCAN4x5x CAN Controller
2+
================================================
3+
4+
This file provides device node information for the TCAN4x5x interface contains.
5+
6+
Required properties:
7+
- compatible: "ti,tcan4x5x"
8+
- reg: 0
9+
- #address-cells: 1
10+
- #size-cells: 0
11+
- spi-max-frequency: Maximum frequency of the SPI bus the chip can
12+
operate at should be less than or equal to 18 MHz.
13+
- data-ready-gpios: Interrupt GPIO for data and error reporting.
14+
- device-wake-gpios: Wake up GPIO to wake up the TCAN device.
15+
16+
See Documentation/devicetree/bindings/net/can/m_can.txt for additional
17+
required property details.
18+
19+
Optional properties:
20+
- reset-gpios: Hardwired output GPIO. If not defined then software
21+
reset.
22+
- device-state-gpios: Input GPIO that indicates if the device is in
23+
a sleep state or if the device is active.
24+
25+
Example:
26+
tcan4x5x: tcan4x5x@0 {
27+
compatible = "ti,tcan4x5x";
28+
reg = <0>;
29+
#address-cells = <1>;
30+
#size-cells = <1>;
31+
spi-max-frequency = <10000000>;
32+
bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
33+
data-ready-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
34+
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
35+
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
36+
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
37+
};

0 commit comments

Comments
 (0)