The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/net/can/tcan4x5x.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: d4c86f40101d05cb1dcb5ca813288459


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.