Path: blob/master/Documentation/devicetree/bindings/devfreq/nvidia,tegra30-actmon.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/devfreq/nvidia,tegra30-actmon.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: NVIDIA Tegra30 Activity Monitor78maintainers:9- Dmitry Osipenko <digetx@gmail.com>10- Jon Hunter <jonathanh@nvidia.com>11- Thierry Reding <thierry.reding@gmail.com>1213description: |14The activity monitor block collects statistics about the behaviour of other15components in the system. This information can be used to derive the rate at16which the external memory needs to be clocked in order to serve all requests17from the monitored clients.1819properties:20compatible:21enum:22- nvidia,tegra30-actmon23- nvidia,tegra114-actmon24- nvidia,tegra124-actmon25- nvidia,tegra210-actmon2627reg:28maxItems: 12930clocks:31maxItems: 23233clock-names:34items:35- const: actmon36- const: emc3738resets:39maxItems: 14041reset-names:42items:43- const: actmon4445interrupts:46maxItems: 14748interconnects:49minItems: 150maxItems: 125152interconnect-names:53minItems: 154maxItems: 1255description:56Should include name of the interconnect path for each interconnect57entry. Consult TRM documentation for information about available58memory clients, see MEMORY CONTROLLER and ACTIVITY MONITOR sections.5960operating-points-v2:61description:62Should contain freqs and voltages and opp-supported-hw property, which63is a bitfield indicating SoC speedo ID mask.6465"#cooling-cells":66const: 26768required:69- compatible70- reg71- clocks72- clock-names73- resets74- reset-names75- interrupts76- interconnects77- interconnect-names78- operating-points-v279- "#cooling-cells"8081additionalProperties: false8283examples:84- |85#include <dt-bindings/memory/tegra30-mc.h>8687mc: memory-controller@7000f000 {88compatible = "nvidia,tegra30-mc";89reg = <0x7000f000 0x400>;90clocks = <&clk 32>;91clock-names = "mc";9293interrupts = <0 77 4>;9495#iommu-cells = <1>;96#reset-cells = <1>;97#interconnect-cells = <1>;98};99100emc: external-memory-controller@7000f400 {101compatible = "nvidia,tegra30-emc";102reg = <0x7000f400 0x400>;103interrupts = <0 78 4>;104clocks = <&clk 57>;105106nvidia,memory-controller = <&mc>;107operating-points-v2 = <&dvfs_opp_table>;108power-domains = <&domain>;109110#interconnect-cells = <0>;111};112113actmon@6000c800 {114compatible = "nvidia,tegra30-actmon";115reg = <0x6000c800 0x400>;116interrupts = <0 45 4>;117clocks = <&clk 119>, <&clk 57>;118clock-names = "actmon", "emc";119resets = <&rst 119>;120reset-names = "actmon";121operating-points-v2 = <&dvfs_opp_table>;122interconnects = <&mc TEGRA30_MC_MPCORER &emc>;123interconnect-names = "cpu-read";124#cooling-cells = <2>;125};126127128