xref: /linux/Documentation/devicetree/bindings/i2c/xlnx,xps-iic-2.00.a.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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: Xilinx IIC controller
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
39unevaluatedProperties: false
40
41examples:
42  - |
43    axi_iic_0: i2c@40800000 {
44      compatible = "xlnx,xps-iic-2.00.a";
45      clocks = <&clkc 15>;
46      interrupts = < 1 2 >;
47      reg = < 0x40800000 0x10000 >;
48
49      #size-cells = <0>;
50      #address-cells = <1>;
51    };
52