[PATCH] platform: starfive: jh7110: fix wrong pmic i2c address

Meng Zhuo mengzhuo at iscas.ac.cn
Fri Oct 17 00:52:27 PDT 2025


The original address 0x32(50) which is eeprom, not pmic 0x24(36).

Signed-off-by: Meng Zhuo <mengzhuo at iscas.ac.cn>
---
 platform/generic/starfive/jh7110.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c
index c132843..07eade0 100644
--- a/platform/generic/starfive/jh7110.c
+++ b/platform/generic/starfive/jh7110.c
@@ -62,7 +62,7 @@ static u32 selected_hartid = -1;
 #define SYSTOP_CPU_PD_MASK		0x3
 
 #define TIMEOUT_COUNT			100000
-#define AXP15060_POWER_REG		0x32
+#define AXP15060_POWER_REG		0x24
 #define AXP15060_POWER_OFF_BIT		BIT(7)
 #define AXP15060_RESET_BIT		BIT(6)
 
-- 
2.47.3




More information about the opensbi mailing list