Implement reboot/powerdown support based on nvmem cells. This works on
authorkettenis <kettenis@openbsd.org>
Fri, 25 Mar 2022 15:52:03 +0000 (15:52 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 25 Mar 2022 15:52:03 +0000 (15:52 +0000)
commit57f9f74c35b087a60ac75e46155976b50115ed9f
treecafb80a2c0fff93a36826077de2b982422d1f8a8
parenteb0ca4d1353de67fef71aab983c91c36a84ed30d
Implement reboot/powerdown support based on nvmem cells.  This works on
M1 Pro/Max machines and will hopefully continue to work on future models
by abstracting the magic flag that needs to be set using device tree
properties.

ok patrick@
sys/arch/arm64/dev/aplsmc.c