drivers: timer: add RTC support as system clock for CC13X2/CC26X2

Add RTC timer driver for CC13X2/CC26X2, and use it instead of systick
as system clock. It is necessary to use this timer for power
management support, so that the system can exit from deep sleep upon
expiry of timeouts.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
This commit is contained in:
Vincent Wan 2019-08-20 09:58:04 -07:00 committed by Kumar Gala
commit aeb8d017b5
10 changed files with 297 additions and 3 deletions

View file

@ -82,3 +82,7 @@
cs-pin = <11>;
cs-gpios = <&gpio0 11 0>;
};
&rtc {
status = "okay";
};