WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-lpc2k.txt
blob4101aa621ad42ecafe4edb938199417216d675d4
1 NXP I2C controller for LPC2xxx/178x/18xx/43xx
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>
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).
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>;
25 &i2c0 {
26         clock-frequency = <400000>;
28         lm75@48 {
29                 compatible = "nxp,lm75";
30                 reg = <0x48>;
31         };