Skip to content

Commit

Permalink
ARM: dts: bcm2712-rpi-5-b: Allow RTC to be disabled
Browse files Browse the repository at this point in the history
Add a dtparam "rtc", so that "dtparam=rtc=off" can be used to disable
the Pi 5's onboard RTC.

See: https://forums.raspberrypi.com/viewtopic.php?t=361813

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Dec 19, 2023
1 parent e0ecfaf commit da5fd98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2712-rpi-5-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
pciex1_tperst_clk_ms = <&pciex1>, "brcm,tperst-clk-ms:0";
pcie_tperst_clk_ms = <&pciex1>, "brcm,tperst-clk-ms:0";
random = <&random>, "status";
rtc = <&rpi_rtc>, "status";
rtc_bbat_vchg = <&rpi_rtc>, "trickle-charge-microvolt:0";
spi = <&spi0>, "status";
suspend = <&pwr_key>, "linux,code:0=205";
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ Params:
random Set to "on" to enable the hardware random
number generator (default "on")

rtc Set to "off" to disable the onboard Real Time
Clock (2712 only, default "on")

rtc_bbat_vchg Set the RTC backup battery charging voltage in
microvolts. If set to 0 or not specified, the
trickle charger is disabled.
Expand Down

0 comments on commit da5fd98

Please sign in to comment.