3.8: rtc cape patches

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>