Freescale DDR memory controller

Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/fsl/fsl,ddr.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Borislav Petkov <bp@alien8.de>", "York Sun <york.sun@nxp.com>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^memory-controller@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,qoriq-memory-controller-v4.4", "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller-v4.7", "fsl,qoriq-memory-controller-v5.0"

Item 2

Exact value (const): "fsl,qoriq-memory-controller"

Rule 2

Allowed values (enum): "fsl,bsc9132-memory-controller", "fsl,mpc8536-memory-controller", "fsl,mpc8540-memory-controller", "fsl,mpc8541-memory-controller", "fsl,mpc8544-memory-controller", "fsl,mpc8548-memory-controller", "fsl,mpc8555-memory-controller", "fsl,mpc8560-memory-controller", "fsl,mpc8568-memory-controller", "fsl,mpc8569-memory-controller", "fsl,mpc8572-memory-controller", "fsl,mpc8349-memory-controller", "fsl,p1020-memory-controller", "fsl,p1021-memory-controller", "fsl,p2020-memory-controller", "fsl,qoriq-memory-controller", "nxp,imx9-memory-controller"

interrupts — required here #

Maximum number of items (maxItems): 1

little-endian — not listed as required here #

Specifies little-endian access to registers. If omitted, big-endian will be used.

Value type (type): "boolean"

reg — required here #

Array item rules (items) #

Item 1

Controller register space

Item 2

Inject register space

Minimum number of items (minItems): 1

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "ctrl"

Item 2

Exact value (const): "inject"

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "interrupts", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "nxp,imx9-memory-controller"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

reg-names — not listed as required here

Minimum number of items (minItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

reg-names — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

memory-controller@2000 {
    compatible = "fsl,bsc9132-memory-controller";
    reg = <0x2000 0x1000>;
    interrupts = <16 2 1 8>;
};
memory-controller@8000 {
    compatible = "fsl,qoriq-memory-controller-v4.7",
                 "fsl,qoriq-memory-controller";
    reg = <0x8000 0x1000>;
    interrupts = <16 2 1 23>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page