Files
t23x-public-dts/nv-platform/tegra234-p3701-0000.dtsi
Yi-Wei Wang ba17dd5afe nv-platform: Update thermal settings for tmp451
This change adds hot trip point temperatures for tmp451 sensors as per
//hw/ar/doc/t23x/sysarch/power/global_functions/thermal_management/
T234_Thermal_Settings.xlsx#31.

The polling interval is set to 0 since no periodic thermal management is
required from thermal framework.

Bug 4139424
Bug 4635474

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I6b9d9e77a34475e02cf1b4a63f4a35a1dd731b2e
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3143159
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-07-03 14:02:19 -07:00

111 lines
2.0 KiB
Devicetree

// SPDX-License-Identifier: GPL-2.0-only
// SPDX-FileCopyrightText: Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#include "tegra234-p3701-0000-prod-overlay.dtsi"
/ {
bus@0 {
spi@3270000 {
flash@0 {
spi-max-frequency = <51000000>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <1>;
};
};
nvrng@3ae0000 {
status = "okay";
};
};
bpmp {
i2c {
vrs@3c {
compatible = "nvidia,vrs-pseq";
reg = <0x3c>;
interrupt-parent = <&pmc>;
/* VRS Wake ID is 24 */
interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
status = "okay";
};
tegra_tmp451: thermal-sensor@4c {
compatible = "ti,tmp451";
reg = <0x4c>;
vcc-supply = <&vdd_1v8_ao>;
#thermal-sensor-cells = <1>;
status = "okay";
};
vrs11_1@20 {
compatible = "nvidia,vrs11";
reg = <0x20>;
rail-name-loopA = "GPU";
rail-name-loopB = "CPU";
};
vrs11_2@22 {
compatible = "nvidia,vrs11";
reg = <0x22>;
rail-name-loopA = "SOC";
rail-name-loopB = "CV";
};
};
};
thermal-zones {
tboard-thermal {
polling-delay = <0>;
polling-delay-passive = <0>;
thermal-sensors = <&tegra_tmp451 0>;
status = "okay";
trips {
tboard-hot {
temperature = <106000>;
hysteresis = <0>;
type = "hot";
};
};
};
tdiode-thermal {
polling-delay = <0>;
polling-delay-passive = <0>;
thermal-sensors = <&tegra_tmp451 1>;
status = "okay";
trips {
tdiode-hot {
temperature = <106000>;
hysteresis = <0>;
type = "hot";
};
};
};
};
eeprom-manager {
bus@0 {
i2c-bus = <&gen1_i2c>;
eeprom@0 {
slave-address = <0x50>;
label = "cvm";
};
};
};
reserved-memory {
linux,cma { /* Needed for nvgpu comptags */
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x10000000>; /* 256MB */
alignment = <0x0 0x10000>;
linux,cma-default;
status = "okay";
};
};
};