files.virtex revision 1.1 1 # $NetBSD: files.virtex,v 1.1 2006/12/02 22:18:47 freza Exp $
2 #
3 # Xilinx Virtex specific configuration
4
5 defparam opt_virtex.h PHYSMEM
6 defparam opt_virtex.h CPUFREQ
7 defparam opt_virtex.h IDCR_BASE
8 defflag opt_virtex.h DESIGN_GSRD1 DESIGN_GSRD2
9 defflag opt_virtex.h DESIGN_DFC
10 defparam opt_xintc.h DCR_XINTC_BASE
11 defparam opt_cons.h CONADDR CONSDEV
12
13 file arch/powerpc/powerpc/softintr.c
14 file arch/powerpc/ibm4xx/intr.c
15
16 file arch/evbppc/virtex/autoconf.c
17 file arch/evbppc/virtex/consinit.c
18 file arch/evbppc/virtex/machdep.c
19 file arch/evbppc/virtex/dcr.c
20
21 file arch/evbppc/virtex/design_gsrd1.c design_gsrd1
22 file arch/evbppc/virtex/design_gsrd2.c design_gsrd2 | design_dfc
23
24 # Board Properties
25 file arch/powerpc/ibm4xx/board_prop.c
26
27 # Memory Disk for install kernel
28 file dev/md_root.c memory_disk_hooks
29
30 # FPU emulation
31 include "arch/powerpc/fpu/files.fpu"
32
33 # Workstation console and related
34 include "dev/wscons/files.wscons"
35 include "dev/wsfont/files.wsfont"
36 include "dev/rasops/files.rasops"
37
38 # MI drivers
39 include "dev/pckbport/files.pckbport"
40
41 # Pseudo busses provided by xcvbus
42 define llbus { } # LocalLink
43 define plbus { } # PLB
44 define xcvbus { } # generic
45
46 # Processor Local Bus XXX files.ibm4xx
47 device plb { [irq = -1] }
48 attach plb at root
49 file arch/powerpc/ibm4xx/dev/plb.c plb
50
51 # Processor XXX files.ibm4xx
52 device cpu { }
53 attach cpu at plb
54 file arch/powerpc/ibm4xx/cpu.c
55
56 # Effective mainbus
57 device xcvbus: xcvbus, plbus, llbus
58 attach xcvbus at plb
59 file arch/evbppc/virtex/dev/xcvbus.c xcvbus
60
61 # TEMAC ethernet core XXX at llbus, really
62 device temac: ether, ifnet, arp, mii
63 attach temac at xcvbus
64 file arch/evbppc/virtex/dev/if_temac.c temac
65
66 # LocalLink TFT controller
67 device tft: rasops32, splash, vcons, wsemuldisplaydev
68 file arch/evbppc/virtex/dev/tft.c tft
69
70 attach tft at llbus with ll_tft
71 file arch/evbppc/virtex/dev/tft_ll.c ll_tft
72
73 attach tft at plbus with plb_tft
74 file arch/evbppc/virtex/dev/tft_plb.c plb_tft
75
76 # UartLite serial port core
77 device xlcom: tty
78 attach xlcom at xcvbus
79 file arch/evbppc/virtex/dev/xlcom.c xlcom needs-flag
80
81 # PS2 link core
82 device pstwo: pckbport
83 attach pstwo at xcvbus
84 file arch/evbppc/virtex/dev/pstwo.c pstwo
85