Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale MXS Inter IC (I2C) Controller
0008 
0009 maintainers:
0010   - Shawn Guo <shawnguo@kernel.org>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - fsl,imx23-i2c
0016       - fsl,imx28-i2c
0017 
0018   reg:
0019     maxItems: 1
0020 
0021   interrupts:
0022     maxItems: 1
0023 
0024   clock-frequency:
0025     enum: [ 100000, 400000 ]
0026 
0027   dmas:
0028     maxItems: 1
0029 
0030   dma-names:
0031     const: rx-tx
0032 
0033 required:
0034   - compatible
0035   - reg
0036   - interrupts
0037   - dmas
0038   - dma-names
0039 
0040 additionalProperties: false
0041 
0042 examples:
0043   - |
0044     i2c@80058000 {
0045         compatible = "fsl,imx28-i2c";
0046         reg = <0x80058000 2000>;
0047         interrupts = <111>;
0048         clock-frequency = <100000>;
0049         dmas = <&dma_apbx 6>;
0050         dma-names = "rx-tx";
0051     };