Hebbar Gururaja [off-list ref] writes:
On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN)
is available to enable Wakeup feature for Alarm Events.
Since new platforms/Boards are now added through DT only, this feature
is supported via DT property only.
Platforms using such IP should add the property "ti,has_irq_wake_enb"
in rtc DT node.
This is a property of the IP, not the board. Can't you detect this
based on the revision of the IP?
Kevin