Nuvoton NPCM Memory Controller

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

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

Maintainers (maintainers): "Marvin Lin <kflin@nuvoton.com>", "Stanley Chu <yschu@nuvoton.com>"

The Nuvoton BMC SoC supports DDR4 memory with or without ECC (error correction check).

The memory controller supports single bit error correction, double bit error detection (in-line ECC in which a section (1/8th) of the memory device used to store data is used for ECC storage).

Note, the bootloader must configure ECC mode for the memory controller.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nuvoton,npcm750-memory-controller", "nuvoton,npcm845-memory-controller"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

mc: memory-controller@f0824000 {
    compatible = "nuvoton,npcm750-memory-controller";
    reg = <0xf0824000 0x1000>;
    interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page