1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale MXS Inter IC (I2C) Controller
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11
12allOf:
13  - $ref: /schemas/i2c/i2c-controller.yaml#
14
15properties:
16  compatible:
17    enum:
18      - fsl,imx23-i2c
19      - fsl,imx28-i2c
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  clock-frequency:
28    enum: [ 100000, 400000 ]
29
30  dmas:
31    maxItems: 1
32
33  dma-names:
34    const: rx-tx
35
36required:
37  - compatible
38  - reg
39  - interrupts
40  - dmas
41  - dma-names
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    i2c@80058000 {
48        compatible = "fsl,imx28-i2c";
49        reg = <0x80058000 2000>;
50        interrupts = <111>;
51        clock-frequency = <100000>;
52        dmas = <&dma_apbx 6>;
53        dma-names = "rx-tx";
54    };
55