xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/socionext,uniphier-fi2c.yaml (revision 19fae0f66023a97a9b464b3beeeabb2081f575b3)
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
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@58780000 {
48        compatible = "socionext,uniphier-fi2c";
49        reg = <0x58780000 0x80>;
50        #address-cells = <1>;
51        #size-cells = <0>;
52        interrupts = <0 41 4>;
53        clocks = <&i2c_clk>;
54        clock-frequency = <100000>;
55    };
56