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
40examples:
41  - |
42    i2c0: i2c@58780000 {
43        compatible = "socionext,uniphier-fi2c";
44        reg = <0x58780000 0x80>;
45        #address-cells = <1>;
46        #size-cells = <0>;
47        interrupts = <0 41 4>;
48        clocks = <&i2c_clk>;
49        clock-frequency = <100000>;
50    };
51