File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Documentation/devicetree/bindings/net/can Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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+ };
You can’t perform that action at this time.
0 commit comments