Register the shutdown event at PMIC attach.
Once the PMIC is programmed to shutdown and it will wait for a change in pmic_pwr_enable pin to cut off the power.
Implements the RTC driver for am335x which is used to toggle the pmic_pwr_enable pin.
The pin is toggled when the ALARM2 fires, so we program the ALARM2 to fire 2 seconds in future (and then turn off the board).
The board can be powered up again by pressing the power button or by reapplying the power.