Skip to contentSkip to conversation

arm: dts: bcm2711: Add wakeup and alias to cm4 rtc

PATCH Applied Peter Robinson 2 participants 2 messages Sep 25 – Sep 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: bcm2711: Add wakeup and alias to cm4 rtc

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.

---
 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts +6 -1
index 1f4ebec68370c..8e45de01d2ad1 100644
@@ -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;
 	};
 };
 
Signature · 1 line
2.55.0