arm64: tegra: Correct location of power-sensors for IGX Orin
authorJon Hunter <jonathanh@nvidia.com>
Fri, 12 Jul 2024 13:20:20 +0000 (14:20 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 27 Aug 2024 14:28:05 +0000 (16:28 +0200)
The power-sensors are located on the carrier board and not the
module board and so update the IGX Orin device-tree files to fix this.

Fixes: 9152ed09309d ("arm64: tegra: Add power-sensors for Tegra234 boards")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi

index 553fa4ba1cd48a99dbf7c4a497608663ed527d19..62c4fdad0b600bd6e71ecbf2e42bf8c1a510b25c 100644 (file)
                        status = "okay";
                };
 
-               i2c@c250000 {
-                       power-sensor@41 {
-                               compatible = "ti,ina3221";
-                               reg = <0x41>;
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               input@0 {
-                                       reg = <0x0>;
-                                       label = "CVB_ATX_12V";
-                                       shunt-resistor-micro-ohms = <2000>;
-                               };
-
-                               input@1 {
-                                       reg = <0x1>;
-                                       label = "CVB_ATX_3V3";
-                                       shunt-resistor-micro-ohms = <2000>;
-                               };
-
-                               input@2 {
-                                       reg = <0x2>;
-                                       label = "CVB_ATX_5V";
-                                       shunt-resistor-micro-ohms = <2000>;
-                               };
-                       };
-
-                       power-sensor@44 {
-                               compatible = "ti,ina219";
-                               reg = <0x44>;
-                               shunt-resistor = <2000>;
-                       };
-               };
-
                rtc@c2a0000 {
                        status = "okay";
                };
index 527f2f3aee3ad475d1d4d4d612d0985696c694da..377f518bd3e57b83fa3310fa40adbf4fe83659ec 100644 (file)
                        phy-names = "usb2-0", "usb2-1", "usb2-2", "usb2-3",
                                "usb3-0", "usb3-1", "usb3-2";
                };
+
+               i2c@c250000 {
+                       power-sensor@41 {
+                               compatible = "ti,ina3221";
+                               reg = <0x41>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               input@0 {
+                                       reg = <0x0>;
+                                       label = "CVB_ATX_12V";
+                                       shunt-resistor-micro-ohms = <2000>;
+                               };
+
+                               input@1 {
+                                       reg = <0x1>;
+                                       label = "CVB_ATX_3V3";
+                                       shunt-resistor-micro-ohms = <2000>;
+                               };
+
+                               input@2 {
+                                       reg = <0x2>;
+                                       label = "CVB_ATX_5V";
+                                       shunt-resistor-micro-ohms = <2000>;
+                               };
+                       };
+
+                       power-sensor@44 {
+                               compatible = "ti,ina219";
+                               reg = <0x44>;
+                               shunt-resistor = <2000>;
+                       };
+               };
        };
 
        vdd_3v3_dp: regulator-vdd-3v3-dp {