Merge tag 'powerpc-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / i2c / i2c-arb.txt
1 Common i2c arbitration bus properties.
2
3 - i2c-arb child node
4
5 Required properties for the i2c-arb child node:
6 - #address-cells = <1>;
7 - #size-cells = <0>;
8
9 Optional properties for i2c-arb child node:
10 - Child nodes conforming to i2c bus binding
11
12
13 Example :
14
15         /*
16            An NXP pca9541 I2C bus master selector at address 0x74
17            with a NXP pca8574 GPIO expander attached.
18          */
19
20         arb@74 {
21                 compatible = "nxp,pca9541";
22                 reg = <0x74>;
23
24                 i2c-arb {
25                         #address-cells = <1>;
26                         #size-cells = <0>;
27
28                         gpio@38 {
29                                 compatible = "nxp,pca8574";
30                                 reg = <0x38>;
31                                 #gpio-cells = <2>;
32                                 gpio-controller;
33                         };
34                 };
35         };