blob: 17c1102562be98e78d7a7853c30d7677872e73cd [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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 #address-cells = <1>;
48 #size-cells = <0>;
49 compatible = "renesas,iic-emev2";
50 reg = <0xe0070000 0x28>;
51 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
52 clocks = <&iic0_sclk>;
53 clock-names = "sclk";
54 };