Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 - nxp,imx9-memory-controller
44
45 interrupts:
46 maxItems: 1
47
48 little-endian:
49 description:
50 Specifies little-endian access to registers. If omitted, big-endian will
51 be used.
52 type: boolean
53
54 reg:
55 items:
56 - description: Controller register space
57 - description: Inject register space
58 minItems: 1
59
60 reg-names:
61 items:
62 - const: ctrl
63 - const: inject
64 minItems: 1
65
66required:
67 - compatible
68 - interrupts
69 - reg
70
71allOf:
72 - if:
73 properties:
74 compatible:
75 contains:
76 enum:
77 - nxp,imx9-memory-controller
78 then:
79 properties:
80 reg:
81 minItems: 2
82 reg-names:
83 minItems: 2
84 else:
85 properties:
86 reg:
87 maxItems: 1
88 reg-names: false
89
90additionalProperties: false
91
92examples:
93 - |
94 memory-controller@2000 {
95 compatible = "fsl,bsc9132-memory-controller";
96 reg = <0x2000 0x1000>;
97 interrupts = <16 2 1 8>;
98 };
99
100 - |
101 memory-controller@8000 {
102 compatible = "fsl,qoriq-memory-controller-v4.7",
103 "fsl,qoriq-memory-controller";
104 reg = <0x8000 0x1000>;
105 interrupts = <16 2 1 23>;
106 };