head	1.13;
access;
symbols
	netbsd-11-0-RC3:1.13
	netbsd-11-0-RC2:1.13
	netbsd-11-0-RC1:1.13
	perseant-exfatfs-base-20250801:1.13
	netbsd-11:1.13.0.38
	netbsd-11-base:1.13
	netbsd-10-1-RELEASE:1.13
	perseant-exfatfs-base-20240630:1.13
	perseant-exfatfs:1.13.0.36
	perseant-exfatfs-base:1.13
	netbsd-8-3-RELEASE:1.12
	netbsd-9-4-RELEASE:1.13
	netbsd-10-0-RELEASE:1.13
	netbsd-10-0-RC6:1.13
	netbsd-10-0-RC5:1.13
	netbsd-10-0-RC4:1.13
	netbsd-10-0-RC3:1.13
	netbsd-10-0-RC2:1.13
	thorpej-ifq:1.13.0.34
	thorpej-ifq-base:1.13
	thorpej-altq-separation:1.13.0.32
	thorpej-altq-separation-base:1.13
	netbsd-10-0-RC1:1.13
	netbsd-10:1.13.0.30
	netbsd-10-base:1.13
	bouyer-sunxi-drm:1.13.0.28
	bouyer-sunxi-drm-base:1.13
	netbsd-9-3-RELEASE:1.13
	thorpej-i2c-spi-conf2:1.13.0.26
	thorpej-i2c-spi-conf2-base:1.13
	thorpej-futex2:1.13.0.24
	thorpej-futex2-base:1.13
	thorpej-cfargs2:1.13.0.22
	thorpej-cfargs2-base:1.13
	cjep_sun2x-base1:1.13
	cjep_sun2x:1.13.0.20
	cjep_sun2x-base:1.13
	cjep_staticlib_x-base1:1.13
	netbsd-9-2-RELEASE:1.13
	cjep_staticlib_x:1.13.0.18
	cjep_staticlib_x-base:1.13
	thorpej-i2c-spi-conf:1.13.0.16
	thorpej-i2c-spi-conf-base:1.13
	thorpej-cfargs:1.13.0.14
	thorpej-cfargs-base:1.13
	thorpej-futex:1.13.0.12
	thorpej-futex-base:1.13
	netbsd-9-1-RELEASE:1.13
	bouyer-xenpvh-base2:1.13
	phil-wifi-20200421:1.13
	bouyer-xenpvh-base1:1.13
	phil-wifi-20200411:1.13
	bouyer-xenpvh:1.13.0.10
	bouyer-xenpvh-base:1.13
	is-mlppp:1.13.0.8
	is-mlppp-base:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.12
	ad-namecache-base3:1.13
	netbsd-9-0-RELEASE:1.13
	netbsd-9-0-RC2:1.13
	ad-namecache-base2:1.13
	ad-namecache-base1:1.13
	ad-namecache:1.13.0.6
	ad-namecache-base:1.13
	netbsd-9-0-RC1:1.13
	phil-wifi-20191119:1.13
	netbsd-9:1.13.0.4
	netbsd-9-base:1.13
	phil-wifi-20190609:1.13
	netbsd-8-1-RELEASE:1.12
	netbsd-8-1-RC1:1.12
	isaki-audio2:1.13.0.2
	isaki-audio2-base:1.13
	pgoyette-compat-merge-20190127:1.12.38.1
	pgoyette-compat-20190127:1.13
	pgoyette-compat-20190118:1.13
	pgoyette-compat-1226:1.13
	pgoyette-compat-1126:1.13
	pgoyette-compat-1020:1.13
	pgoyette-compat-0930:1.13
	pgoyette-compat-0906:1.12
	netbsd-7-2-RELEASE:1.12
	pgoyette-compat-0728:1.12
	netbsd-8-0-RELEASE:1.12
	phil-wifi:1.12.0.40
	phil-wifi-base:1.12
	pgoyette-compat-0625:1.12
	netbsd-8-0-RC2:1.12
	pgoyette-compat-0521:1.12
	pgoyette-compat-0502:1.12
	pgoyette-compat-0422:1.12
	netbsd-8-0-RC1:1.12
	pgoyette-compat-0415:1.12
	pgoyette-compat-0407:1.12
	pgoyette-compat-0330:1.12
	pgoyette-compat-0322:1.12
	pgoyette-compat-0315:1.12
	netbsd-7-1-2-RELEASE:1.12
	pgoyette-compat:1.12.0.38
	pgoyette-compat-base:1.12
	netbsd-7-1-1-RELEASE:1.12
	tls-maxphys-base-20171202:1.12
	matt-nb8-mediatek:1.12.0.36
	matt-nb8-mediatek-base:1.12
	nick-nhusb-base-20170825:1.12
	perseant-stdc-iso10646:1.12.0.34
	perseant-stdc-iso10646-base:1.12
	netbsd-8:1.12.0.32
	netbsd-8-base:1.12
	prg-localcount2-base3:1.12
	prg-localcount2-base2:1.12
	prg-localcount2-base1:1.12
	prg-localcount2:1.12.0.30
	prg-localcount2-base:1.12
	pgoyette-localcount-20170426:1.12
	bouyer-socketcan-base1:1.12
	jdolecek-ncq:1.12.0.28
	jdolecek-ncq-base:1.12
	pgoyette-localcount-20170320:1.12
	netbsd-7-1:1.12.0.26
	netbsd-7-1-RELEASE:1.12
	netbsd-7-1-RC2:1.12
	nick-nhusb-base-20170204:1.12
	netbsd-7-nhusb-base-20170116:1.12
	bouyer-socketcan:1.12.0.24
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	netbsd-7-1-RC1:1.12
	nick-nhusb-base-20161204:1.12
	pgoyette-localcount-20161104:1.12
	netbsd-7-0-2-RELEASE:1.12
	nick-nhusb-base-20161004:1.12
	localcount-20160914:1.12
	netbsd-7-nhusb:1.12.0.22
	netbsd-7-nhusb-base:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.20
	pgoyette-localcount-base:1.12
	nick-nhusb-base-20160907:1.12
	nick-nhusb-base-20160529:1.12
	netbsd-7-0-1-RELEASE:1.12
	nick-nhusb-base-20160422:1.12
	nick-nhusb-base-20160319:1.12
	nick-nhusb-base-20151226:1.12
	netbsd-7-0:1.12.0.18
	netbsd-7-0-RELEASE:1.12
	nick-nhusb-base-20150921:1.12
	netbsd-7-0-RC3:1.12
	netbsd-7-0-RC2:1.12
	netbsd-7-0-RC1:1.12
	nick-nhusb-base-20150606:1.12
	nick-nhusb-base-20150406:1.12
	nick-nhusb:1.12.0.16
	nick-nhusb-base:1.12
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	netbsd-6-0-6-RELEASE:1.11.10.1
	netbsd-6-1-5-RELEASE:1.11.10.1
	netbsd-7:1.12.0.14
	netbsd-7-base:1.12
	yamt-pagecache-base9:1.12
	yamt-pagecache-tag8:1.11.4.1
	netbsd-6-1-4-RELEASE:1.11.10.1
	netbsd-6-0-5-RELEASE:1.11.10.1
	tls-earlyentropy:1.12.0.12
	tls-earlyentropy-base:1.12
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.12
	riastradh-drm2-base3:1.12
	netbsd-6-1-3-RELEASE:1.11.10.1
	netbsd-6-0-4-RELEASE:1.11.10.1
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.11.10.1
	netbsd-6-0-3-RELEASE:1.11.10.1
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	rmind-smpnet-nbase:1.12
	netbsd-6-1-1-RELEASE:1.11.10.1
	riastradh-drm2-base2:1.12
	riastradh-drm2-base1:1.12
	riastradh-drm2:1.12.0.10
	riastradh-drm2-base:1.12
	rmind-smpnet:1.12.0.4
	rmind-smpnet-base:1.12
	netbsd-6-1:1.11.10.1.0.6
	netbsd-6-0-2-RELEASE:1.11.10.1
	netbsd-6-1-RELEASE:1.11.10.1
	khorben-n900:1.12.0.8
	netbsd-6-1-RC4:1.11.10.1
	netbsd-6-1-RC3:1.11.10.1
	agc-symver:1.12.0.6
	agc-symver-base:1.12
	netbsd-6-1-RC2:1.11.10.1
	netbsd-6-1-RC1:1.11.10.1
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.2.0.14
	netbsd-6-0-1-RELEASE:1.11.10.1
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	matt-nb6-plus-nbase:1.11.10.1
	yamt-pagecache-base6:1.12
	netbsd-6-0:1.11.10.1.0.4
	netbsd-6-0-RELEASE:1.11.10.1
	netbsd-6-0-RC2:1.11.10.1
	tls-maxphys:1.12.0.2
	tls-maxphys-base:1.12
	matt-nb6-plus:1.11.10.1.0.2
	matt-nb6-plus-base:1.11.10.1
	netbsd-6-0-RC1:1.11.10.1
	jmcneill-usbmp-base10:1.11
	yamt-pagecache-base5:1.11
	jmcneill-usbmp-base9:1.11
	yamt-pagecache-base4:1.11
	jmcneill-usbmp-base8:1.11
	jmcneill-usbmp-base7:1.11
	jmcneill-usbmp-base6:1.11
	jmcneill-usbmp-base5:1.11
	jmcneill-usbmp-base4:1.11
	jmcneill-usbmp-base3:1.11
	jmcneill-usbmp-pre-base2:1.11
	jmcneill-usbmp-base2:1.11
	netbsd-6:1.11.0.10
	netbsd-6-base:1.11
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	jmcneill-usbmp:1.11.0.8
	jmcneill-usbmp-base:1.11
	jmcneill-audiomp3:1.11.0.6
	jmcneill-audiomp3-base:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.4
	yamt-pagecache-base:1.11
	rmind-uvmplock-nbase:1.11
	cherry-xenmp:1.11.0.2
	cherry-xenmp-base:1.11
	jym-xensuspend-nbase:1.11
	uebayasi-xip-base7:1.10
	bouyer-quota2-nbase:1.10
	bouyer-quota2:1.10.0.14
	bouyer-quota2-base:1.10
	jruoho-x86intr:1.10.0.12
	jruoho-x86intr-base:1.10
	matt-mips64-premerge-20101231:1.10
	matt-nb5-mips64-premerge-20101231:1.2
	matt-nb5-pq3:1.2.0.12
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.10
	uebayasi-xip-base6:1.10
	uebayasi-xip-base5:1.10
	netbsd-5-1-RELEASE:1.2
	uebayasi-xip-base4:1.10
	uebayasi-xip-base3:1.10
	yamt-nfs-mp-base11:1.10
	netbsd-5-1-RC4:1.2
	matt-nb5-mips64-k15:1.2
	uebayasi-xip-base2:1.10
	yamt-nfs-mp-base10:1.10
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	uebayasi-xip-base1:1.10
	netbsd-5-1-RC1:1.2
	rmind-uvmplock:1.10.0.10
	rmind-uvmplock-base:1.11
	yamt-nfs-mp-base9:1.10
	uebayasi-xip:1.10.0.8
	uebayasi-xip-base:1.10
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-premerge-20091211:1.10
	yamt-nfs-mp-base8:1.10
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2
	matt-nb4-mips64-k7-u2a-k9b:1.2
	matt-nb5-mips64-u1-k1-k5:1.2
	yamt-nfs-mp-base7:1.10
	matt-nb5-mips64:1.2.0.8
	netbsd-5-0-1-RELEASE:1.2
	jymxensuspend-base:1.10
	yamt-nfs-mp-base6:1.10
	yamt-nfs-mp-base5:1.10
	yamt-nfs-mp-base4:1.10
	yamt-nfs-mp:1.10.0.6
	yamt-nfs-mp-base3:1.10
	nick-hppapmap-base4:1.10
	nick-hppapmap-base3:1.10
	netbsd-5-0:1.2.0.6
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	nick-hppapmap-base2:1.10
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.10.0.4
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.2
	mjf-devfs2-base:1.10
	mjf-devfs2:1.10.0.2
	haad-dm-base:1.9
	haad-dm-base2:1.9
	haad-nbase2:1.9
	ad-audiomp2:1.9.0.2
	ad-audiomp2-base:1.9
	netbsd-5:1.2.0.4
	netbsd-5-base:1.2
	nick-hppapmap:1.2.0.2
	nick-hppapmap-base:1.10
	matt-mips64-base2:1.2;
