blob: b1be2ceb7e6966c3780b1de8fb43df990b242a6f [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Device-tree bindings for FSI-attached I2C master and busses
2-----------------------------------------------------------
3
4Required 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
14Child node required properties:
15 - reg = < port number > : The port number on the I2C master.
16
17Child node optional properties:
18 - child nodes : Nodes to describe devices on the I2C
19 bus.
20
21Examples:
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 };