mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
Populate the ina219 and ina3221 power-sensors for the various Tegra234
boards. These sensors are located on the Tegra234 module boards and the
configuration of some sensors is common across the different Tegra234
modules. Therefore, add any common sensor configurations to appropriate
device tree source file so it can be re-used across modules.
Bug 4707773
Change-Id: I3a1244497a27f6ecb2364bcb9112522a22dbae60
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3036335
(cherry picked from commit 9d60e5aaa8)
Signed-off-by: Vedant Deshpande <vedantd@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3172825
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
102 lines
1.5 KiB
Devicetree
102 lines
1.5 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/ {
|
|
compatible = "nvidia,p3701", "nvidia,tegra234";
|
|
|
|
aliases {
|
|
mmc0 = "/bus@0/mmc@3460000";
|
|
mmc1 = "/bus@0/mmc@3400000";
|
|
};
|
|
|
|
bus@0 {
|
|
aconnect@2900000 {
|
|
status = "okay";
|
|
|
|
ahub@2900800 {
|
|
status = "okay";
|
|
|
|
i2s@2901000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2s@2901100 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2s@2901300 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2s@2901500 {
|
|
status = "okay";
|
|
};
|
|
|
|
dmic@2904200 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
dma-controller@2930000 {
|
|
status = "okay";
|
|
};
|
|
|
|
interrupt-controller@2a40000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
i2c@c240000 {
|
|
status = "okay";
|
|
|
|
power-sensor@40 {
|
|
compatible = "ti,ina3221";
|
|
reg = <0x40>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
input@0 {
|
|
reg = <0x0>;
|
|
label = "VDD_GPU_SOC";
|
|
shunt-resistor-micro-ohms = <2000>;
|
|
};
|
|
|
|
input@1 {
|
|
reg = <0x1>;
|
|
label = "VDD_CPU_CV";
|
|
shunt-resistor-micro-ohms = <2000>;
|
|
};
|
|
|
|
input@2 {
|
|
reg = <0x2>;
|
|
label = "VIN_SYS_5V0";
|
|
shunt-resistor-micro-ohms = <2000>;
|
|
ti,summation-disable;
|
|
};
|
|
};
|
|
|
|
power-sensor@41 {
|
|
compatible = "ti,ina3221";
|
|
reg = <0x41>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
input@0 {
|
|
reg = <0x0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
input@1 {
|
|
reg = <0x1>;
|
|
label = "VDDQ_VDD2_1V8AO";
|
|
shunt-resistor-micro-ohms = <2000>;
|
|
};
|
|
|
|
input@2 {
|
|
reg = <0x2>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|