Merge tag 'media/v4.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[deliverable/linux.git] / Documentation / devicetree / bindings / i2c / i2c-mux-pca954x.txt
CommitLineData
4215138e
LP
1* NXP PCA954x I2C bus switch
2
3Required 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
12097957
LP
16Optional Properties:
17
18 - reset-gpios: Reference to the GPIO connected to the reset input.
72f02715
AS
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.
12097957 22
4215138e
LP
23
24Example:
25
26 i2c-switch@74 {
27 compatible = "nxp,pca9548";
28 #address-cells = <1>;
29 #size-cells = <0>;
30 reg = <0x74>;
31
32 i2c@2 {
33 #address-cells = <1>;
34 #size-cells = <0>;
35 reg = <2>;
36
37 eeprom@54 {
38 compatible = "at,24c08";
39 reg = <0x54>;
40 };
41 };
42
43 i2c@4 {
44 #address-cells = <1>;
45 #size-cells = <0>;
46 reg = <4>;
47
48 rtc@51 {
49 compatible = "nxp,pcf8563";
50 reg = <0x51>;
51 };
52 };
53 };
This page took 0.09481 seconds and 5 git commands to generate.