xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-lpc2k.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1NXP I2C controller for LPC2xxx/178x/18xx/43xx
2
3Required 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
11Optional 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
15Example:
16i2c0: 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
34