Added embedded RTC device.

Added the RTC device, and cleaned up some formatting errors in the last PR.