1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,ddr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale DDR memory controller
8
9maintainers:
10  - Borislav Petkov <bp@alien8.de>
11  - York Sun <york.sun@nxp.com>
12
13properties:
14  $nodename:
15    pattern: "^memory-controller@[0-9a-f]+$"
16
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - fsl,qoriq-memory-controller-v4.4
22              - fsl,qoriq-memory-controller-v4.5
23              - fsl,qoriq-memory-controller-v4.7
24              - fsl,qoriq-memory-controller-v5.0
25          - const: fsl,qoriq-memory-controller
26      - enum:
27          - fsl,bsc9132-memory-controller
28          - fsl,mpc8536-memory-controller
29          - fsl,mpc8540-memory-controller
30          - fsl,mpc8541-memory-controller
31          - fsl,mpc8544-memory-controller
32          - fsl,mpc8548-memory-controller
33          - fsl,mpc8555-memory-controller
34          - fsl,mpc8560-memory-controller
35          - fsl,mpc8568-memory-controller
36          - fsl,mpc8569-memory-controller
37          - fsl,mpc8572-memory-controller
38          - fsl,mpc8349-memory-controller
39          - fsl,p1020-memory-controller
40          - fsl,p1021-memory-controller
41          - fsl,p2020-memory-controller
42          - fsl,qoriq-memory-controller
43
44  interrupts:
45    maxItems: 1
46
47  little-endian:
48    description:
49      Specifies little-endian access to registers. If omitted, big-endian will
50      be used.
51    type: boolean
52
53  reg:
54    maxItems: 1
55
56required:
57  - compatible
58  - interrupts
59  - reg
60
61additionalProperties: false
62
63examples:
64  - |
65    memory-controller@2000 {
66        compatible = "fsl,bsc9132-memory-controller";
67        reg = <0x2000 0x1000>;
68        interrupts = <16 2 1 8>;
69    };
70
71  - |
72    memory-controller@8000 {
73        compatible = "fsl,qoriq-memory-controller-v4.7",
74                     "fsl,qoriq-memory-controller";
75        reg = <0x8000 0x1000>;
76        interrupts = <16 2 1 23>;
77    };
78