0001 Device-tree bindings for FSI-attached I2C master and busses
0002 -----------------------------------------------------------
0003
0004 Required properties:
0005 - compatible = "ibm,i2c-fsi";
0006 - reg = < address size >; : The FSI CFAM address and address
0007 space size.
0008 - #address-cells = <1>; : Number of address cells in child
0009 nodes.
0010 - #size-cells = <0>; : Number of size cells in child nodes.
0011 - child nodes : Nodes to describe busses off the I2C
0012 master.
0013
0014 Child node required properties:
0015 - reg = < port number > : The port number on the I2C master.
0016
0017 Child node optional properties:
0018 - child nodes : Nodes to describe devices on the I2C
0019 bus.
0020
0021 Examples:
0022
0023 i2c@1800 {
0024 compatible = "ibm,i2c-fsi";
0025 reg = < 0x1800 0x400 >;
0026 #address-cells = <1>;
0027 #size-cells = <0>;
0028
0029 i2c-bus@0 {
0030 reg = <0>;
0031 };
0032
0033 i2c-bus@1 {
0034 reg = <1>;
0035
0036 eeprom@50 {
0037 compatible = "vendor,dev-name";
0038 };
0039 };
0040 };