brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 20c0572 Raw
49 lines · plain
1Texas Instruments TCAN4x5x CAN Controller2================================================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" or10		"ti,tcan4x5x"11	- reg: 012	- #address-cells: 113	- #size-cells: 014	- spi-max-frequency: Maximum frequency of the SPI bus the chip can15			     operate at should be less than or equal to 18 MHz.16	- interrupt-parent: the phandle to the interrupt controller which provides17                    the interrupt.18	- interrupts: interrupt specification for data-ready.19 20See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional21required property details.22 23Optional properties:24	- reset-gpios: Hardwired output GPIO. If not defined then software25		       reset.26	- device-state-gpios: Input GPIO that indicates if the device is in27			      a sleep state or if the device is active. Not28			      available with tcan4552/4553.29	- device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not30			     available with tcan4552/4553.31	- wakeup-source: Leave the chip running when suspended, and configure32			 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