[PATCH 5/7] ARM: dts: aspeed: mtmitchell: Add inlet temperature sensor

Chanh Nguyen chanh at os.amperecomputing.com
Thu Oct 5 14:55:23 AEDT 2023


Add the inlet temperature at address 0x48, which is connected
via BMC I2C8.

Signed-off-by: Chanh Nguyen <chanh at os.amperecomputing.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
index 88693c2b2dbe..c676172f0dbf 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
@@ -510,6 +510,11 @@
 &i2c8 {
 	status = "okay";
 
+	temperature-sensor at 48 {
+		compatible = "ti,tmp112";
+		reg = <0x48>;
+	};
+
 	gpio at 77 {
 		compatible = "nxp,pca9539";
 		reg = <0x77>;
-- 
2.17.1



More information about the openbmc mailing list