locks; strict;
comment	@# @;


1.13
date	2018.09.21.12.04.06;	author skrll;	state Exp;
branches;
next	1.12;
commitid	koRgyXMfdOPKZXSA;

1.12
date	2012.06.06.20.21.45;	author skrll;	state Exp;
branches
	1.12.38.1
	1.12.40.1;
next	1.11;

1.11
date	2011.03.11.03.16.13;	author bsh;	state Exp;
branches
	1.11.4.1
	1.11.10.1;
next	1.10;

1.10
date	2008.12.14.01.57.02;	author matt;	state Exp;
branches
	1.10.2.1
	1.10.6.1
	1.10.10.1
	1.10.12.1;
next	1.9;

1.9
date	2008.12.06.05.22.39;	author cliff;	state Exp;
branches;
next	1.8;

1.8
date	2008.11.26.05.25.27;	author matt;	state Exp;
branches;
next	1.7;

1.7
date	2008.11.20.22.36.36;	author cliff;	state Exp;
branches;
next	1.6;

1.6
date	2008.11.20.08.02.48;	author cliff;	state Exp;
branches;
next	1.5;

1.5
date	2008.11.13.07.21.59;	author cliff;	state Exp;
branches;
next	1.4;

1.4
date	2008.11.11.19.54.38;	author cliff;	state Exp;
branches;
next	1.3;

