mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
39 lines
1.6 KiB
Diff
39 lines
1.6 KiB
Diff
From da5fd98469edd797ed77d9a8690a608c6b54f9e6 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Tue, 19 Dec 2023 14:55:21 +0000
|
|
Subject: [PATCH] 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 <phil@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/bcm2712-rpi-5-b.dts | 1 +
|
|
arch/arm/boot/dts/overlays/README | 3 +++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
+++ b/arch/arm/boot/dts/bcm2712-rpi-5-b.dts
|
|
@@ -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";
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -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.
|