Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/ingenic add SMBus base addresses



details:   https://anonhg.NetBSD.org/src/rev/16f9dfd2babe
branches:  trunk
changeset: 806890:16f9dfd2babe
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Mar 17 07:22:40 2015 +0000

description:
add SMBus base addresses

diffstat:

 sys/arch/mips/ingenic/ingenic_regs.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 1b969cf56c06 -r 16f9dfd2babe sys/arch/mips/ingenic/ingenic_regs.h
--- a/sys/arch/mips/ingenic/ingenic_regs.h      Tue Mar 17 01:58:29 2015 +0000
+++ b/sys/arch/mips/ingenic/ingenic_regs.h      Tue Mar 17 07:22:40 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ingenic_regs.h,v 1.9 2015/03/10 18:02:16 macallan Exp $ */
+/*     $NetBSD: ingenic_regs.h,v 1.10 2015/03/17 07:22:40 macallan Exp $ */
 
 /*-
  * Copyright (c) 2014 Michael Lorenz
@@ -372,4 +372,12 @@
        writereg(reg + JZ_GPIO_FLAGC, mask);    /* clear it */
        writereg(reg + JZ_GPIO_MASKC, mask);    /* enable it */
 }
+
+/* I2C / SMBus */
+#define JZ_SMB0_BASE   0x10050000
+#define JZ_SMB1_BASE   0x10051000
+#define JZ_SMB2_BASE   0x10052000
+#define JZ_SMB3_BASE   0x10053000
+#define JZ_SMB4_BASE   0x10054000
+
 #endif /* INGENIC_REGS_H */



Home | Main Index | Thread Index | Old Index