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/memory-controllers/fsl/mmdc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale Multi Mode DDR controller (MMDC)
0008 
0009 maintainers:
0010   - Anson Huang <Anson.Huang@nxp.com>
0011 
0012 properties:
0013   compatible:
0014     oneOf:
0015       - const: fsl,imx6q-mmdc
0016       - items:
0017           - enum:
0018               - fsl,imx6qp-mmdc
0019               - fsl,imx6sl-mmdc
0020               - fsl,imx6sll-mmdc
0021               - fsl,imx6sx-mmdc
0022               - fsl,imx6ul-mmdc
0023               - fsl,imx7ulp-mmdc
0024           - const: fsl,imx6q-mmdc
0025 
0026   reg:
0027     maxItems: 1
0028 
0029   clocks:
0030     maxItems: 1
0031 
0032 required:
0033   - compatible
0034   - reg
0035 
0036 additionalProperties: false
0037 
0038 examples:
0039   - |
0040     #include <dt-bindings/clock/imx6qdl-clock.h>
0041 
0042     memory-controller@21b0000 {
0043         compatible = "fsl,imx6q-mmdc";
0044         reg = <0x021b0000 0x4000>;
0045         clocks = <&clks IMX6QDL_CLK_MMDC_P0_IPG>;
0046     };
0047 
0048     memory-controller@21b4000 {
0049         compatible = "fsl,imx6q-mmdc";
0050         reg = <0x021b4000 0x4000>;
0051     };