Files
t23x-public-dts/nv-soc/tegra234-soc-thermal-slowdown-corepair.dtsi
Brad Griffis 955b31bed3 nv-public: fix indentation for nv-dtb includes
As a final step in changing overlay fragments to includes
for nv dtb files, fix the indentation.

Bug 4290389

Change-Id: Ib7be8c925a33b5d30b93a8a8491ea8fe6419f2a4
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005704
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:07 -07:00

259 lines
6.2 KiB
Devicetree

// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include <dt-bindings/thermal/thermal.h>
#define TEGRA234_THERMAL_SLOWDOWN_TEMP 99000
/ {
bus@0 {
gpu@17000000 {
#cooling-cells = <2>;
};
};
cpus{
cpu@0 {
#cooling-cells = <2>;
};
cpu@200 {
#cooling-cells = <2>;
};
cpu@10000 {
#cooling-cells = <2>;
};
cpu@10200 {
#cooling-cells = <2>;
};
cpu@20000 {
#cooling-cells = <2>;
};
cpu@20200 {
#cooling-cells = <2>;
};
};
thermal-zones {
cpu-thermal {
trips {
cpu_sw_slowdown: cpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
gpu-thermal {
trips {
gpu_sw_slowdown: gpu-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&gpu_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv0-thermal {
trips {
cv0_sw_slowdown: cv0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv1-thermal {
trips {
cv1_sw_slowdown: cv1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
cv2-thermal {
trips {
cv2_sw_slowdown: cv2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&cv2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc0-thermal {
trips {
soc0_sw_slowdown: soc0-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc0_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc1-thermal {
trips {
soc1_sw_slowdown: soc1-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc1_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
soc2-thermal {
trips {
soc2_sw_slowdown: soc2-sw-slowdown {
temperature = <TEGRA234_THERMAL_SLOWDOWN_TEMP>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
map-cpufreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&cpu0_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu0_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu1_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
<&cpu2_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
map-devfreq {
trip = <&soc2_sw_slowdown>;
cooling-device = <&ga10b THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
};
};