1.3
date	2008.11.09.09.19.44;	author cliff;	state Exp;
branches;
next	1.2;

1.2
date	2008.10.24.16.48.29;	author matt;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2008.10.24.04.23.18;	author matt;	state Exp;
branches;
next	;

1.12.38.1
date	2018.09.30.01.45.38;	author pgoyette;	state Exp;
branches;
next	;
commitid	SQ44grEPCeKPh4UA;

1.12.40.1
date	2019.06.10.22.05.53;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.11.4.1
date	2012.10.30.17.19.02;	author yamt;	state Exp;
branches;
next	;

1.11.10.1
date	2012.08.10.12.15.51;	author jdc;	state Exp;
branches;
next	;

1.10.2.1
date	2008.12.14.01.57.02;	author mjf;	state dead;
branches;
next	1.10.2.2;

1.10.2.2
date	2009.01.17.13.27.52;	author mjf;	state Exp;
branches;
next	;

1.10.6.1
date	2008.12.14.01.57.02;	author yamt;	state dead;
branches;
next	1.10.6.2;

1.10.6.2
date	2009.05.04.08.10.40;	author yamt;	state Exp;
branches;
next	;

1.10.10.1
date	2011.04.21.01.40.51;	author rmind;	state Exp;
branches;
next	;

1.10.12.1
date	2011.06.06.09.05.03;	author jruoho;	state Exp;
branches;
next	;

