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