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-lpc2k.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 NXP I2C controller for LPC2xxx/178x/18xx/43xx
    2 
    3 Required properties:
    4  - compatible: must be "nxp,lpc1788-i2c"
    5  - reg: physical address and length of the device registers
    6  - interrupts: a single interrupt specifier
    7  - clocks: clock for the device
    8  - #address-cells: should be <1>
    9  - #size-cells: should be <0>
   10 
   11 Optional properties:
   12 - clock-frequency: the desired I2C bus clock frequency in Hz; in
   13   absence of this property the default value is used (100 kHz).
   14 
   15 Example:
   16 i2c0: i2c@400a1000 {
   17         compatible = "nxp,lpc1788-i2c";
   18         reg = <0x400a1000 0x1000>;
   19         interrupts = <18>;
   20         clocks = <&ccu1 CLK_APB1_I2C0>;
   21         #address-cells = <1>;
   22         #size-cells = <0>;
   23 };
   24 
   25 &i2c0 {
   26         clock-frequency = <400000>;
   27 
   28         lm75@48 {
   29                 compatible = "nxp,lm75";
   30                 reg = <0x48>;
   31         };
   32 };
   33 

Cache object: a25330a44a18162712cbd36e9e123f3b


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