Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / i2c / i2c-lpc2k.txt
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
This page took 0.045162 seconds and 5 git commands to generate.