Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * NXP PCA PCA9564/PCA9665 I2C controller |
| 2 | |
| 3 | The PCA9564/PCA9665 serves as an interface between most standard |
| 4 | parallel-bus microcontrollers/microprocessors and the serial I2C-bus |
| 5 | and allows the parallel bus system to communicate bi-directionally |
| 6 | with the I2C-bus. |
| 7 | |
| 8 | Required properties : |
| 9 | |
| 10 | - reg : Offset and length of the register set for the device |
| 11 | - compatible : one of "nxp,pca9564" or "nxp,pca9665" |
| 12 | |
| 13 | Optional properties |
| 14 | - interrupts : the interrupt number |
| 15 | - reset-gpios : gpio specifier for gpio connected to RESET_N pin. As the line |
| 16 | is active low, it should be marked GPIO_ACTIVE_LOW. |
| 17 | - clock-frequency : I2C bus frequency. |
| 18 | |
| 19 | Example: |
| 20 | i2c0: i2c@80000 { |
| 21 | compatible = "nxp,pca9564"; |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | reg = <0x80000 0x4>; |
| 25 | reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; |
| 26 | clock-frequency = <100000>; |
| 27 | }; |