arm64: tegra: Add power monitors on P2771
authorThierry Reding <treding@nvidia.com>
Thu, 23 Feb 2017 17:30:52 +0000 (18:30 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Mar 2017 16:37:38 +0000 (17:37 +0100)
The P2771 development board comes with two power monitors that can be
used to determine power consumption in different parts of the board.

Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts

index 9a1d022..78442ea 100644 (file)
@@ -8,6 +8,18 @@
        model = "NVIDIA Tegra186 P2771-0000 Development Board";
        compatible = "nvidia,p2771-0000", "nvidia,tegra186";
 
+       i2c@3160000 {
+               power-monitor@42 {
+                       compatible = "ti,ina3221";
+                       reg = <0x42>;
+               };
+
+               power-monitor@43 {
+                       compatible = "ti,ina3221";
+                       reg = <0x43>;
+               };
+       };
+
        /* SDMMC1 (SD/MMC) */
        sdhci@3400000 {
                status = "okay";