Powermon configuration file for INA3221 on TX2

For a custom TX2 carrier board I need to change the shunt resistor values for the INA3221.

According to documentation and nomenclature (tegra186 = quill = TX2) I should be editing the file
tegra186-quill-p3310-1000-a00-powermon.dtsi in ./64_TX2/Linux_for_Tegra_tx2/sources/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/
(P3310 not being a match - though)

But looking at I2C addresses and used resistor values in P2597_B04_Concept_schematics.pdf (version B04) the only file that fits is
jetson-platforms/tegra210-jetson-cv-powermon-p2597.dtsi in ./64_TX2/Linux_for_Tegra_tx2/sources/hardware/nvidia/platform/t210/jetson/kernel-dts/

P2597 is a match with the TX1/TX2 carrier board but tegra210 is the NVIDIA Shield, correct?
Please clarify which file is the correct one.

Jetpack 3.1
source_sync.sh with tag tegra-l4t-r28.1

To clarify:
P2771 Jetson TX2 Developer Kit (combined module and carrier board)
P2597 Carrier board
P3310 Jetson TX2 Module

so P3310 is sort of a match even, if being pedantic, the power monitor is located on the carrier board (P2597).

Tegra210 SoC that is on TX1 SOM
Tegra186 SoC that is on TX2 SOM

Why is tegra210 in the Linux_for_Tegra_tx2 folder?

hello tfrh,

could you point out which variable you would like to configure?

Hi Jerry

Changes necessary for custom board are the ti,shunt-resistor-mohm values. Also we didn’t implement the second voltage monitor (ina3221x@43) so I changed the status to “disabled”.


hello tfrh,

had you refer to [Jetson TX1-TX2 Voltage and Current Monitor Configuration] already?
you’re able to download it via https://developer.nvidia.com/embedded/dlc/jetson-tx1-tx2-voltage-current-config

The file mentioned for TX2


has no reference to the carrier board in its file name. Given that the power monitors are physically located on the carrier board I wonder how this is accommodated for.

Looking into it the following entries do not match to a P2597 and P3310 combination:
I2C bus address is set to 7h’42/43 on carrier board -> dtsi contains 7’h40/41 (ina3221x_40: ina3221x@40 {)
Rail names do not match up: Carrier VDD_MUX -> dtsi VDD_SYS_GPU (none of the six rails match up)
Resistor values do not match up: Carrier 20,5,10 and 10,10,10 mOhm -> dtsi defines 5,5,10 and 1,5,5 mOhm

As stated in the initial post, the only file that matches the P2597 setup is tegra210-jetson-cv-powermon-p2597.dtsi

How do I make sure that the correct file with the correct values gets compiled into our device tree?

I found another file with matching power monitor configuration. It just does not state powermon in the file title but references P2597 and P3310:


Trying that now.