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:
parent
cf7555a841
commit
aeb8d017b5
10 changed files with 297 additions and 3 deletions
|
@ -82,3 +82,7 @@
|
|||
cs-pin = <11>;
|
||||
cs-gpios = <&gpio0 11 0>;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue