[PATCH 04/11] ARM: dts: aspeed: minerva: Enable power monitor device
Yang Chen
yangchen.openbmc at gmail.com
Mon Dec 11 23:51:53 PST 2023
Enable power monitor device ina230 and ltc2945 on the i2c bus 0
Signed-off-by: Yang Chen <yangchen.openbmc at gmail.com>
---
.../aspeed/aspeed-bmc-facebook-minerva.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
index ad77057f921c..ee9691647e4a 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts
@@ -86,6 +86,28 @@ &sgpiom0 {
&i2c0 {
status = "okay";
+
+ power-monitor at 40 {
+ compatible = "ti,ina230";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+ };
+
+ power-monitor at 41 {
+ compatible = "ti,ina230";
+ reg = <0x41>;
+ shunt-resistor = <1000>;
+ };
+
+ power-monitor at 67 {
+ compatible = "adi,ltc2945";
+ reg = <0x67>;
+ };
+
+ power-monitor at 68 {
+ compatible = "adi,ltc2945";
+ reg = <0x68>;
+ };
};
&i2c1 {
--
2.34.1
More information about the linux-arm-kernel
mailing list