Commit 32ecead6 authored by Jon Hunter's avatar Jon Hunter Committed by Thierry Reding

arm64: tegra: Add current monitors for Jetson Xavier

Add the INA3221 current monitors that are present on the Jetson AGX
Xavier and Jetson Xavier NX boards.
Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 81695da6
......@@ -53,6 +53,56 @@ memory-controller@2c00000 {
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 = "GPU";
shunt-resistor-micro-ohms = <5000>;
};
input@1 {
reg = <0x1>;
label = "CPU";
shunt-resistor-micro-ohms = <5000>;
};
input@2 {
reg = <0x2>;
label = "SOC";
shunt-resistor-micro-ohms = <5000>;
};
};
power-sensor@41 {
compatible = "ti,ina3221";
reg = <0x41>;
#address-cells = <1>;
#size-cells = <0>;
input@0 {
reg = <0x0>;
label = "CV";
shunt-resistor-micro-ohms = <5000>;
};
input@1 {
reg = <0x1>;
label = "VDDRQ";
shunt-resistor-micro-ohms = <5000>;
};
input@2 {
reg = <0x2>;
label = "SYS5V";
shunt-resistor-micro-ohms = <5000>;
};
};
};
serial@3110000 {
status = "okay";
};
......
......@@ -50,6 +50,33 @@ memory-controller@2c00000 {
status = "okay";
};
i2c@c250000 {
status = "okay";
power-sensor@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
input@0 {
reg = <0x0>;
label = "VDD_IN";
shunt-resistor-micro-ohms = <5000>;
};
input@1 {
reg = <0x1>;
label = "VDD_CPU_GPU_CV";
shunt-resistor-micro-ohms = <5000>;
};
input@2 {
reg = <0x2>;
label = "VDD_SOC";
shunt-resistor-micro-ohms = <5000>;
};
};
};
serial@3100000 {
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment