NVIDIA Tegra210 SoC External Memory Controller

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

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"

The EMC interfaces with the off-chip SDRAM to service the request stream sent from the memory controller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nvidia,tegra210-emc"

reg — required here #

Maximum number of items (maxItems): 3

clocks — required here #

Array item rules (items) #

Item 1

external memory clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "emc"

interrupts — not listed as required here #

Array item rules (items) #

Item 1

EMC general interrupt

#interconnect-cells — not listed as required here #

Exact value (const): 0

memory-region — not listed as required here #

Maximum number of items (maxItems): 1

phandle to a reserved memory region describing the table of EMC frequencies trained by the firmware

nvidia,memory-controller — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of the memory controller node

operating-points-v2 — not listed as required here #

Should contain freqs and voltages and opp-supported-hw property, which is a bitfield indicating SoC speedo ID mask.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "nvidia,memory-controller"

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

false

Not allowed by this rule.

Examples (examples) #

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

reserved-memory {
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    emc_table: emc-table@83400000 {
        compatible = "nvidia,tegra210-emc-table";
        reg = <0x83400000 0x10000>;
    };
};

external-memory-controller@7001b000 {
    compatible = "nvidia,tegra210-emc";
    reg = <0x7001b000 0x1000>,
          <0x7001e000 0x1000>,
          <0x7001f000 0x1000>;
    clocks = <&tegra_car TEGRA210_CLK_EMC>;
    clock-names = "emc";
    interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
    memory-region = <&emc_table>;
    nvidia,memory-controller = <&mc>;
    operating-points-v2 = <&dvfs_opp_table>;

    #interconnect-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page