1.2.2.1
date	2009.01.19.13.15.57;	author skrll;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into
opt_console.h and adjust.
@
text
@#	$NetBSD: files.gemini,v 1.12 2012/06/06 20:21:45 skrll Exp $
#
# Configuration info for GEMINI CPU support
# Based on omap/files.omap2
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_gemini.h				MEMSIZE
defflag opt_gemini.h				GEMINI
defparam opt_gemini.h				GEMINI_BUSBASE: GEMINI
defflag opt_gemini.h				SL3516: GEMINI
defflag opt_gemini.h				GEMINI_MASTER: GEMINI
defflag opt_gemini.h				GEMINI_SLAVE: GEMINI
defflag opt_gemini.h				GEMINI_SINGLE: GEMINI

# OBIO just an attach point
define obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
device	obio: obio, pcibus
attach	obio at mainbus
file	arch/arm/gemini/gemini_obio.c		obio needs-count

# OBIO files
file	arch/arm/gemini/gemini_space.c		obio
##file	arch/arm/gemini/gemini_a2x_space.c		obio
##file	arch/arm/gemini/gemini_a2x_io.S		obio
file	arch/arm/gemini/gemini_a4x_space.c		obio
file	arch/arm/arm/bus_space_a4x.S		obio
file	arch/arm/gemini/gemini_dma.c

# these bus space methods are not bus-specific ...
#
##file	arch/arm/gemini/gemini_nobyteacc_space.c	obio
##file	arch/arm/gemini/gemini_nobyteacc_io.S		obio

# GEMINI interrupt controller
device	geminiicu: pic, pic_splfuncs
attach	geminiicu at obio with geminiicu
file	arch/arm/gemini/gemini_icu.c		geminiicu needs-flag

# Gemini inter-processor-interrupts
device	geminiipi {}
attach	geminiipi at obio
file	arch/arm/gemini/gemini_ipi.c		geminiipi needs-flag

# Gemini inter-processor-messages
device	geminiipm {}
attach	geminiipm at geminiipi
file	arch/arm/gemini/gemini_ipm.c		geminiipm needs-flag

device	gpn: ifnet, ether, arp
attach	gpn at geminiipm
file	arch/arm/gemini/if_gpn.c		gpn needs-flag

# GEMINI GPIO controllers

# GEMINI Timers
device	geminitmr
file	arch/arm/gemini/gemini_timer.c		geminitmr
defparam opt_gemini.h				GEMINI_TIMER_CLOCK_FREQ

# OBIO/geminitmr
attach 	geminitmr at obio with obiotimer
file	arch/arm/gemini/obio_timer.c		obiotimer

# Gemini Watchdog timer
device	geminiwdt: sysmon_wdog
file	arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
defparam opt_gemini.h				GEMINI_WDT_CLOCK_FREQ

attach geminiwdt at obio with obiowdt
file	arch/arm/gemini/obio_wdt.c			obiowdt

# NS16550 compatible serial ports
attach com at obio with gemini_com
file	arch/arm/gemini/gemini_com.c		gemini_com

# GEMINI LPC Bus
define  lpcbus  {[addr = -1]}
device	lpc { [ldn=-1], [addr=-1], [size=0], [intr=-1] }
attach	lpc at lpcbus
file	arch/arm/gemini/gemini_lpc.c		lpc needs-count

# GEMINI LPC Host Controller
device	geminilpchc: lpcbus
attach	geminilpchc at obio with obio_lpchc
file	arch/arm/gemini/obio_lpchc.c		obio_lpchc
file	arch/arm/gemini/gemini_lpchc.c		geminilpchc needs-count

