[PATCH] arm64: dts: ti: k3-am625-sk: Add power/temperature sensors

Sascha Hauer s.hauer at pengutronix.de
Mon May 5 06:24:24 PDT 2025


The AM625-SK has six power sensors and two temperature sensors connected
to I2C. Add them to the device tree.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
The AM625-SK has six power sensors and two temperature sensors connected
to I2C. Add them to the device tree.
---
 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 68 ++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 2fbfa371934575efc4e9118a705f062bdea55f4f..e900d3134c72dc2616e3820b273d84b0db64bed5 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -193,6 +193,74 @@ exp1: gpio at 22 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&main_gpio1_ioexp_intr_pins_default>;
 	};
+
+	power-sensor at 40 {
+		compatible = "ti,ina231";
+		reg = <0x40>;
+		#io-channel-cells = <1>;
+		label = "vdd_core";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	power-sensor at 41 {
+		compatible = "ti,ina231";
+		reg = <0x41>;
+		#io-channel-cells = <1>;
+		label = "vddr_core";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	power-sensor at 45 {
+		compatible = "ti,ina231";
+		reg = <0x45>;
+		#io-channel-cells = <1>;
+		label = "dvdd_1v8";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	power-sensor at 47 {
+		compatible = "ti,ina231";
+		reg = <0x47>;
+		#io-channel-cells = <1>;
+		label = "vdd_ddr";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	temperature-sensor at 48 {
+		compatible = "ti,tmp100";
+		reg = <0x48>;
+		label = "soc";
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	temperature-sensor at 49 {
+		compatible = "ti,tmp100";
+		reg = <0x49>;
+		label = "ddr";
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	power-sensor at 4c {
+		compatible = "ti,ina231";
+		reg = <0x4c>;
+		#io-channel-cells = <1>;
+		label = "dvdd_3v3";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
+
+	power-sensor at 4d {
+		compatible = "ti,ina231";
+		reg = <0x4d>;
+		#io-channel-cells = <1>;
+		label = "vdda_1v8";
+		shunt-resistor = <10000>;
+		vs-supply = <&vcc_3v3_sys>;
+	};
 };
 
 &sdhci1 {

---
base-commit: 92a09c47464d040866cf2b4cd052bc60555185fb
change-id: 20250505-am625-sk-sensors-bb255e2baa47

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the linux-arm-kernel mailing list