2019-05-09 16:11:07 +00:00
|
|
|
Texas Instruments TCAN4x5x CAN Controller
|
|
|
|
================================================
|
|
|
|
|
|
|
|
This file provides device node information for the TCAN4x5x interface contains.
|
|
|
|
|
|
|
|
Required properties:
|
2023-07-28 14:19:18 +00:00
|
|
|
- compatible:
|
|
|
|
"ti,tcan4552", "ti,tcan4x5x"
|
|
|
|
"ti,tcan4553", "ti,tcan4x5x" or
|
|
|
|
"ti,tcan4x5x"
|
2019-05-09 16:11:07 +00:00
|
|
|
- reg: 0
|
|
|
|
- #address-cells: 1
|
|
|
|
- #size-cells: 0
|
|
|
|
- spi-max-frequency: Maximum frequency of the SPI bus the chip can
|
|
|
|
operate at should be less than or equal to 18 MHz.
|
2019-08-23 17:50:56 +00:00
|
|
|
- interrupt-parent: the phandle to the interrupt controller which provides
|
|
|
|
the interrupt.
|
|
|
|
- interrupts: interrupt specification for data-ready.
|
2019-05-09 16:11:07 +00:00
|
|
|
|
2020-03-17 13:10:43 +00:00
|
|
|
See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional
|
2019-05-09 16:11:07 +00:00
|
|
|
required property details.
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- reset-gpios: Hardwired output GPIO. If not defined then software
|
|
|
|
reset.
|
|
|
|
- device-state-gpios: Input GPIO that indicates if the device is in
|
2023-07-28 14:19:18 +00:00
|
|
|
a sleep state or if the device is active. Not
|
|
|
|
available with tcan4552/4553.
|
|
|
|
- device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not
|
|
|
|
available with tcan4552/4553.
|
2023-11-13 13:14:52 +00:00
|
|
|
- wakeup-source: Leave the chip running when suspended, and configure
|
|
|
|
the RX interrupt to wake up the device.
|
2019-05-09 16:11:07 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
tcan4x5x: tcan4x5x@0 {
|
|
|
|
compatible = "ti,tcan4x5x";
|
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
spi-max-frequency = <10000000>;
|
2022-01-14 17:47:41 +00:00
|
|
|
bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>;
|
2019-08-23 17:50:56 +00:00
|
|
|
interrupt-parent = <&gpio1>;
|
2020-10-26 15:36:20 +00:00
|
|
|
interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
|
2019-05-09 16:11:07 +00:00
|
|
|
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
|
|
|
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
|
2019-12-06 15:29:23 +00:00
|
|
|
reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
|
2023-11-13 13:14:52 +00:00
|
|
|
wakeup-source;
|
2019-05-09 16:11:07 +00:00
|
|
|
};
|