xref: /linux/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml (revision 4b3c1f1b15f576445c221cbc77a88540433a2ba7)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/i2c/xlnx,xps-iic-2.00.a.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: ilinx IIC controller Device Tree Bindings
8
9maintainers:
10  - info@mocean-labs.com
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    const: xlnx,xps-iic-2.00.a
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    minItems: 1
27
28  clock-name:
29    const: pclk
30    description: |
31      Input clock name.
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - clocks
38
39examples:
40  - |
41    axi_iic_0: i2c@40800000 {
42      compatible = "xlnx,xps-iic-2.00.a";
43      clocks = <&clkc 15>;
44      interrupts = < 1 2 >;
45      reg = < 0x40800000 0x10000 >;
46
47      #size-cells = <0>;
48      #address-cells = <1>;
49    };
50