[PATCH v2 08/10] ARM: dts: aspeed: Harma: add temperature device
Peter Yin
peteryin.openbmc at gmail.com
Thu Jun 27 17:00:10 AEST 2024
Add temperature deivce in i2c0 and i2c2
Signed-off-by: Peter Yin <peteryin.openbmc at gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
index f55ffe9c4d89..0455475fbcff 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
@@ -221,6 +221,11 @@ power-sensor at 45 {
reg = <0x45>;
shunt-resistor = <1000>;
};
+
+ temperature-sensor at 4b {
+ compatible = "ti,tmp75";
+ reg = <0x4b>;
+ };
};
&i2c1 {
@@ -271,6 +276,11 @@ power-sensor at 45 {
reg = <0x45>;
shunt-resistor = <1000>;
};
+
+ temperature-sensor at 4b {
+ compatible = "ti,tmp75";
+ reg = <0x4b>;
+ };
};
&i2c3 {
--
2.25.1
More information about the Linux-aspeed
mailing list