summaryrefslogtreecommitdiffstats
path: root/sys/arm/conf
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2014-10-25 02:05:21 +0000
committerrpaulo <rpaulo@FreeBSD.org>2014-10-25 02:05:21 +0000
commitf85f42f997b3eba9a0a9314865aa3241a586a92e (patch)
tree6a546ef1e553e2c06e8991575604493dfdb3bbc9 /sys/arm/conf
parentdce313ba3caf1eca7e4a47e31533069fd89f6a0f (diff)
downloadFreeBSD-src-f85f42f997b3eba9a0a9314865aa3241a586a92e.zip
FreeBSD-src-f85f42f997b3eba9a0a9314865aa3241a586a92e.tar.gz
MFC r273257:
Add a driver for the TI watchdog. The TI watchdog timer is present on BeagleBone's. Since 2014, U-Boot has been booting the BeagleBone with the watchdog enabled. We need to disable it on boot to avoid a spurious reset. The timer isn't exactly precise, but it will do as a watchdog. This is also a reflection of the watchdog(9) API. In the future, we could handle interrupts, but the watchdog(9) API needs to be a bit smarter before that can happen.
Diffstat (limited to 'sys/arm/conf')
-rw-r--r--sys/arm/conf/BEAGLEBONE6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm/conf/BEAGLEBONE b/sys/arm/conf/BEAGLEBONE
index 76f535a..4c90e28 100644
--- a/sys/arm/conf/BEAGLEBONE
+++ b/sys/arm/conf/BEAGLEBONE
@@ -108,6 +108,12 @@ device gpioled
# ADC support
device ti_adc
+# Watchdog support
+# If we don't enable the watchdog driver, the system could potentially
+# reboot automatically because the boot loader might have enabled the
+# watchdog.
+device ti_wdt
+
# USB support
device usb
options USB_HOST_ALIGN=64 # Cacheline size is 64 on AM335x.
OpenPOWER on IntegriCloud