Hi,

I'm trying to write a driver for my wl-500gP to export the watchdog
timer on BCM4712 to userspace, via /dev/watchdog.

Since I have no access to chip datasheets, I've been digging through
SSB code, trying to figure out a a way to manipulate the watchdog.

The problem is that, if I use ssb_watchdog_timer_set(), it will trigger
a reboot almost immediately for all valid values of the WDT register,
as WDT is apparently clocked by the SSB backplane clock
(something like 133 MHz, if I'm right).

Anyway, I need timeouts in the range of up to several tens of seconds
for the watchdog to be useful in userspace.

Does anyone know of a way to pre-scale the WDT register or otherwise
extend the timeout?

Again, I have no knowledge of the chip internals, so any info on the
subject would be much appreciated.

Thanks,
Aleksandar

_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to