Add support for the DS1337 TOD clocks found on some of the octeon models.
authorpirofti <pirofti@openbsd.org>
Wed, 15 Jan 2014 10:29:45 +0000 (10:29 +0000)
committerpirofti <pirofti@openbsd.org>
Wed, 15 Jan 2014 10:29:45 +0000 (10:29 +0000)
commit1d0b786f5b632e992b26151e7069f84d9cba2fe9
tree6cac6be9e5d552b55be6dc0499f02a0ea5bbec3c
parentef9c65d8e7335676de99084a56ffcfbb748b65f3
Add support for the DS1337 TOD clocks found on some of the octeon models.

This is a very low resolution clock (1 second) that some models seem
to be blessed with.

Found at least on CAM-100 and DSR-500 models.
It seems the EdgeRouter doesn't have support for this.

Tested by jmatthew@ and bcallah@.
Okay miod@, bcallah@
sys/arch/octeon/dev/mainbus.c
sys/arch/octeon/dev/octrtc.c [new file with mode: 0644]