xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-mxs.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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/i2c-mxs.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Freescale MXS Inter IC (I2C) Controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Shawn Guo <shawnguo@kernel.org>
11c66ec88fSEmmanuel Vadot
12*aa1a8ff2SEmmanuel VadotallOf:
13*aa1a8ff2SEmmanuel Vadot  - $ref: /schemas/i2c/i2c-controller.yaml#
14*aa1a8ff2SEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    enum:
18c66ec88fSEmmanuel Vadot      - fsl,imx23-i2c
19c66ec88fSEmmanuel Vadot      - fsl,imx28-i2c
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  reg:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  interrupts:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clock-frequency:
28c66ec88fSEmmanuel Vadot    enum: [ 100000, 400000 ]
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot  dmas:
31c66ec88fSEmmanuel Vadot    maxItems: 1
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot  dma-names:
34c66ec88fSEmmanuel Vadot    const: rx-tx
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadotrequired:
37c66ec88fSEmmanuel Vadot  - compatible
38c66ec88fSEmmanuel Vadot  - reg
39c66ec88fSEmmanuel Vadot  - interrupts
40c66ec88fSEmmanuel Vadot  - dmas
41c66ec88fSEmmanuel Vadot  - dma-names
42c66ec88fSEmmanuel Vadot
43*aa1a8ff2SEmmanuel VadotunevaluatedProperties: false
44c66ec88fSEmmanuel Vadot
45c66ec88fSEmmanuel Vadotexamples:
46c66ec88fSEmmanuel Vadot  - |
47c66ec88fSEmmanuel Vadot    i2c@80058000 {
48c66ec88fSEmmanuel Vadot        compatible = "fsl,imx28-i2c";
49c66ec88fSEmmanuel Vadot        reg = <0x80058000 2000>;
50c66ec88fSEmmanuel Vadot        interrupts = <111>;
51c66ec88fSEmmanuel Vadot        clock-frequency = <100000>;
52c66ec88fSEmmanuel Vadot        dmas = <&dma_apbx 6>;
53c66ec88fSEmmanuel Vadot        dma-names = "rx-tx";
54c66ec88fSEmmanuel Vadot    };
55