arm: dts: bcm2711: Add wakeup and alias to cm4 rtc
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.
Signed-off-by Peter Robinson <[email protected]>
--- 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
@@ -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
From: Florian Fainelli <[email protected]>
Quoted 5 lines · 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 <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian