diff options
author | loos <loos@FreeBSD.org> | 2015-02-02 12:48:13 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2015-02-02 12:48:13 +0000 |
commit | ba803d12f9dc33b4deaad98edb996907e62705da (patch) | |
tree | 724f92432598b946f45855137e0eee44ffcabae8 /sys/arm/conf | |
parent | 49286c2a5039b19eee631af2086b60bcb1c087da (diff) | |
download | FreeBSD-src-ba803d12f9dc33b4deaad98edb996907e62705da.zip FreeBSD-src-ba803d12f9dc33b4deaad98edb996907e62705da.tar.gz |
MFC r277042:
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.
Diffstat (limited to 'sys/arm/conf')
-rw-r--r-- | sys/arm/conf/BEAGLEBONE | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/conf/BEAGLEBONE b/sys/arm/conf/BEAGLEBONE index 2da371b..465e497 100644 --- a/sys/arm/conf/BEAGLEBONE +++ b/sys/arm/conf/BEAGLEBONE @@ -87,6 +87,8 @@ device sdhci # mmc/sd host controller # Boot device is 2nd slice on MMC/SD card options ROOTDEVNAME=\"ufs:mmcsd0s2\" +device am335x_rtc # RTC support (power management only) + # Console and misc device uart device uart_ns8250 |