xref: /linux/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml (revision 66e72a01b60ae6950ddbb3585fdc1424d303e14b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/renesas,iic-emev2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas EMMA Mobile EV2 IIC Interface
8
9maintainers:
10  - Wolfram Sang <wsa+renesas@sang-engineering.com>
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    const: renesas,iic-emev2
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-names:
29    const: sclk
30
31required:
32  - compatible
33  - reg
34  - interrupts
35  - clocks
36  - clock-names
37  - '#address-cells'
38  - '#size-cells'
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/interrupt-controller/arm-gic.h>
45
46    iic0: i2c@e0070000 {
47        compatible = "renesas,iic-emev2";
48        reg = <0xe0070000 0x28>;
49        interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
50        clocks = <&iic0_sclk>;
51        clock-names = "sclk";
52        #address-cells = <1>;
53        #size-cells = <0>;
54    };
55