What would be the best way to produce an alarm with IMX53? pwm?

on ccwmx53 PWM interface exists but it is NOT supported by the kernel.

You can make use of RTC for alarms.

Refer Digi ESP > Help > Help Contents > Digi ESP for Embedded Linux > 9. Devices and Interfaces 9.22. Real Time Clock (RTC)