xref: /freebsd/sys/contrib/device-tree/Bindings/net/can/tcan4x5x.txt (revision 7ab1a32cd43cbae61ad4dd435d6a482bbf61cb52)
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
32Example:
33tcan4x5x: tcan4x5x@0 {
34		compatible = "ti,tcan4x5x";
35		reg = <0>;
36		#address-cells = <1>;
37		#size-cells = <1>;
38		spi-max-frequency = <10000000>;
39		bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>;
40		interrupt-parent = <&gpio1>;
41		interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
42		device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
43		device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
44		reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
45};
46