soc: arm: nrf51: Backport power management code from nRF52

This commit ports power management code from nRF52 to the nRF51 SoC,
enabling usage of Zephyr Power Management policies on this platform.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
Piotr Zięcik 2019-01-02 13:39:25 +01:00 committed by Carles Cufí
commit 2587ed0090
4 changed files with 151 additions and 2 deletions

View file

@ -16,6 +16,8 @@
#include <nrf_common.h>
#include <nrf.h>
#include <soc_power.h>
/* Add include for DTS generated information */
#include <generated_dts_board.h>