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-fi2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier I2C controller (FIFO-builtin)
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-fi2c
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
32required:
33  - compatible
34  - reg
35  - "#address-cells"
36  - "#size-cells"
37  - interrupts
38  - clocks
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    i2c0: i2c@58780000 {
45        compatible = "socionext,uniphier-fi2c";
46        reg = <0x58780000 0x80>;
47        #address-cells = <1>;
48        #size-cells = <0>;
49        interrupts = <0 41 4>;
50        clocks = <&i2c_clk>;
51        clock-frequency = <100000>;
52    };
53