xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-fsi.txt (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1Device-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    };
41