Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/conf add jziic and RTC drivers



details:   https://anonhg.NetBSD.org/src/rev/e6de3db6344a
branches:  trunk
changeset: 807286:e6de3db6344a
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sat Apr 04 12:32:34 2015 +0000

description:
add jziic and RTC drivers

diffstat:

 sys/arch/evbmips/conf/CI20 |  29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r 01c500fcf8ea -r e6de3db6344a sys/arch/evbmips/conf/CI20
--- a/sys/arch/evbmips/conf/CI20        Sat Apr 04 12:28:52 2015 +0000
+++ b/sys/arch/evbmips/conf/CI20        Sat Apr 04 12:32:34 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CI20,v 1.11 2015/03/17 07:28:18 macallan Exp $
+#      $NetBSD: CI20,v 1.12 2015/04/04 12:32:34 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "CI20-$Revision: 1.11 $"
+#ident                 "CI20-$Revision: 1.12 $"
 
 maxusers       32
 
@@ -136,6 +136,7 @@
 #config                netbsd  root on axe0 type nfs
 
 mainbus0       at root
+#options       MULTIPROCESSOR
 cpu0           at mainbus?
 #wdog0         at mainbus?
 com*           at mainbus?
@@ -156,11 +157,31 @@
 # onboard ethernet
 dme*           at apbus?
 
+# I2C/SMBus
+# Work in progress - can't do transfers over 15 bytes per direction,
+# no interrupts etc.
+# Good enough for talking to an RTC though, so it's enabled.
+jziic*                 at apbus?
+#options       JZIIC_DEBUG     # spammy
+iic*           at jziic?
+
+# voltage control and the like, no driver yet
+#act8600pm0    at iic0 addr 0x5a
+
+# XXX
+# the manual says there's a Pericom RTC at SMB4 addr 0x68
+# on my preproduction CI20 that's not the case, instead there's something that
+# looks like a PCF8563 at addr 0x51
+ 
+# the Pericom PT7C4337 seems to be a DS1339 clone
+#dsrtc0        at iic4 addr 0x68 flags 1339
+
+# at least some CI20 have this instead
+pcf8563rtc0    at iic4 addr 0x51
+
 #jzgpio*       at apbus? addr ?
 #gpio*         at jzgpio?
 
-# no RTC!  so fake with a stub (required to prevent evbmips panic)
-
 # USB stuff
 uhub*          at usb?
 uhub*          at uhub? port ?



Home | Main Index | Thread Index | Old Index