mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 17:30:17 +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 Reviewed-by: Brad Griffis <bgriffis@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c194f14a21
commit
b3d85c9765
@@ -1,110 +1,12 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// 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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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-1971200000 {
|
||||
opp-hz = /bits/ 64 <1971200000>;
|
||||
@@ -145,11 +47,11 @@
|
||||
cpu-thermal {
|
||||
trips {
|
||||
cpu-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
cpu-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -157,11 +59,11 @@
|
||||
cv0-thermal {
|
||||
trips {
|
||||
cv0-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
cv0-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -169,11 +71,11 @@
|
||||
cv1-thermal {
|
||||
trips {
|
||||
cv1-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
cv1-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -181,11 +83,11 @@
|
||||
cv2-thermal {
|
||||
trips {
|
||||
cv2-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
cv2-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -193,11 +95,11 @@
|
||||
gpu-thermal {
|
||||
trips {
|
||||
gpu-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
gpu-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -205,11 +107,11 @@
|
||||
soc0-thermal {
|
||||
trips {
|
||||
soc0-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
soc0-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -217,11 +119,11 @@
|
||||
soc1-thermal {
|
||||
trips {
|
||||
soc1-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
soc1-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -229,11 +131,11 @@
|
||||
soc2-thermal {
|
||||
trips {
|
||||
soc2-sw-slowdown {
|
||||
temperature = <112000>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SLOWDOWN_TEMP>;
|
||||
};
|
||||
|
||||
soc2-sw-shutdown {
|
||||
temperature = <117500>;
|
||||
temperature = <TEGRA234_INDUSTRIAL_THERMAL_SHUTDOWN_TEMP>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -241,23 +143,9 @@
|
||||
tj-thermal {
|
||||
trips {
|
||||
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