1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/socionext,synquacer-i2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Socionext SynQuacer I2C Controller
8
9maintainers:
10  - Ard Biesheuvel <ardb@kernel.org>
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    const: socionext,synquacer-i2c
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    const: pclk
27
28  clock-frequency:
29    minimum: 100000
30    maximum: 400000
31
32  interrupts:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - interrupts
39  - clocks
40  - clock-names
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48    i2c@51210000 {
49        compatible = "socionext,synquacer-i2c";
50        reg = <0x51210000 0x1000>;
51        interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
52        #address-cells = <1>;
53        #size-cells = <0>;
54        clock-names = "pclk";
55        clocks = <&clk_i2c>;
56        clock-frequency = <400000>;
57    };
58...
59