Back to home page

OSCL-LXR

 
 

    


0001 Common i2c arbitration bus properties.
0002 
0003 - i2c-arb child node
0004 
0005 Required properties for the i2c-arb child node:
0006 - #address-cells = <1>;
0007 - #size-cells = <0>;
0008 
0009 Optional properties for i2c-arb child node:
0010 - Child nodes conforming to i2c bus binding
0011 
0012 
0013 Example :
0014 
0015         /*
0016            An NXP pca9541 I2C bus master selector at address 0x74
0017            with a NXP pca8574 GPIO expander attached.
0018          */
0019 
0020         arb@74 {
0021                 compatible = "nxp,pca9541";
0022                 reg = <0x74>;
0023 
0024                 i2c-arb {
0025                         #address-cells = <1>;
0026                         #size-cells = <0>;
0027 
0028                         gpio@38 {
0029                                 compatible = "nxp,pca8574";
0030                                 reg = <0x38>;
0031                                 #gpio-cells = <2>;
0032                                 gpio-controller;
0033                         };
0034                 };
0035         };