From 131105811de373c6324fddca1024ecd5f75ac8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 15 Sep 2023 13:12:42 +0200 Subject: [PATCH] boards: esp32: M5Stack Core2 has PCF8563 RTC, not PCF8523 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RTC chip on i2c0 is a PCF8563, not a PCF8523. RTC _almost_ works when using the latter, but not quite, hence why it probably was missed before. Fix tested as working using RTC Shell commands. Signed-off-by: Benjamin Cabé --- boards/xtensa/m5stack_core2/m5stack_core2.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/xtensa/m5stack_core2/m5stack_core2.dts b/boards/xtensa/m5stack_core2/m5stack_core2.dts index f90a19c398..35ed29ae32 100644 --- a/boards/xtensa/m5stack_core2/m5stack_core2.dts +++ b/boards/xtensa/m5stack_core2/m5stack_core2.dts @@ -93,10 +93,9 @@ pinctrl-names = "default"; pfc8563_rtc: pfc8563@51 { - compatible = "nxp,pcf8523"; + compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; - battery-switch-over = "disabled"; }; axp192_pmic: axp192@34 {