Merge branch 'tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox into...
[cascardo/linux.git] / Documentation / devicetree / bindings / i2c / i2c-mux-pca954x.txt
1 * NXP PCA954x I2C bus switch
2
3 Required Properties:
4
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"
8
9   - reg: The I2C address of the device.
10
11   The following required properties are defined externally:
12
13   - Standard I2C mux properties. See i2c-mux.txt in this directory.
14   - I2C child bus nodes. See i2c-mux.txt in this directory.
15
16 Optional Properties:
17
18   - reset-gpios: Reference to the GPIO connected to the reset input.
19
20
21 Example:
22
23         i2c-switch@74 {
24                 compatible = "nxp,pca9548";
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27                 reg = <0x74>;
28
29                 i2c@2 {
30                         #address-cells = <1>;
31                         #size-cells = <0>;
32                         reg = <2>;
33
34                         eeprom@54 {
35                                 compatible = "at,24c08";
36                                 reg = <0x54>;
37                         };
38                 };
39
40                 i2c@4 {
41                         #address-cells = <1>;
42                         #size-cells = <0>;
43                         reg = <4>;
44
45                         rtc@51 {
46                                 compatible = "nxp,pcf8563";
47                                 reg = <0x51>;
48                         };
49                 };
50         };