xref: /freebsd/sys/contrib/device-tree/Bindings/fsi/ibm,i2cr-fsi-master.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2aa1a8ff2SEmmanuel Vadot%YAML 1.2
3aa1a8ff2SEmmanuel Vadot---
4aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml#
5aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6aa1a8ff2SEmmanuel Vadot
7aa1a8ff2SEmmanuel Vadottitle: IBM I2C Responder virtual FSI master
8aa1a8ff2SEmmanuel Vadot
9aa1a8ff2SEmmanuel Vadotmaintainers:
10aa1a8ff2SEmmanuel Vadot  - Eddie James <eajames@linux.ibm.com>
11aa1a8ff2SEmmanuel Vadot
12aa1a8ff2SEmmanuel Vadotdescription: |
13aa1a8ff2SEmmanuel Vadot  The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM
14aa1a8ff2SEmmanuel Vadot  (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and
15aa1a8ff2SEmmanuel Vadot  writes or SCOM operations, thereby acting as an FSI master.
16aa1a8ff2SEmmanuel Vadot
17aa1a8ff2SEmmanuel Vadotproperties:
18aa1a8ff2SEmmanuel Vadot  compatible:
19aa1a8ff2SEmmanuel Vadot    enum:
20aa1a8ff2SEmmanuel Vadot      - ibm,i2cr-fsi-master
21aa1a8ff2SEmmanuel Vadot
22aa1a8ff2SEmmanuel Vadot  reg:
23aa1a8ff2SEmmanuel Vadot    maxItems: 1
24aa1a8ff2SEmmanuel Vadot
25aa1a8ff2SEmmanuel Vadotrequired:
26aa1a8ff2SEmmanuel Vadot  - compatible
27aa1a8ff2SEmmanuel Vadot  - reg
28aa1a8ff2SEmmanuel Vadot
29*0e8011faSEmmanuel VadotallOf:
30*0e8011faSEmmanuel Vadot  - $ref: fsi-controller.yaml#
31*0e8011faSEmmanuel Vadot
32*0e8011faSEmmanuel VadotunevaluatedProperties: false
33aa1a8ff2SEmmanuel Vadot
34aa1a8ff2SEmmanuel Vadotexamples:
35aa1a8ff2SEmmanuel Vadot  - |
36aa1a8ff2SEmmanuel Vadot    i2c {
37aa1a8ff2SEmmanuel Vadot      #address-cells = <1>;
38aa1a8ff2SEmmanuel Vadot      #size-cells = <0>;
39aa1a8ff2SEmmanuel Vadot
40aa1a8ff2SEmmanuel Vadot      i2cr@20 {
41aa1a8ff2SEmmanuel Vadot        compatible = "ibm,i2cr-fsi-master";
42aa1a8ff2SEmmanuel Vadot        reg = <0x20>;
43aa1a8ff2SEmmanuel Vadot      };
44aa1a8ff2SEmmanuel Vadot    };
45