xref: /linux/Documentation/devicetree/bindings/i2c/lsi,api2c.yaml (revision abea5c349368a683e40fdc2e745099aaaacc89d7)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/lsi,api2c.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LSI Axxia I2C Controller
8
9maintainers:
10  - Anders Berg <anders.berg@lsi.com>
11  - Chaitanya Sabnis <chaitanya.msabnis@gmail.com>
12
13allOf:
14  - $ref: /schemas/i2c/i2c-controller.yaml#
15
16properties:
17  compatible:
18    const: lsi,api2c
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  clock-names:
30    const: i2c
31
32required:
33  - compatible
34  - reg
35  - interrupts
36  - clocks
37  - clock-names
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    i2c@10084000 {
44        compatible = "lsi,api2c";
45        reg = <0x10084000 0x1000>;
46        interrupts = <0 19 4>;
47        clocks = <&clk_per>;
48        clock-names = "i2c";
49        clock-frequency = <400000>;
50        #address-cells = <1>;
51        #size-cells = <0>;
52    };
53