xref: /openbmc/linux/Documentation/devicetree/bindings/net/can/tcan4x5x.txt (revision e3b329221567ac86bd667bfb644ac04c867b71cb)
14edd396aSDan MurphyTexas Instruments TCAN4x5x CAN Controller
24edd396aSDan Murphy================================================
34edd396aSDan Murphy
44edd396aSDan MurphyThis file provides device node information for the TCAN4x5x interface contains.
54edd396aSDan Murphy
64edd396aSDan MurphyRequired properties:
74edd396aSDan Murphy	- compatible: "ti,tcan4x5x"
84edd396aSDan Murphy	- reg: 0
94edd396aSDan Murphy	- #address-cells: 1
104edd396aSDan Murphy	- #size-cells: 0
114edd396aSDan Murphy	- spi-max-frequency: Maximum frequency of the SPI bus the chip can
124edd396aSDan Murphy			     operate at should be less than or equal to 18 MHz.
134edd396aSDan Murphy	- device-wake-gpios: Wake up GPIO to wake up the TCAN device.
14*e3b32922SDan Murphy	- interrupt-parent: the phandle to the interrupt controller which provides
15*e3b32922SDan Murphy                    the interrupt.
16*e3b32922SDan Murphy	- interrupts: interrupt specification for data-ready.
174edd396aSDan Murphy
184edd396aSDan MurphySee Documentation/devicetree/bindings/net/can/m_can.txt for additional
194edd396aSDan Murphyrequired property details.
204edd396aSDan Murphy
214edd396aSDan MurphyOptional properties:
224edd396aSDan Murphy	- reset-gpios: Hardwired output GPIO. If not defined then software
234edd396aSDan Murphy		       reset.
244edd396aSDan Murphy	- device-state-gpios: Input GPIO that indicates if the device is in
254edd396aSDan Murphy			      a sleep state or if the device is active.
264edd396aSDan Murphy
274edd396aSDan MurphyExample:
284edd396aSDan Murphytcan4x5x: tcan4x5x@0 {
294edd396aSDan Murphy		compatible = "ti,tcan4x5x";
304edd396aSDan Murphy		reg = <0>;
314edd396aSDan Murphy		#address-cells = <1>;
324edd396aSDan Murphy		#size-cells = <1>;
334edd396aSDan Murphy		spi-max-frequency = <10000000>;
344edd396aSDan Murphy		bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
35*e3b32922SDan Murphy		interrupt-parent = <&gpio1>;
36*e3b32922SDan Murphy		interrupts = <14 GPIO_ACTIVE_LOW>;
374edd396aSDan Murphy		device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
384edd396aSDan Murphy		device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
394edd396aSDan Murphy		reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
404edd396aSDan Murphy};
41