# LPC Bus COM UARTs
attach	com at lpc with lpc_com
file	arch/arm/gemini/lpc_com.c		lpc_com

# GEMINI GPIO controllers
device	geminigpio: gpiobus
attach	geminigpio at obio with geminigpio
file	arch/arm/gemini/gemini_gpio.c		geminigpio

# GEMINI USB controller
attach ehci at obio with ehci_obio
file	arch/arm/gemini/obio_ehci.c		ehci_obio

# GEMINI ATA controller
attach wdc at obio with wdc_obio
file	arch/arm/gemini/obio_wdc.c		wdc_obio

# PCI
device	gemini_pci: pcibus
attach	gemini_pci at obio
file	arch/arm/gemini/gemini_pci.c		pci needs-flag

# GEMINI MAC controller
device	geminigmac { port, intr, phy }: mii, mii_bitbang
attach	geminigmac at obio with geminigmac
file	arch/arm/gemini/gemini_gmac.c		geminigmac needs-flag

device	gmc: ifnet, ether, arp, mii
attach	gmc at geminigmac
file	arch/arm/gemini/if_gmc.c		gmc
@


1.12
log
@Provide generic a[24]x bus_space methods (aNx is normal access, offset
multipled by N).

Use the generic method and delete the other versions.

Discussed with matt@@
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.11 2011/03/11 03:16:13 bsh Exp $
a80 1
defparam opt_com.h				CONSADDR CONSPEED CONMODE
@


1.12.40.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.13 2018/09/21 12:04:06 skrll Exp $
d81 1
@


1.12.38.1
log
@Ssync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.13 2018/09/21 12:04:06 skrll Exp $
d81 1
@


1.11
log
@split arch/arm/pic/pic.c so that we can implement more efficient version of splfoo() while using pic framework.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.10 2008/12/14 01:57:02 matt Exp $
d32 1
a32 1
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio
@


1.11.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.11 2011/03/11 03:16:13 bsh Exp $
d32 1
a32 1
file	arch/arm/arm/bus_space_a4x.S		obio
@


1.11.10.1
log
@Pull up revisions:
  src/sys/arch/arm/arm/bus_space_a2x.S revision 1.1
  src/sys/arch/arm/arm/bus_space_a4x.S revision 1.1
  src/sys/arch/arm/gemini/files.gemini revision 1.12
  src/sys/arch/arm/mpcore/files.mpcore revision 1.2
  src/sys/arch/arm/mpcore/mpcore_a2x_io.S delete
  src/sys/arch/arm/mpcore/mpcore_a4x_io.S delete
  src/sys/arch/arm/omap/files.omap revision 1.6
  src/sys/arch/arm/omap/files.omap2 revision 1.9
  src/sys/arch/arm/omap/omap_a2x_io.S delete
  src/sys/arch/arm/xscale/files.pxa2x0 revision 1.18
  src/sys/arch/arm/xscale/pxa2x0_a4x_io.S delete
