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