From ae17f134d885f306700331dc7b1d774eefa3a140 Mon Sep 17 00:00:00 2001 From: Jian-Hong Pan Date: Mon, 5 Jan 2026 14:33:13 +0800 Subject: [PATCH] rpi: Enable charging RTC battery on RPi 500(+) EOS might enable PAYG with RPi 500(+). To keep the RTC working on RPi 500(+), there will be an RPi certified RTC battery [1] which is rechargeable. So, enable RPi 500(+)'s PMIC charging the RTC battery with the configuration in config.txt by following RPi's document [2]. [1]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#add-a-backup-battery [2]: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#enable-battery-charging https://app.asana.com/1/1203676861188277/task/1212515211230014 --- data/rpi-common/config.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/rpi-common/config.txt b/data/rpi-common/config.txt index 3e815f65..88b17ca5 100644 --- a/data/rpi-common/config.txt +++ b/data/rpi-common/config.txt @@ -49,6 +49,10 @@ enable_uart=1 # (e.g. for USB device mode) or if USB support is not required. otg_mode=1 +[pi500] +# Enable charging RTC battery +dtparam=rtc_bbat_vchg=3000000 + [cm5] dtoverlay=dwc2,dr_mode=host