freebsd-dev/sys/boot/fdt
Luiz Otavio O Souza 2566c5264a Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p.
To cut off the power we need to start the shutdown sequence by writing
the OFF bit on PMIC.

Once the PMIC is programmed the SoC needs to toggle the PMIC_PWR_ENABLE
pin when it is ready for the PMIC to cut off the power.  This is done by
triggering the ALARM2 interrupt on SoC RTC.

The RTC driver only works in power management mode which means it won't
provide any kind of time keeping functionality.  It only implements a way
to trigger the ALARM2 interrupt when requested.

Differential Revision:	https://reviews.freebsd.org/D1489
Reviewed by:	rpaulo
MFC after:	2 weeks
2015-01-12 03:23:16 +00:00
..
dts Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p. 2015-01-12 03:23:16 +00:00
fdt_loader_cmd.c Start to allow platforms other than U-Boot to use the FDT code in loader by 2014-11-01 17:12:44 +00:00
fdt_platform.h Start to allow platforms other than U-Boot to use the FDT code in loader by 2014-11-01 17:12:44 +00:00
help.fdt Provide verbose help for fdt commands on platforms that use it. 2013-02-11 02:15:26 +00:00
Makefile Missed change in r276688. Apologies for build breakage. 2015-01-05 16:52:25 +00:00