arm64: tegra: Add power-sensors for Tegra234 boards
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / nvidia / tegra234-p3701.dtsi
index 5e7797d..db6ef71 100644 (file)
                                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";
+                               };
+                       };
+               };
        };
 };