xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-pnx.txt (revision dd41de95a84d979615a2ef11df6850622bf6184e)
1* NXP PNX I2C Controller
2
3Required properties:
4
5 - reg: Offset and length of the register set for the device
6 - compatible: should be "nxp,pnx-i2c"
7 - interrupts: configure one interrupt line
8 - #address-cells: always 1 (for i2c addresses)
9 - #size-cells: always 0
10
11Optional properties:
12
13 - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz
14
15Examples:
16
17	i2c1: i2c@400a0000 {
18		compatible = "nxp,pnx-i2c";
19		reg = <0x400a0000 0x100>;
20		interrupt-parent = <&mic>;
21		interrupts = <51 0>;
22		#address-cells = <1>;
23		#size-cells = <0>;
24	};
25
26	i2c2: i2c@400a8000 {
27		compatible = "nxp,pnx-i2c";
28		reg = <0x400a8000 0x100>;
29		interrupt-parent = <&mic>;
30		interrupts = <50 0>;
31		#address-cells = <1>;
32		#size-cells = <0>;
33		clock-frequency = <100000>;
34	};
35