From 7806a88d7e3c7952162acde843fdbec1a307797f Mon Sep 17 00:00:00 2001 From: "Palla. Gnana Sai Kiran" <2400031822@kluniversity.in> Date: Thu, 20 Nov 2025 22:11:02 +0530 Subject: [PATCH] docs: Update RTC sysfs paths for Raspberry Pi 5 Fixes #4205 Updated outdated sysfs paths for Raspberry Pi 5 RTC from: - soc/soc:rpi_rtc To: - soc@107c000000/soc@107c000000:rpi_rtc This resolves the issue where the documentation referenced incorrect paths that no longer exist on Raspberry Pi 5. --- documentation/asciidoc/computers/raspberry-pi/rtc.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/asciidoc/computers/raspberry-pi/rtc.adoc b/documentation/asciidoc/computers/raspberry-pi/rtc.adoc index 3ae95bdbc..097550223 100644 --- a/documentation/asciidoc/computers/raspberry-pi/rtc.adoc +++ b/documentation/asciidoc/computers/raspberry-pi/rtc.adoc @@ -58,9 +58,9 @@ The RTC is equipped with a constant-current (3mA) constant-voltage charger. Charging of the battery is disabled by default. There are `sysfs` files that show the charging voltage and limits: ---- -/sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage:0 -/sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_max:4400000 -/sys/devices/platform/soc/soc:rpi_rtc/rtc/rtc0/charging_voltage_min:1300000 +/sys/devices/platform/soc@107c000000/soc@107c000000:rpi_rtc/rtc/rtc0/charging_voltage:0 +/sys/devices/platform/soc@107c000000/soc@107c000000:rpi_rtc/rtc/rtc0/charging_voltage_max:4400000 +/sys/devices/platform/soc@107c000000/soc@107c000000:rpi_rtc/rtc/rtc0/charging_voltage_min:1300000 ---- To charge the battery at a set voltage, add https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README#L279[`rtc_bbat_vchg`] to `/boot/firmware/config.txt`: