i2c-fsi.txt 1020 B

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