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/sja1000.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 Memory mapped SJA1000 CAN controller from NXP (formerly Philips)
    2 
    3 Required properties:
    4 
    5 - compatible : should be one of "nxp,sja1000", "technologic,sja1000".
    6 
    7 - reg : should specify the chip select, address offset and size required
    8         to map the registers of the SJA1000. The size is usually 0x80.
    9 
   10 - interrupts: property with a value describing the interrupt source
   11         (number and sensitivity) required for the SJA1000.
   12 
   13 Optional properties:
   14 
   15 - reg-io-width : Specify the size (in bytes) of the IO accesses that
   16         should be performed on the device.  Valid value is 1, 2 or 4.
   17         This property is ignored for technologic version.
   18         Default to 1 (8 bits).
   19 
   20 - nxp,external-clock-frequency : Frequency of the external oscillator
   21         clock in Hz. Note that the internal clock frequency used by the
   22         SJA1000 is half of that value. If not specified, a default value
   23         of 16000000 (16 MHz) is used.
   24 
   25 - nxp,tx-output-mode : operation mode of the TX output control logic:
   26         <0x0> : bi-phase output mode
   27         <0x1> : normal output mode (default)
   28         <0x2> : test output mode
   29         <0x3> : clock output mode
   30 
   31 - nxp,tx-output-config : TX output pin configuration:
   32         <0x01> : TX0 invert
   33         <0x02> : TX0 pull-down (default)
   34         <0x04> : TX0 pull-up
   35         <0x06> : TX0 push-pull
   36         <0x08> : TX1 invert
   37         <0x10> : TX1 pull-down
   38         <0x20> : TX1 pull-up
   39         <0x30> : TX1 push-pull
   40 
   41 - nxp,clock-out-frequency : clock frequency in Hz on the CLKOUT pin.
   42         If not specified or if the specified value is 0, the CLKOUT pin
   43         will be disabled.
   44 
   45 - nxp,no-comparator-bypass : Allows to disable the CAN input comparator.
   46 
   47 For further information, please have a look to the SJA1000 data sheet.
   48 
   49 Examples:
   50 
   51 can@3,100 {
   52         compatible = "nxp,sja1000";
   53         reg = <3 0x100 0x80>;
   54         interrupts = <2 0>;
   55         interrupt-parent = <&mpic>;
   56         nxp,external-clock-frequency = <16000000>;
   57 };
   58 

Cache object: f6a7fbcd7a5343182687b88da5df7332


[ 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.