1*4882a593SmuzhiyunTexas Instruments TCAN4x5x CAN Controller 2*4882a593Smuzhiyun================================================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThis file provides device node information for the TCAN4x5x interface contains. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunRequired properties: 7*4882a593Smuzhiyun - compatible: "ti,tcan4x5x" 8*4882a593Smuzhiyun - reg: 0 9*4882a593Smuzhiyun - #address-cells: 1 10*4882a593Smuzhiyun - #size-cells: 0 11*4882a593Smuzhiyun - spi-max-frequency: Maximum frequency of the SPI bus the chip can 12*4882a593Smuzhiyun operate at should be less than or equal to 18 MHz. 13*4882a593Smuzhiyun - interrupt-parent: the phandle to the interrupt controller which provides 14*4882a593Smuzhiyun the interrupt. 15*4882a593Smuzhiyun - interrupts: interrupt specification for data-ready. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunSee Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional 18*4882a593Smuzhiyunrequired property details. 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunOptional properties: 21*4882a593Smuzhiyun - reset-gpios: Hardwired output GPIO. If not defined then software 22*4882a593Smuzhiyun reset. 23*4882a593Smuzhiyun - device-state-gpios: Input GPIO that indicates if the device is in 24*4882a593Smuzhiyun a sleep state or if the device is active. 25*4882a593Smuzhiyun - device-wake-gpios: Wake up GPIO to wake up the TCAN device. 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunExample: 28*4882a593Smuzhiyuntcan4x5x: tcan4x5x@0 { 29*4882a593Smuzhiyun compatible = "ti,tcan4x5x"; 30*4882a593Smuzhiyun reg = <0>; 31*4882a593Smuzhiyun #address-cells = <1>; 32*4882a593Smuzhiyun #size-cells = <1>; 33*4882a593Smuzhiyun spi-max-frequency = <10000000>; 34*4882a593Smuzhiyun bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; 35*4882a593Smuzhiyun interrupt-parent = <&gpio1>; 36*4882a593Smuzhiyun interrupts = <14 IRQ_TYPE_LEVEL_LOW>; 37*4882a593Smuzhiyun device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 38*4882a593Smuzhiyun device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; 39*4882a593Smuzhiyun reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; 40*4882a593Smuzhiyun}; 41