xref: /freebsd-src/sys/contrib/device-tree/Bindings/i2c/i2c-pca-platform.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* NXP PCA PCA9564/PCA9665 I2C controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe PCA9564/PCA9665 serves as an interface between most standard
4*c66ec88fSEmmanuel Vadotparallel-bus microcontrollers/microprocessors and the serial I2C-bus
5*c66ec88fSEmmanuel Vadotand allows the parallel bus system to communicate bi-directionally
6*c66ec88fSEmmanuel Vadotwith the I2C-bus.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties :
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot - reg : Offset and length of the register set for the device
11*c66ec88fSEmmanuel Vadot - compatible : one of "nxp,pca9564" or "nxp,pca9665"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotOptional properties
14*c66ec88fSEmmanuel Vadot - interrupts : the interrupt number
15*c66ec88fSEmmanuel Vadot - reset-gpios : gpio specifier for gpio connected to RESET_N pin. As the line
16*c66ec88fSEmmanuel Vadot   is active low, it should be marked GPIO_ACTIVE_LOW.
17*c66ec88fSEmmanuel Vadot - clock-frequency : I2C bus frequency.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot	i2c0: i2c@80000 {
21*c66ec88fSEmmanuel Vadot		compatible = "nxp,pca9564";
22*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
23*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
24*c66ec88fSEmmanuel Vadot		reg = <0x80000 0x4>;
25*c66ec88fSEmmanuel Vadot		reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
26*c66ec88fSEmmanuel Vadot		clock-frequency = <100000>;
27*c66ec88fSEmmanuel Vadot	};
28