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