xref: /openbmc/linux/Documentation/devicetree/bindings/net/can/tcan4x5x.txt (revision 4edd396a1911222da7a5d4b2bc58ab546de02bd5)
1*4edd396aSDan MurphyTexas Instruments TCAN4x5x CAN Controller
2*4edd396aSDan Murphy================================================
3*4edd396aSDan Murphy
4*4edd396aSDan MurphyThis file provides device node information for the TCAN4x5x interface contains.
5*4edd396aSDan Murphy
6*4edd396aSDan MurphyRequired properties:
7*4edd396aSDan Murphy	- compatible: "ti,tcan4x5x"
8*4edd396aSDan Murphy	- reg: 0
9*4edd396aSDan Murphy	- #address-cells: 1
10*4edd396aSDan Murphy	- #size-cells: 0
11*4edd396aSDan Murphy	- spi-max-frequency: Maximum frequency of the SPI bus the chip can
12*4edd396aSDan Murphy			     operate at should be less than or equal to 18 MHz.
13*4edd396aSDan Murphy	- data-ready-gpios: Interrupt GPIO for data and error reporting.
14*4edd396aSDan Murphy	- device-wake-gpios: Wake up GPIO to wake up the TCAN device.
15*4edd396aSDan Murphy
16*4edd396aSDan MurphySee Documentation/devicetree/bindings/net/can/m_can.txt for additional
17*4edd396aSDan Murphyrequired property details.
18*4edd396aSDan Murphy
19*4edd396aSDan MurphyOptional properties:
20*4edd396aSDan Murphy	- reset-gpios: Hardwired output GPIO. If not defined then software
21*4edd396aSDan Murphy		       reset.
22*4edd396aSDan Murphy	- device-state-gpios: Input GPIO that indicates if the device is in
23*4edd396aSDan Murphy			      a sleep state or if the device is active.
24*4edd396aSDan Murphy
25*4edd396aSDan MurphyExample:
26*4edd396aSDan Murphytcan4x5x: tcan4x5x@0 {
27*4edd396aSDan Murphy		compatible = "ti,tcan4x5x";
28*4edd396aSDan Murphy		reg = <0>;
29*4edd396aSDan Murphy		#address-cells = <1>;
30*4edd396aSDan Murphy		#size-cells = <1>;
31*4edd396aSDan Murphy		spi-max-frequency = <10000000>;
32*4edd396aSDan Murphy		bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
33*4edd396aSDan Murphy		data-ready-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
34*4edd396aSDan Murphy		device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
35*4edd396aSDan Murphy		device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
36*4edd396aSDan Murphy		reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
37*4edd396aSDan Murphy};
38