(requested by skrll to fix ticket #454).

Provide generic a[24]x bus_space methods (aNx is normal access, offset
multipled by N).

Use the generic method and delete the other versions.

Discussed with matt@@
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.11 2011/03/11 03:16:13 bsh Exp $
d32 1
a32 1
file	arch/arm/arm/bus_space_a4x.S		obio
@


1.10
log
@Add the beginning of a driver which supports the on-chip gmac (gigabit)
ethernet port.  It's still being debugged but it attaches and does some
things right.  And a lot wrong.  That's what debugging is for.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.9 2008/12/06 05:22:39 cliff Exp $
d41 1
a41 1
device	geminiicu: pic
@


1.10.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.11 2011/03/11 03:16:13 bsh Exp $
d41 1
a41 1
device	geminiicu: pic, pic_splfuncs
@


1.10.10.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
d41 1
a41 1
device	geminiicu: pic, pic_splfuncs
@


1.10.6.1
log
@file files.gemini was added on branch yamt-nfs-mp on 2009-05-04 08:10:40 +0000
@
text
@d1 124
@


1.10.6.2
log
@sync with head.
@
text
@a0 124
#	$NetBSD$
#
# Configuration info for GEMINI CPU support
# Based on omap/files.omap2
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_gemini.h				MEMSIZE
defflag opt_gemini.h				GEMINI
defparam opt_gemini.h				GEMINI_BUSBASE: GEMINI
defflag opt_gemini.h				SL3516: GEMINI
defflag opt_gemini.h				GEMINI_MASTER: GEMINI
defflag opt_gemini.h				GEMINI_SLAVE: GEMINI
defflag opt_gemini.h				GEMINI_SINGLE: GEMINI

# OBIO just an attach point
define obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
device	obio: obio, pcibus
attach	obio at mainbus
file	arch/arm/gemini/gemini_obio.c		obio needs-count

# OBIO files
file	arch/arm/gemini/gemini_space.c		obio
##file	arch/arm/gemini/gemini_a2x_space.c		obio
##file	arch/arm/gemini/gemini_a2x_io.S		obio
file	arch/arm/gemini/gemini_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio
file	arch/arm/gemini/gemini_dma.c

# these bus space methods are not bus-specific ...
#
##file	arch/arm/gemini/gemini_nobyteacc_space.c	obio
##file	arch/arm/gemini/gemini_nobyteacc_io.S		obio

# GEMINI interrupt controller
device	geminiicu: pic
attach	geminiicu at obio with geminiicu
file	arch/arm/gemini/gemini_icu.c		geminiicu needs-flag

# Gemini inter-processor-interrupts
device	geminiipi {}
attach	geminiipi at obio
file	arch/arm/gemini/gemini_ipi.c		geminiipi needs-flag

# Gemini inter-processor-messages
device	geminiipm {}
attach	geminiipm at geminiipi
file	arch/arm/gemini/gemini_ipm.c		geminiipm needs-flag

device	gpn: ifnet, ether, arp
attach	gpn at geminiipm
file	arch/arm/gemini/if_gpn.c		gpn needs-flag

# GEMINI GPIO controllers

# GEMINI Timers
device	geminitmr
file	arch/arm/gemini/gemini_timer.c		geminitmr
defparam opt_gemini.h				GEMINI_TIMER_CLOCK_FREQ

# OBIO/geminitmr
attach 	geminitmr at obio with obiotimer
file	arch/arm/gemini/obio_timer.c		obiotimer

# Gemini Watchdog timer
device	geminiwdt: sysmon_wdog
file	arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
defparam opt_gemini.h				GEMINI_WDT_CLOCK_FREQ

attach geminiwdt at obio with obiowdt
file	arch/arm/gemini/obio_wdt.c			obiowdt

# NS16550 compatible serial ports
attach com at obio with gemini_com
file	arch/arm/gemini/gemini_com.c		gemini_com
defparam opt_com.h				CONSADDR CONSPEED CONMODE

# GEMINI LPC Bus
define  lpcbus  {[addr = -1]}
device	lpc { [ldn=-1], [addr=-1], [size=0], [intr=-1] }
attach	lpc at lpcbus
file	arch/arm/gemini/gemini_lpc.c		lpc needs-count

# GEMINI LPC Host Controller
device	geminilpchc: lpcbus
attach	geminilpchc at obio with obio_lpchc
file	arch/arm/gemini/obio_lpchc.c		obio_lpchc
file	arch/arm/gemini/gemini_lpchc.c		geminilpchc needs-count

# LPC Bus COM UARTs
attach	com at lpc with lpc_com
file	arch/arm/gemini/lpc_com.c		lpc_com

# GEMINI GPIO controllers
device	geminigpio: gpiobus
attach	geminigpio at obio with geminigpio
file	arch/arm/gemini/gemini_gpio.c		geminigpio

# GEMINI USB controller
attach ehci at obio with ehci_obio
file	arch/arm/gemini/obio_ehci.c		ehci_obio

# GEMINI ATA controller
attach wdc at obio with wdc_obio
file	arch/arm/gemini/obio_wdc.c		wdc_obio

# PCI
device	gemini_pci: pcibus
attach	gemini_pci at obio
file	arch/arm/gemini/gemini_pci.c		pci needs-flag

# GEMINI MAC controller
device	geminigmac { port, intr, phy }: mii, mii_bitbang
attach	geminigmac at obio with geminigmac
file	arch/arm/gemini/gemini_gmac.c		geminigmac needs-flag

device	gmc: ifnet, ether, arp, mii
attach	gmc at geminigmac
file	arch/arm/gemini/if_gmc.c		gmc
@


1.10.2.1
log
@file files.gemini was added on branch mjf-devfs2 on 2009-01-17 13:27:52 +0000
@
text
@d1 124
@


1.10.2.2
log
@Sync with HEAD.
@
text
@a0 124
#	$NetBSD$
#
# Configuration info for GEMINI CPU support
# Based on omap/files.omap2
#

include "arch/arm/pic/files.pic"

file	arch/arm/arm32/irq_dispatch.S

# Memory size in megabytes
defparam opt_gemini.h				MEMSIZE
defflag opt_gemini.h				GEMINI
defparam opt_gemini.h				GEMINI_BUSBASE: GEMINI
defflag opt_gemini.h				SL3516: GEMINI
defflag opt_gemini.h				GEMINI_MASTER: GEMINI
defflag opt_gemini.h				GEMINI_SLAVE: GEMINI
defflag opt_gemini.h				GEMINI_SINGLE: GEMINI

# OBIO just an attach point
define obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
	     } : bus_space_generic
