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/i2c-davinci.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 Davinci/Keystone I2C
    2 
    3 This file provides information, what the device node for the
    4 davinci/keystone i2c interface contains.
    5 
    6 Required properties:
    7 - compatible: "ti,davinci-i2c" or "ti,keystone-i2c";
    8 - reg : Offset and length of the register set for the device
    9 - clocks: I2C functional clock phandle.
   10           For 66AK2G this property should be set per binding,
   11           Documentation/devicetree/bindings/clock/ti,sci-clk.yaml
   12 
   13 SoC-specific Required Properties:
   14 
   15 The following are mandatory properties for Keystone 2 66AK2G SoCs only:
   16 
   17 - power-domains:        Should contain a phandle to a PM domain provider node
   18                         and an args specifier containing the I2C device id
   19                         value. This property is as per the binding,
   20                         Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml
   21 
   22 Recommended properties :
   23 - interrupts : standard interrupt property.
   24 - clock-frequency : desired I2C bus clock frequency in Hz.
   25 - ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
   26         registers. PFUNC registers allow to switch I2C pins to function as
   27         GPIOs, so they can be toggled manually.
   28 
   29 Example (enbw_cmc board):
   30         i2c@1c22000 {
   31                 compatible = "ti,davinci-i2c";
   32                 reg = <0x22000 0x1000>;
   33                 clock-frequency = <100000>;
   34                 interrupts = <15>;
   35                 interrupt-parent = <&intc>;
   36                 #address-cells = <1>;
   37                 #size-cells = <0>;
   38 
   39                 dtt@48 {
   40                         compatible = "national,lm75";
   41                         reg = <0x48>;
   42                 };
   43         };

Cache object: 6c28cc95a01016278d17880f9ab607a8


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