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,uniphier-i2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier I2C controller (FIFO-less)
8
9maintainers:
10  - Masahiro Yamada <yamada.masahiro@socionext.com>
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    const: socionext,uniphier-i2c
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-frequency:
29    minimum: 100000
30    maximum: 400000
31
32  resets:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - "#address-cells"
39  - "#size-cells"
40  - interrupts
41  - clocks
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    i2c0: i2c@58400000 {
48        compatible = "socionext,uniphier-i2c";
49        reg = <0x58400000 0x40>;
50        #address-cells = <1>;
51        #size-cells = <0>;
52        interrupts = <0 41 1>;
53        clocks = <&i2c_clk>;
54        clock-frequency = <100000>;
55    };
56