Skip to content

Commit da5fd98

Browse files
committed
ARM: dts: bcm2712-rpi-5-b: Allow RTC to be disabled
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]>
1 parent e0ecfaf commit da5fd98

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm/boot/dts/bcm2712-rpi-5-b.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ spi10_cs_pins: &spi10_cs_gpio1 {};
819819
pciex1_tperst_clk_ms = <&pciex1>, "brcm,tperst-clk-ms:0";
820820
pcie_tperst_clk_ms = <&pciex1>, "brcm,tperst-clk-ms:0";
821821
random = <&random>, "status";
822+
rtc = <&rpi_rtc>, "status";
822823
rtc_bbat_vchg = <&rpi_rtc>, "trickle-charge-microvolt:0";
823824
spi = <&spi0>, "status";
824825
suspend = <&pwr_key>, "linux,code:0=205";

arch/arm/boot/dts/overlays/README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ Params:
307307
random Set to "on" to enable the hardware random
308308
number generator (default "on")
309309

310+
rtc Set to "off" to disable the onboard Real Time
311+
Clock (2712 only, default "on")
312+
310313
rtc_bbat_vchg Set the RTC backup battery charging voltage in
311314
microvolts. If set to 0 or not specified, the
312315
trickle charger is disabled.

0 commit comments

Comments
 (0)