Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: bcm2711: Add wakeup and alias to cm4 rtc
@ 2026-09-25  6:53 Peter Robinson
  2026-09-28 18:27 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2026-09-25  6:53 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Florian Fainelli,
	Broadcom internal kernel review list, devicetree,
	linux-rpi-kernel, linux-arm-kernel
  Cc: Peter Robinson

The pcf85063 on the CM4 IO carrier board is capable of wake up
so set the parameter, also add it as an alias to rtc0.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
index 1f4ebec68370c..8e45de01d2ad1 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
@@ -7,6 +7,10 @@
 
 / {
 	model = "Raspberry Pi Compute Module 4 IO Board";
+
+	aliases {
+		rtc0 = &pcf85063;
+	};
 };
 
 &ddc0 {
@@ -103,11 +107,12 @@ &genet {
 };
 
 &i2c0_1 {
-	rtc@51 {
+	pcf85063: rtc@51 {
 		/* Attention: An alarm resets the machine */
 		compatible = "nxp,pcf85063a";
 		reg = <0x51>;
 		quartz-load-femtofarads = <7000>;
+		wakeup-source;
 	};
 };
 
-- 
2.55.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm: dts: bcm2711: Add wakeup and alias to cm4 rtc
  2026-09-25  6:53 [PATCH] arm: dts: bcm2711: Add wakeup and alias to cm4 rtc Peter Robinson
@ 2026-09-28 18:27 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2026-09-28 18:27 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Peter Robinson, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli, devicetree,
	linux-rpi-kernel, linux-arm-kernel
  Cc: Florian Fainelli

From: Florian Fainelli <f.fainelli@gmail.com>

On Fri, 25 Sep 2026 07:53:48 +0100, Peter Robinson <pbrobinson@gmail.com> wrote:
> The pcf85063 on the CM4 IO carrier board is capable of wake up
> so set the parameter, also add it as an alias to rtc0.
> 
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-28 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  6:53 [PATCH] arm: dts: bcm2711: Add wakeup and alias to cm4 rtc Peter Robinson
2026-09-28 18:27 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox