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