Does the rtc on rockpi4 support wakealarms

The hardware should have the ability to power on with alarm. Check the schematic and the datasheet of pmic rk808, there are three condition to trigger the boot:

  • EN singal from low to high
  • EN is high and RTC alarm IRQ triggered
  • EN is high and PWRON button is pressed

@Stephen could you look at it?