NVIDIA Tegra30 Activity Monitor

Schema identifier ($id): "http://devicetree.org/schemas/devfreq/nvidia,tegra30-actmon.yaml#"

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

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

The activity monitor block collects statistics about the behaviour of other components in the system. This information can be used to derive the rate at which the external memory needs to be clocked in order to serve all requests from the monitored clients.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra30-actmon", "nvidia,tegra114-actmon", "nvidia,tegra124-actmon"

Rule 2

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "nvidia,tegra124-actmon"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "actmon"

Item 2

Exact value (const): "emc"

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "actmon"

interrupts — required here #

Maximum number of items (maxItems): 1

interconnects — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 12

interconnect-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 12

Should include name of the interconnect path for each interconnect entry. Consult TRM documentation for information about available memory clients, see MEMORY CONTROLLER and ACTIVITY MONITOR sections.

operating-points-v2 — required here #

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

#cooling-cells — required here #

Exact value (const): 2

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "interrupts", "interconnects", "interconnect-names", "operating-points-v2", "#cooling-cells"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/memory/tegra30-mc.h>

mc: memory-controller@7000f000 {
    compatible = "nvidia,tegra30-mc";
    reg = <0x7000f000 0x400>;
    clocks = <&clk 32>;
    clock-names = "mc";

    interrupts = <0 77 4>;

    #iommu-cells = <1>;
    #reset-cells = <1>;
    #interconnect-cells = <1>;
};

emc: external-memory-controller@7000f400 {
    compatible = "nvidia,tegra30-emc";
    reg = <0x7000f400 0x400>;
    interrupts = <0 78 4>;
    clocks = <&clk 57>;

    nvidia,memory-controller = <&mc>;
    operating-points-v2 = <&dvfs_opp_table>;
    power-domains = <&domain>;

    #interconnect-cells = <0>;
};

actmon@6000c800 {
    compatible = "nvidia,tegra30-actmon";
    reg = <0x6000c800 0x400>;
    interrupts = <0 45 4>;
    clocks = <&clk 119>, <&clk 57>;
    clock-names = "actmon", "emc";
    resets = <&rst 119>;
    reset-names = "actmon";
    operating-points-v2 = <&dvfs_opp_table>;
    interconnects = <&mc TEGRA30_MC_MPCORER &emc>;
    interconnect-names = "cpu-read";
    #cooling-cells = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page