arch: arm64: dts: INA3221 config
Anshul Jain [Mon, 26 Oct 2015 21:32:47 +0000 (14:32 -0700)]
Change INA3221 config for Darcy.
Rail 0: Not connected
Rail 1: HDMI and USB (VDD_IO)
Rail 2: System power

Change-Id: Ieb0bca5bad38f8c2261b45adec3da11989026ea9
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/825587
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

arch/arm64/boot/dts/tegra210-darcy-p2894-common.dtsi

index 268cfd9..4dfb727 100644 (file)
        serial@70006300 {
                dma-names = "tx";
        };
+
+       i2c@7000c400 {
+               ina3221x: ina3221x@40 {
+                       channel@0 {
+                               reg = <0x0>;
+                               ti,rail-name = "VDD_NOOP";
+                               ti,shunt-resistor-mohm = <5>;
+                       };
+                       channel@1 {
+                               reg = <0x1>;
+                               ti,rail-name = "VDD_IO";
+                               ti,shunt-resistor-mohm = <5>;
+                       };
+                       channel@2 {
+                               reg = <0x2>;
+                               ti,rail-name = "VDD_SYS";
+                               ti,shunt-resistor-mohm = <5>;
+                       };
+               };
+       };
 };