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/i2c/mellanox,i2c-mlxbf.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 Device tree configuration for the Mellanox I2C SMBus on BlueField SoCs
    2 
    3 Required Properties:
    4 
    5 - compatible : should be "mellanox,i2c-mlxbf1" or "mellanox,i2c-mlxbf2".
    6 
    7 - reg : address offset and length of the device registers. The
    8         registers consist of the following set of resources:
    9                 1) Smbus block registers.
   10                 2) Cause master registers.
   11                 3) Cause slave registers.
   12                 4) Cause coalesce registers (if compatible isn't set
   13                    to "mellanox,i2c-mlxbf1").
   14 
   15 - interrupts : interrupt number.
   16 
   17 Optional Properties:
   18 
   19 - clock-frequency : bus frequency used to configure timing registers;
   20                         allowed values are 100000, 400000 and 1000000;
   21                         those are expressed in Hz. Default is 100000.
   22 
   23 Example:
   24 
   25 i2c@2804000 {
   26         compatible = "mellanox,i2c-mlxbf1";
   27         reg =   <0x02804000 0x800>,
   28                 <0x02801200 0x020>,
   29                 <0x02801260 0x020>;
   30         interrupts = <57>;
   31         clock-frequency = <100000>;
   32 };
   33 
   34 i2c@2808800 {
   35         compatible = "mellanox,i2c-mlxbf2";
   36         reg =   <0x02808800 0x600>,
   37                 <0x02808e00 0x020>,
   38                 <0x02808e20 0x020>,
   39                 <0x02808e40 0x010>;
   40         interrupts = <57>;
   41         clock-frequency = <400000>;
   42 };

Cache object: 03b4b511beab524c1030669007a82ac7


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