device	obio: obio, pcibus
attach	obio at mainbus
file	arch/arm/gemini/gemini_obio.c		obio needs-count

# OBIO files
file	arch/arm/gemini/gemini_space.c		obio
##file	arch/arm/gemini/gemini_a2x_space.c		obio
##file	arch/arm/gemini/gemini_a2x_io.S		obio
file	arch/arm/gemini/gemini_a4x_space.c		obio
file	arch/arm/xscale/pxa2x0_a4x_io.S		obio
file	arch/arm/gemini/gemini_dma.c

# these bus space methods are not bus-specific ...
#
##file	arch/arm/gemini/gemini_nobyteacc_space.c	obio
##file	arch/arm/gemini/gemini_nobyteacc_io.S		obio

# GEMINI interrupt controller
device	geminiicu: pic
attach	geminiicu at obio with geminiicu
file	arch/arm/gemini/gemini_icu.c		geminiicu needs-flag

# Gemini inter-processor-interrupts
device	geminiipi {}
attach	geminiipi at obio
file	arch/arm/gemini/gemini_ipi.c		geminiipi needs-flag

# Gemini inter-processor-messages
device	geminiipm {}
attach	geminiipm at geminiipi
file	arch/arm/gemini/gemini_ipm.c		geminiipm needs-flag

device	gpn: ifnet, ether, arp
attach	gpn at geminiipm
file	arch/arm/gemini/if_gpn.c		gpn needs-flag

# GEMINI GPIO controllers

# GEMINI Timers
device	geminitmr
file	arch/arm/gemini/gemini_timer.c		geminitmr
defparam opt_gemini.h				GEMINI_TIMER_CLOCK_FREQ

# OBIO/geminitmr
attach 	geminitmr at obio with obiotimer
file	arch/arm/gemini/obio_timer.c		obiotimer

# Gemini Watchdog timer
device	geminiwdt: sysmon_wdog
file	arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
defparam opt_gemini.h				GEMINI_WDT_CLOCK_FREQ

attach geminiwdt at obio with obiowdt
file	arch/arm/gemini/obio_wdt.c			obiowdt

# NS16550 compatible serial ports
attach com at obio with gemini_com
file	arch/arm/gemini/gemini_com.c		gemini_com
defparam opt_com.h				CONSADDR CONSPEED CONMODE

# GEMINI LPC Bus
define  lpcbus  {[addr = -1]}
device	lpc { [ldn=-1], [addr=-1], [size=0], [intr=-1] }
attach	lpc at lpcbus
file	arch/arm/gemini/gemini_lpc.c		lpc needs-count

# GEMINI LPC Host Controller
device	geminilpchc: lpcbus
attach	geminilpchc at obio with obio_lpchc
file	arch/arm/gemini/obio_lpchc.c		obio_lpchc
file	arch/arm/gemini/gemini_lpchc.c		geminilpchc needs-count

# LPC Bus COM UARTs
attach	com at lpc with lpc_com
file	arch/arm/gemini/lpc_com.c		lpc_com

# GEMINI GPIO controllers
device	geminigpio: gpiobus
attach	geminigpio at obio with geminigpio
file	arch/arm/gemini/gemini_gpio.c		geminigpio

# GEMINI USB controller
attach ehci at obio with ehci_obio
file	arch/arm/gemini/obio_ehci.c		ehci_obio

# GEMINI ATA controller
attach wdc at obio with wdc_obio
file	arch/arm/gemini/obio_wdc.c		wdc_obio

# PCI
device	gemini_pci: pcibus
attach	gemini_pci at obio
file	arch/arm/gemini/gemini_pci.c		pci needs-flag

# GEMINI MAC controller
device	geminigmac { port, intr, phy }: mii, mii_bitbang
attach	geminigmac at obio with geminigmac
file	arch/arm/gemini/gemini_gmac.c		geminigmac needs-flag

device	gmc: ifnet, ether, arp, mii
attach	gmc at geminigmac
file	arch/arm/gemini/if_gmc.c		gmc
@


1.9
log
@add gemini pseudo-nic and support code.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.8 2008/11/26 05:25:27 matt Exp $
d118 1
a118 1
device	geminigmac { port, intr, phy }: mii
d122 1
a122 1
device	gmc: ifnet, mii
@


1.8
log
@Add children of geminiipi
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.7 2008/11/20 22:36:36 cliff Exp $
d50 5
d56 1
a56 1
attach	gpn at geminiipi
@


