xref: /linux/Documentation/devicetree/bindings/net/can/tcan4x5x.txt (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1Texas Instruments TCAN4x5x CAN Controller
2================================================
3
4This file provides device node information for the TCAN4x5x interface contains.
5
6Required properties:
7	- compatible:
8		"ti,tcan4552", "ti,tcan4x5x"
9		"ti,tcan4553", "ti,tcan4x5x" or
10		"ti,tcan4x5x"
11	- reg: 0
12	- #address-cells: 1
13	- #size-cells: 0
14	- spi-max-frequency: Maximum frequency of the SPI bus the chip can
15			     operate at should be less than or equal to 18 MHz.
16	- interrupt-parent: the phandle to the interrupt controller which provides
17                    the interrupt.
18	- interrupts: interrupt specification for data-ready.
19
20See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional
21required property details.
22
23Optional properties:
24	- reset-gpios: Hardwired output GPIO. If not defined then software
25		       reset.
26	- device-state-gpios: Input GPIO that indicates if the device is in
27			      a sleep state or if the device is active. Not
28			      available with tcan4552/4553.
29	- device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not
30			     available with tcan4552/4553.
31	- wakeup-source: Leave the chip running when suspended, and configure
32			 the RX interrupt to wake up the device.
33
34Example:
35tcan4x5x: tcan4x5x@0 {
36		compatible = "ti,tcan4x5x";
37		reg = <0>;
38		#address-cells = <1>;
39		#size-cells = <1>;
40		spi-max-frequency = <10000000>;
41		bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>;
42		interrupt-parent = <&gpio1>;
43		interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
44		device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
45		device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
46		reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
47		wakeup-source;
48};
49