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