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. 13e3b32922SDan Murphy - interrupt-parent: the phandle to the interrupt controller which provides 14e3b32922SDan Murphy the interrupt. 15e3b32922SDan Murphy - interrupts: interrupt specification for data-ready. 164edd396aSDan Murphy 1792f2b6acSMauro Carvalho ChehabSee Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional 184edd396aSDan Murphyrequired property details. 194edd396aSDan Murphy 204edd396aSDan MurphyOptional properties: 214edd396aSDan Murphy - reset-gpios: Hardwired output GPIO. If not defined then software 224edd396aSDan Murphy reset. 234edd396aSDan Murphy - device-state-gpios: Input GPIO that indicates if the device is in 244edd396aSDan Murphy a sleep state or if the device is active. 251202d231SDan Murphy - device-wake-gpios: Wake up GPIO to wake up the TCAN device. 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>; 34*17a30422SMarc Kleine-Budde bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; 35e3b32922SDan Murphy interrupt-parent = <&gpio1>; 364d521943SKrzysztof Kozlowski interrupts = <14 IRQ_TYPE_LEVEL_LOW>; 374edd396aSDan Murphy device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; 384edd396aSDan Murphy device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; 399c9e1b01SSean Nyekjaer reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; 404edd396aSDan Murphy}; 41