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