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