mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
nv-platform: restructure tegra234-p3701-0008.dtsi
Most of the entries in tegra234-p3701-0000.dtsi and
tegra234-p3701-0008.dtsi are same, thus include tegra234-p3701-0000.dtsi
in tegra234-p3701-0008.dtsi and handle the different blocks in
tegra234-p3701-0008.dtsi.
Bug 4378720
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I4dc68d3f25651f9213f8b42f9e66000071c9234c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016679
(cherry picked from commit b3d85c9765)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017147
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1195e0fc52
commit
30435e1bdc
@@ -1,118 +1,12 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
|
#include "tegra234-p3701-0000.dtsi"
|
||||||
|
|
||||||
|
#define TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP 112000
|
||||||
|
#define TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP 117500
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
bus@0 {
|
|
||||||
i2c@c240000 {
|
|
||||||
ina3221@40 {
|
|
||||||
compatible = "ti,ina3221";
|
|
||||||
reg = <0x40>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
channel@0 {
|
|
||||||
reg = <0x0>;
|
|
||||||
label = "VDD_GPU_SOC";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
channel@1 {
|
|
||||||
reg = <0x1>;
|
|
||||||
label = "VDD_CPU_CV";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
channel@2 {
|
|
||||||
reg = <0x2>;
|
|
||||||
label = "VIN_SYS_5V0";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
ti,summation-disable;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ina3221@41 {
|
|
||||||
compatible = "ti,ina3221";
|
|
||||||
reg = <0x41>;
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
channel@0 {
|
|
||||||
reg = <0x0>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
channel@1 {
|
|
||||||
reg = <0x1>;
|
|
||||||
label = "VDDQ_VDD2_1V8AO";
|
|
||||||
shunt-resistor-micro-ohms = <2000>;
|
|
||||||
};
|
|
||||||
channel@2 {
|
|
||||||
reg = <0x2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
spi@3270000 {
|
|
||||||
flash@0 {
|
|
||||||
spi-max-frequency = <51000000>;
|
|
||||||
spi-tx-bus-width = <1>;
|
|
||||||
spi-rx-bus-width = <1>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nvrng@3ae0000 {
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
gpu@17000000 {
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
|
|
||||||
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";
|
|
||||||
};
|
|
||||||
|
|
||||||
tegra_tmp451: thermal-sensor@4c {
|
|
||||||
compatible = "ti,tmp451";
|
|
||||||
reg = <0x4c>;
|
|
||||||
vcc-supply = <&vdd_1v8_ao>;
|
|
||||||
#thermal-sensor-cells = <1>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
eeprom-manager {
|
|
||||||
bus@0 {
|
|
||||||
i2c-bus = <&gen1_i2c>;
|
|
||||||
eeprom@0 {
|
|
||||||
slave-address = <0x50>;
|
|
||||||
label = "cvm";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
opp-table-cluster0 {
|
opp-table-cluster0 {
|
||||||
opp-1971200000 {
|
opp-1971200000 {
|
||||||
opp-hz = /bits/ 64 <1971200000>;
|
opp-hz = /bits/ 64 <1971200000>;
|
||||||
@@ -153,11 +47,11 @@
|
|||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
trips {
|
trips {
|
||||||
cpu-sw-slowdown {
|
cpu-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpu-sw-shutdown {
|
cpu-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -165,11 +59,11 @@
|
|||||||
cv0-thermal {
|
cv0-thermal {
|
||||||
trips {
|
trips {
|
||||||
cv0-sw-slowdown {
|
cv0-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv0-sw-shutdown {
|
cv0-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -177,11 +71,11 @@
|
|||||||
cv1-thermal {
|
cv1-thermal {
|
||||||
trips {
|
trips {
|
||||||
cv1-sw-slowdown {
|
cv1-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv1-sw-shutdown {
|
cv1-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -189,11 +83,11 @@
|
|||||||
cv2-thermal {
|
cv2-thermal {
|
||||||
trips {
|
trips {
|
||||||
cv2-sw-slowdown {
|
cv2-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cv2-sw-shutdown {
|
cv2-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -201,11 +95,11 @@
|
|||||||
gpu-thermal {
|
gpu-thermal {
|
||||||
trips {
|
trips {
|
||||||
gpu-sw-slowdown {
|
gpu-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu-sw-shutdown {
|
gpu-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -213,11 +107,11 @@
|
|||||||
soc0-thermal {
|
soc0-thermal {
|
||||||
trips {
|
trips {
|
||||||
soc0-sw-slowdown {
|
soc0-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc0-sw-shutdown {
|
soc0-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -225,11 +119,11 @@
|
|||||||
soc1-thermal {
|
soc1-thermal {
|
||||||
trips {
|
trips {
|
||||||
soc1-sw-slowdown {
|
soc1-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc1-sw-shutdown {
|
soc1-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -237,11 +131,11 @@
|
|||||||
soc2-thermal {
|
soc2-thermal {
|
||||||
trips {
|
trips {
|
||||||
soc2-sw-slowdown {
|
soc2-sw-slowdown {
|
||||||
temperature = <112000>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
|
|
||||||
soc2-sw-shutdown {
|
soc2-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -249,23 +143,9 @@
|
|||||||
tj-thermal {
|
tj-thermal {
|
||||||
trips {
|
trips {
|
||||||
tj-sw-shutdown {
|
tj-sw-shutdown {
|
||||||
temperature = <117500>;
|
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
tboard-thermal {
|
|
||||||
polling-delay = <1000>;
|
|
||||||
polling-delay-passive = <1000>;
|
|
||||||
thermal-sensors = <&tegra_tmp451 0>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
tdiode-thermal {
|
|
||||||
polling-delay = <1000>;
|
|
||||||
polling-delay-passive = <1000>;
|
|
||||||
thermal-sensors = <&tegra_tmp451 1>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user