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