1.7
log
@add GPIO driver for Gemini
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.6 2008/11/20 08:02:48 cliff Exp $
d23 2
a24 2
device obio: obio, pcibus
attach obio at mainbus
d46 7
a52 3
device geminiipi
attach geminiipi at obio
file arch/arm/gemini/gemini_ipi.c		geminiipi needs-flag
d57 1
a57 1
device geminitmr
d66 2
a67 2
device geminiwdt: sysmon_wdog
file arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
d71 1
a71 1
file arch/arm/gemini/obio_wdt.c			obiowdt
d108 12
a119 3
device gemini_pci: pcibus
attach gemini_pci at obio
file arch/arm/gemini/gemini_pci.c		pci needs-flag
@


1.6
log
@add driver for low level inter-processor-interrupt
provides functions for establish/disestablish IPI ISR,
and function to signal IPI to the other CPU.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.5 2008/11/13 07:21:59 cliff Exp $
d90 4
@


1.5
log
@add option GEMINI_BUSBASE to define kernel offset between
kernel physical addr and (DMA master) bus addr
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.4 2008/11/11 19:54:38 cliff Exp $
d45 4
a48 1

@


1.4
log
@- add option GEMINI_SINGLE for single-core system model
- add "re" interface to GEMINI configuration
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.3 2008/11/09 09:19:44 cliff Exp $
d14 1
@


1.3
log
@- add autoconfig support for wdc at Gemini obio
- add autoconfig support for com type UART on IT8712 superio chip
  attached at lpc bus at lpc host controller at Gemini obio.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.2 2008/10/24 16:48:29 matt Exp $
d17 1
@


1.2
log
@Add EHCI attachment for GEMINI port.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.1 2008/10/24 04:23:18 matt Exp $
d15 2
d69 17
d90 3
d97 1
a97 1
file arch/arm/gemini/gemini_pci.c		pci
@


1.2.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: files.gemini,v 1.10 2008/12/14 01:57:02 matt Exp $
a13 1
defparam opt_gemini.h				GEMINI_BUSBASE: GEMINI
a14 3
defflag opt_gemini.h				GEMINI_MASTER: GEMINI
defflag opt_gemini.h				GEMINI_SLAVE: GEMINI
defflag opt_gemini.h				GEMINI_SINGLE: GEMINI
d19 2
a20 2
device	obio: obio, pcibus
attach	obio at mainbus
d41 1
a41 13
# Gemini inter-processor-interrupts
device	geminiipi {}
attach	geminiipi at obio
file	arch/arm/gemini/gemini_ipi.c		geminiipi needs-flag

# Gemini inter-processor-messages
device	geminiipm {}
attach	geminiipm at geminiipi
file	arch/arm/gemini/gemini_ipm.c		geminiipm needs-flag

device	gpn: ifnet, ether, arp
attach	gpn at geminiipm
file	arch/arm/gemini/if_gpn.c		gpn needs-flag
d46 1
a46 1
device	geminitmr
d55 2
a56 2
device	geminiwdt: sysmon_wdog
file	arch/arm/gemini/gemini_wdt.c		geminiwdt needs-flag
d60 1
a60 1
file	arch/arm/gemini/obio_wdt.c			obiowdt
a66 21
# GEMINI LPC Bus
define  lpcbus  {[addr = -1]}
device	lpc { [ldn=-1], [addr=-1], [size=0], [intr=-1] }
attach	lpc at lpcbus
file	arch/arm/gemini/gemini_lpc.c		lpc needs-count

# GEMINI LPC Host Controller
device	geminilpchc: lpcbus
attach	geminilpchc at obio with obio_lpchc
file	arch/arm/gemini/obio_lpchc.c		obio_lpchc
file	arch/arm/gemini/gemini_lpchc.c		geminilpchc needs-count

# LPC Bus COM UARTs
attach	com at lpc with lpc_com
file	arch/arm/gemini/lpc_com.c		lpc_com

# GEMINI GPIO controllers
device	geminigpio: gpiobus
attach	geminigpio at obio with geminigpio
file	arch/arm/gemini/gemini_gpio.c		geminigpio

a70 3
# GEMINI ATA controller
attach wdc at obio with wdc_obio
file	arch/arm/gemini/obio_wdc.c		wdc_obio
d73 3
a75 12
device	gemini_pci: pcibus
attach	gemini_pci at obio
file	arch/arm/gemini/gemini_pci.c		pci needs-flag

# GEMINI MAC controller
device	geminigmac { port, intr, phy }: mii, mii_bitbang
attach	geminigmac at obio with geminigmac
file	arch/arm/gemini/gemini_gmac.c		geminigmac needs-flag

device	gmc: ifnet, ether, arp, mii
attach	gmc at geminigmac
file	arch/arm/gemini/if_gmc.c		gmc
@


1.1
log
@Add support for Cortina Systems SL3516 eval board.
@
text
@d1 1
a1 1
#	$NetBSD$
d68 2
@

