Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / i2c / i2c-mux-pca954x.txt
blobcf53d5fba20a0934c631b8320e538cbc5440e155
1 * NXP PCA954x I2C bus switch
3 Required Properties:
5   - compatible: Must contain one of the following.
6     "nxp,pca9540", "nxp,pca9542", "nxp,pca9543", "nxp,pca9544",
7     "nxp,pca9545", "nxp,pca9546", "nxp,pca9547", "nxp,pca9548"
9   - reg: The I2C address of the device.
11   The following required properties are defined externally:
13   - Standard I2C mux properties. See i2c-mux.txt in this directory.
14   - I2C child bus nodes. See i2c-mux.txt in this directory.
16 Optional Properties:
18   - reset-gpios: Reference to the GPIO connected to the reset input.
19   - i2c-mux-idle-disconnect: Boolean; if defined, forces mux to disconnect all
20     children in idle state. This is necessary for example, if there are several
21     multiplexers on the bus and the devices behind them use same I2C addresses.
24 Example:
26         i2c-switch@74 {
27                 compatible = "nxp,pca9548";
28                 #address-cells = <1>;
29                 #size-cells = <0>;
30                 reg = <0x74>;
32                 i2c@2 {
33                         #address-cells = <1>;
34                         #size-cells = <0>;
35                         reg = <2>;
37                         eeprom@54 {
38                                 compatible = "at,24c08";
39                                 reg = <0x54>;
40                         };
41                 };
43                 i2c@4 {
44                         #address-cells = <1>;
45                         #size-cells = <0>;
46                         reg = <4>;
48                         rtc@51 {
49                                 compatible = "nxp,pcf8563";
50                                 reg = <0x51>;
51                         };
52                 };
53         };