]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: tegra: Add ACTMON node to Tegra114 device tree
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 26 Jan 2026 19:15:32 +0000 (21:15 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2026 15:08:09 +0000 (16:08 +0100)
Add support for ACTMON on Tegra114. This is used to monitor activity from
different components. Based on the collected statistics, the rate at which
the external memory needs to be clocked can be derived.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/nvidia/tegra114.dtsi

index 16b71eb8facf62d5cf07ccd343ed52c657c46e1a..6ba69df8bce8dba0b569cbbf4838b37d3c28edf5 100644 (file)
                reg = <0x6000c000 0x150>;
        };
 
+       actmon: actmon@6000c800 {
+               compatible = "nvidia,tegra114-actmon";
+               reg = <0x6000c800 0x400>;
+               interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&tegra_car TEGRA114_CLK_ACTMON>,
+                        <&tegra_car TEGRA114_CLK_EMC>;
+               clock-names = "actmon", "emc";
+               resets = <&tegra_car TEGRA114_CLK_ACTMON>;
+               reset-names = "actmon";
+               #cooling-cells = <2>;
+       };
+
        gpio: gpio@6000d000 {
                compatible = "nvidia,tegra114-gpio", "nvidia,tegra30-gpio";
                reg = <0x6000d000 0x1000>;