blob: e3501bfa22e904fe52b7944a37ab541eaf531fd2 [file] [log] [blame]
Dan Murphy4edd3962019-05-09 11:11:07 -05001Texas Instruments TCAN4x5x CAN Controller
2================================================
3
4This file provides device node information for the TCAN4x5x interface contains.
5
6Required 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.
Dan Murphye3b32922019-08-23 12:50:56 -050013 - interrupt-parent: the phandle to the interrupt controller which provides
14 the interrupt.
15 - interrupts: interrupt specification for data-ready.
Dan Murphy4edd3962019-05-09 11:11:07 -050016
Mauro Carvalho Chehab92f2b6a2020-03-17 14:10:43 +010017See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional
Dan Murphy4edd3962019-05-09 11:11:07 -050018required property details.
19
20Optional properties:
21 - reset-gpios: Hardwired output GPIO. If not defined then software
22 reset.
23 - device-state-gpios: Input GPIO that indicates if the device is in
24 a sleep state or if the device is active.
Dan Murphy1202d232019-12-04 11:51:11 -060025 - device-wake-gpios: Wake up GPIO to wake up the TCAN device.
Dan Murphy4edd3962019-05-09 11:11:07 -050026
27Example:
28tcan4x5x: tcan4x5x@0 {
29 compatible = "ti,tcan4x5x";
30 reg = <0>;
31 #address-cells = <1>;
32 #size-cells = <1>;
33 spi-max-frequency = <10000000>;
Marc Kleine-Budde17a30422022-01-14 18:47:41 +010034 bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>;
Dan Murphye3b32922019-08-23 12:50:56 -050035 interrupt-parent = <&gpio1>;
Krzysztof Kozlowski4d521942020-10-26 16:36:20 +010036 interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
Dan Murphy4edd3962019-05-09 11:11:07 -050037 device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
38 device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
Sean Nyekjaer9c9e1b02019-12-06 16:29:23 +010039 reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
Dan Murphy4edd3962019-05-09 11:11:07 -050040};