xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/socionext,uniphier-fi2c.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/i2c/socionext,uniphier-fi2c.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: UniPhier I2C controller (FIFO-builtin)
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Masahiro Yamada <yamada.masahiro@socionext.com>
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotallOf:
13*c66ec88fSEmmanuel Vadot  - $ref: /schemas/i2c/i2c-controller.yaml#
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotproperties:
16*c66ec88fSEmmanuel Vadot  compatible:
17*c66ec88fSEmmanuel Vadot    const: socionext,uniphier-fi2c
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot  reg:
20*c66ec88fSEmmanuel Vadot    maxItems: 1
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot  interrupts:
23*c66ec88fSEmmanuel Vadot    maxItems: 1
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot  clocks:
26*c66ec88fSEmmanuel Vadot    maxItems: 1
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot  clock-frequency:
29*c66ec88fSEmmanuel Vadot    minimum: 100000
30*c66ec88fSEmmanuel Vadot    maximum: 400000
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadotrequired:
33*c66ec88fSEmmanuel Vadot  - compatible
34*c66ec88fSEmmanuel Vadot  - reg
35*c66ec88fSEmmanuel Vadot  - "#address-cells"
36*c66ec88fSEmmanuel Vadot  - "#size-cells"
37*c66ec88fSEmmanuel Vadot  - interrupts
38*c66ec88fSEmmanuel Vadot  - clocks
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadotexamples:
41*c66ec88fSEmmanuel Vadot  - |
42*c66ec88fSEmmanuel Vadot    i2c0: i2c@58780000 {
43*c66ec88fSEmmanuel Vadot        compatible = "socionext,uniphier-fi2c";
44*c66ec88fSEmmanuel Vadot        reg = <0x58780000 0x80>;
45*c66ec88fSEmmanuel Vadot        #address-cells = <1>;
46*c66ec88fSEmmanuel Vadot        #size-cells = <0>;
47*c66ec88fSEmmanuel Vadot        interrupts = <0 41 4>;
48*c66ec88fSEmmanuel Vadot        clocks = <&i2c_clk>;
49*c66ec88fSEmmanuel Vadot        clock-frequency = <100000>;
50*c66ec88fSEmmanuel Vadot    };
51