xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-mxs.yaml (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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
12properties:
13  compatible:
14    enum:
15      - fsl,imx23-i2c
16      - fsl,imx28-i2c
17
18  reg:
19    maxItems: 1
20
21  interrupts:
22    maxItems: 1
23
24  clock-frequency:
25    enum: [ 100000, 400000 ]
26
27  dmas:
28    maxItems: 1
29
30  dma-names:
31    const: rx-tx
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - dmas
38  - dma-names
39
40additionalProperties: false
41
42examples:
43  - |
44    i2c@80058000 {
45        compatible = "fsl,imx28-i2c";
46        reg = <0x80058000 2000>;
47        interrupts = <111>;
48        clock-frequency = <100000>;
49        dmas = <&dma_apbx 6>;
50        dma-names = "rx-tx";
51    };
52