GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / i2c / i2c-fsi.txt
1 Device-tree bindings for FSI-attached I2C master and busses
2 -----------------------------------------------------------
3
4 Required properties:
5  - compatible = "ibm,i2c-fsi";
6  - reg = < address size >;              : The FSI CFAM address and address
7                                           space size.
8  - #address-cells = <1>;                : Number of address cells in child
9                                           nodes.
10  - #size-cells = <0>;                   : Number of size cells in child nodes.
11  - child nodes                          : Nodes to describe busses off the I2C
12                                           master.
13
14 Child node required properties:
15  - reg = < port number >                : The port number on the I2C master.
16
17 Child node optional properties:
18  - child nodes                          : Nodes to describe devices on the I2C
19                                           bus.
20
21 Examples:
22
23     i2c@1800 {
24         compatible = "ibm,i2c-fsi";
25         reg = < 0x1800 0x400 >;
26         #address-cells = <1>;
27         #size-cells = <0>;
28
29         i2c-bus@0 {
30             reg = <0>;
31         };
32
33         i2c-bus@1 {
34             reg = <1>;
35
36             eeprom@50 {
37                 compatible = "vendor,dev-name";
38             };
39         };
40     };