[PATCH v7 08/11] ARM: dts: aspeed: anacapa: evt2: Add shunt resistor values for HSC monitors
From: Colin Huang via B4 Relay
Date: Tue Sep 01 2026 - 08:25:59 EST
From: Peter Shen <peter.shen@xxxxxxx>
Add shunt resistor configuration for LTC4287 hot-swap controllers on
Anacapa EVT2 platform.
The resistor values are required for accurate current and power
measurement by the driver. These settings reflect the actual BOM used
on EVT2, where different sense resistor values (150 uOhm and 250 uOhm)
are populated across rails.
Without this configuration, the reported readings would be incorrect.
Signed-off-by: Peter Shen <peter.shen@xxxxxxx>
---
.../aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi | 42 ++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
index c0b2976ad9e9..92be113463de 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt2.dtsi
@@ -38,6 +38,30 @@ gpio@24 {
"RPDB_FAN7_PRSNT_N_R", "RPDB_FAN8_PRSNT_N_R",
"", "";
};
+
+ power-monitor@42 {
+ compatible = "lltc,ltc4287";
+ reg = <0x42>;
+ shunt-resistor-micro-ohms = <150>;
+ };
+
+ power-monitor@43 {
+ compatible = "lltc,ltc4287";
+ reg = <0x43>;
+ shunt-resistor-micro-ohms = <150>;
+ };
+
+ power-monitor@44 {
+ compatible = "lltc,ltc4287";
+ reg = <0x44>;
+ shunt-resistor-micro-ohms = <250>;
+ };
+
+ power-monitor@45 {
+ compatible = "lltc,ltc4287";
+ reg = <0x45>;
+ shunt-resistor-micro-ohms = <250>;
+ };
};
i2c@1 {
@@ -52,6 +76,24 @@ gpio@24 {
"","",
"","";
};
+
+ power-monitor@40 {
+ compatible = "lltc,ltc4287";
+ reg = <0x40>;
+ shunt-resistor-micro-ohms = <150>;
+ };
+
+ power-monitor@41 {
+ compatible = "lltc,ltc4287";
+ reg = <0x41>;
+ shunt-resistor-micro-ohms = <150>;
+ };
+
+ power-monitor@45 {
+ compatible = "lltc,ltc4287";
+ reg = <0x45>;
+ shunt-resistor-micro-ohms = <250>;
+ };
};
};
};
--
2.34.1