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: 7*e332873dSMarkus Schneider-Pargmann - compatible: 8*e332873dSMarkus Schneider-Pargmann "ti,tcan4552", "ti,tcan4x5x" 9*e332873dSMarkus Schneider-Pargmann "ti,tcan4553", "ti,tcan4x5x" or 10*e332873dSMarkus Schneider-Pargmann "ti,tcan4x5x" 114edd396aSDan Murphy - reg: 0 124edd396aSDan Murphy - #address-cells: 1 134edd396aSDan Murphy - #size-cells: 0 144edd396aSDan Murphy - spi-max-frequency: Maximum frequency of the SPI bus the chip can 154edd396aSDan Murphy operate at should be less than or equal to 18 MHz. 16e3b32922SDan Murphy - interrupt-parent: the phandle to the interrupt controller which provides 17e3b32922SDan Murphy the interrupt. 18e3b32922SDan Murphy - interrupts: interrupt specification for data-ready. 194edd396aSDan Murphy 2092f2b6acSMauro Carvalho ChehabSee Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional 214edd396aSDan Murphyrequired property details. 224edd396aSDan Murphy 234edd396aSDan MurphyOptional properties: 244edd396aSDan Murphy - reset-gpios: Hardwired output GPIO. If not defined then software 254edd396aSDan Murphy reset. 264edd396aSDan Murphy - device-state-gpios: Input GPIO that indicates if the device is in 27*e332873dSMarkus Schneider-Pargmann a sleep state or if the device is active. Not 28*e332873dSMarkus Schneider-Pargmann available with tcan4552/4553. 29*e332873dSMarkus Schneider-Pargmann - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not 30*e332873dSMarkus Schneider-Pargmann available with tcan4552/4553. 314edd396aSDan Murphy 324edd396aSDan MurphyExample: 334edd396aSDan Murphytcan4x5x: tcan4x5x@0 { 344edd396aSDan Murphy compatible = "ti,tcan4x5x"; 354edd396aSDan Murphy reg = <0>; 364edd396aSDan Murphy #address-cells = <1>; 374edd396aSDan Murphy #size-cells = <1>; 384edd396aSDan Murphy spi-max-frequency = <10000000>; 3917a30422SMarc Kleine-Budde bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; 40e3b32922SDan Murphy interrupt-parent = <&gpio1>; 414d521943SKrzysztof Kozlowski interrupts = <14 IRQ_TYPE_LEVEL_LOW>; 424edd396aSDan Murphy device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 434edd396aSDan Murphy device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; 449c9e1b01SSean Nyekjaer reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; 454edd396aSDan Murphy}; 46