RTC and alarm changes

Change-Id: I20a6896ccde419abcfe0f591545589eb235a72f2