Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
41 lines
1020 B
Plaintext
41 lines
1020 B
Plaintext
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";
|
|
};
|
|
};
|
|
};
|