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-sprd.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 I2C for Spreadtrum platforms
    2 
    3 Required properties:
    4 - compatible: Should be "sprd,sc9860-i2c".
    5 - reg: Specify the physical base address of the controller and length
    6   of memory mapped region.
    7 - interrupts: Should contain I2C interrupt.
    8 - clock-names: Should contain following entries:
    9   "i2c" for I2C clock,
   10   "source" for I2C source (parent) clock,
   11   "enable" for I2C module enable clock.
   12 - clocks: Should contain a clock specifier for each entry in clock-names.
   13 - clock-frequency: Constains desired I2C bus clock frequency in Hz.
   14 - #address-cells: Should be 1 to describe address cells for I2C device address.
   15 - #size-cells: Should be 0 means no size cell for I2C device address.
   16 
   17 Optional properties:
   18 - Child nodes conforming to I2C bus binding
   19 
   20 Examples:
   21 i2c0: i2c@70500000 {
   22         compatible = "sprd,sc9860-i2c";
   23         reg = <0 0x70500000 0 0x1000>;
   24         interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
   25         clock-names = "i2c", "source", "enable";
   26         clocks = <&clk_i2c3>, <&ext_26m>, <&clk_ap_apb_gates 11>;
   27         clock-frequency = <400000>;
   28         #address-cells = <1>;
   29         #size-cells = <0>;
   30 };
   31 

Cache object: f6ea6186d8de060329e738426f509203


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