Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/conf - add config for gpio
details: https://anonhg.NetBSD.org/src/rev/3cf4437f285c
branches: trunk
changeset: 763373:3cf4437f285c
user: cliff <cliff%NetBSD.org@localhost>
date: Fri Mar 18 02:13:46 2011 +0000
description:
- add config for gpio
- add config for iobus, nand, flash
diffstat:
sys/arch/mips/conf/files.rmixl | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 86777b3f9509 -r 3cf4437f285c sys/arch/mips/conf/files.rmixl
--- a/sys/arch/mips/conf/files.rmixl Fri Mar 18 02:01:45 2011 +0000
+++ b/sys/arch/mips/conf/files.rmixl Fri Mar 18 02:13:46 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.rmixl,v 1.3 2011/02/20 07:45:46 matt Exp $
+# $NetBSD: files.rmixl,v 1.4 2011/03/18 02:13:46 cliff Exp $
#
# Configuration info for RMI XLP, XLR, XLS
#
@@ -41,6 +41,11 @@
file arch/mips/rmi/rmixl_com.c com_rmixl
defparam opt_com.h CONSADDR CONSFREQ CONSPEED CONMODE
+# GPIO
+device rmixl_gpio: gpiobus
+attach rmixl_gpio at obio
+file arch/mips/rmi/rmixl_gpio.c rmixl_gpio
+
# PCIe
device rmixl_pcie: pcibus
attach rmixl_pcie at obio
@@ -51,6 +56,23 @@
attach rmixl_pcix at obio
file arch/mips/rmi/rmixl_pcix.c rmixl_pcix needs-flag
+# RMI Periperal IO Bus to Flash, PCMCIA memory controllers
+define rmixl_iobus { [cs=-1], [addr=-1], [size=-1], [intr=-1] }
+device rmixl_iobus: rmixl_iobus
+attach rmixl_iobus at obio
+file arch/mips/rmi/rmixl_iobus_space.c rmixl_iobus
+file arch/mips/rmi/rmixl_iobus.c rmixl_iobus
+
+# NAND flash controller
+device rmixl_nand: nandbus
+attach rmixl_nand at rmixl_iobus
+file arch/mips/rmi/rmixl_nand.c rmixl_nand
+
+# PCMCIA controller
+device rmixl_pcic: pcmciabus
+attach rmixl_pcic at rmixl_iobus
+file arch/mips/rmi/rmixl_pcic.c rmixl_pcic
+
# On-chip USB interface
define rmixl_usbi { [addr=-1], [size=-1], [intr=-1] }
device rmixl_usbi: rmixl_usbi
Home |
Main Index |
Thread Index |
Old Index