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