Add RTC support in kernel