]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: aspeed: harma: Add temperature device
authorPeter Yin <peteryin.openbmc@gmail.com>
Thu, 1 Aug 2024 16:01:32 +0000 (00:01 +0800)
committerJoel Stanley <joel@jms.id.au>
Thu, 22 Aug 2024 03:39:43 +0000 (13:09 +0930)
Add temperature device in i2c0 and i2c2.

Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Link: https://lore.kernel.org/r/20240801160136.1281291-9-peteryin.openbmc@gmail.com
[andrew: Fixed 'deivce' typo in commit message]
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts

index f55ffe9c4d8934522c5caff2403d59d4463899aa..0455475fbcffd2bdad6efe83fa908d92cde05794 100644 (file)
                reg = <0x45>;
                shunt-resistor = <1000>;
        };
+
+       temperature-sensor@4b {
+               compatible = "ti,tmp75";
+               reg = <0x4b>;
+       };
 };
 
 &i2c1 {
                reg = <0x45>;
                shunt-resistor = <1000>;
        };
+
+       temperature-sensor@4b {
+               compatible = "ti,tmp75";
+               reg = <0x4b>;
+       };
 };
 
 &i2c3 {