Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf The SoC RTC works on this board but doe...



details:   https://anonhg.NetBSD.org/src/rev/bc84403090a4
branches:  trunk
changeset: 333953:bc84403090a4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 23 13:42:06 2014 +0000

description:
The SoC RTC works on this board but does not seem to be hooked up to the
battery. Thankfully, there is a PCF8563 attached to TWI2 at address 51h,
so use that instead.

diffstat:

 sys/arch/evbarm/conf/HUMMINGBIRD_A31 |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 30b0f9287f1d -r bc84403090a4 sys/arch/evbarm/conf/HUMMINGBIRD_A31
--- a/sys/arch/evbarm/conf/HUMMINGBIRD_A31      Sun Nov 23 13:39:58 2014 +0000
+++ b/sys/arch/evbarm/conf/HUMMINGBIRD_A31      Sun Nov 23 13:42:06 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: HUMMINGBIRD_A31,v 1.19 2014/11/11 17:01:27 jmcneill Exp $
+#      $NetBSD: HUMMINGBIRD_A31,v 1.20 2014/11/23 13:42:06 jmcneill Exp $
 #
 #      HUMMINGBIRD_A31 - Merrii Hummingbird A31
 #
@@ -206,10 +206,13 @@
 
 gpio*          at awingpio?
 
-# I2C Controller
-awiniic0       at awinio? port 0
-#awiniic*      at awinio? port ?
-iic0           at awiniic0
+# I2C Controllers
+#awiniic0      at awinio? port 0
+#iic0          at awiniic0
+
+awiniic2       at awinio? port 2
+iic2           at awiniic2
+pcf8563rtc0    at iic2 addr 0x51       # PCF8563 RTC
 
 # P2WI
 awinp2wi0      at awinio0
@@ -227,8 +230,8 @@
 # Watchdog timers
 awinwdt*       at awinio?
 
-# RTC
-awinrtc*       at awinio?
+# RTC (not battery backed on this board; use PCF8563 instead)
+#awinrtc*      at awinio?
 
 # onboard audio codec
 awinac0                at awinio0



Home | Main Index | Thread Index | Old Index