files.rmixl revision 1.1.2.18 1 # $NetBSD: files.rmixl,v 1.1.2.18 2012/01/04 16:17:53 matt Exp $
2 #
3 # Configuration info for RMI XLP, XLR, XLS
4 #
5
6 file arch/mips/rmi/rmixl_fmn.c
7 file arch/mips/rmi/rmixl_intr.c
8 file arch/mips/rmi/rmixl_machdep.c
9 file arch/mips/rmi/rmixl_spl.S
10 file arch/mips/rmi/rmixl_subr.S
11
12
13 # node is parent of one or more core
14 device cpunode { [ core = -1] }
15 attach cpunode at mainbus with cpunode_rmixl
16 file arch/mips/rmi/rmixl_cpunode.c cpunode_rmixl
17
18 # core is parent of one or more cpu
19 device cpucore { [ thread = -1] }
20 attach cpucore at cpunode with cpucore_rmixl
21 file arch/mips/rmi/rmixl_cpucore.c cpucore_rmixl
22
23 # each cpu is a RMI 'thread' or 'vCPU'
24 device cpu
25 attach cpu at cpucore with cpu_rmixl
26 file arch/mips/rmi/rmixl_cpu.c cpu_rmixl
27
28 # OBIO: offsets are from System Bridge Controller base
29 define obio { [addr=-1], [size=0], [intr=-1], [mult=1] }
30 device obio: obio
31 attach obio at cpunode with obio_rmixl
32 file arch/mips/rmi/rmixl_obio.c obio_rmixl
33 file arch/mips/rmi/rmixl_obio_eb_space.c obio_rmixl
34 file arch/mips/rmi/rmixl_obio_el_space.c obio_rmixl
35 file arch/mips/rmi/rmixl_pci_cfg_eb_space.c rmixlp_pcie
36 file arch/mips/rmi/rmixl_pci_cfg_el_space.c rmixl_pcix | rmixl_pcie
37 file arch/mips/rmi/rmixl_pci_ecfg_eb_space.c rmixlp_pcie
38 file arch/mips/rmi/rmixl_pci_ecfg_el_space.c rmixl_pcie | rmixlp_pcie
39 file arch/mips/rmi/rmixl_pci_io_space.c rmixl_pcix | rmixl_pcie | rmixlp_pcie
40 file arch/mips/rmi/rmixl_pci_el_mem_space.c rmixl_pcix | rmixl_pcie | rmixlp_pcie
41 file arch/mips/rmi/rmixl_pci_eb_mem_space.c rmixlp_pcie
42
43 # NS16550 compatible serial ports
44 attach com at obio with com_rmixl
45 attach com at pci with com_pci
46 file arch/mips/rmi/com_pci.c com_pci
47 file arch/mips/rmi/rmixl_com.c com_rmixl
48 defparam opt_com.h CONSADDR CONSFREQ CONSPEED CONMODE
49
50 # PCIe
51 device xlpcie: pcibus
52 attach xlpcie at obio with rmixl_pcie # XLS
53 attach xlpcie at mainbus with rmixlp_pcie # XLP
54 file arch/mips/rmi/rmixl_pcie.c rmixl_pcie needs-flag
55 file arch/mips/rmi/rmixlp_pcie.c rmixlp_pcie needs-flag
56
57 # PCI-X
58 device xlpcix: pcibus
59 attach xlpcix at obio with rmixl_pcix # XLR
60 file arch/mips/rmi/rmixl_pcix.c rmixl_pcix needs-flag
61
62 # XLS/XLR Periperal IO Bus to NOR, NAND, and PCMCIA memory controllers
63 define xliobus { [cs=-1], [addr=-1], [size=-1], [intr=-1] }
64 device xliobus: xliobus
65 attach xliobus at obio with xliobus_obio
66 file arch/mips/rmi/rmixl_iobus_space.c xliobus_obio
67 file arch/mips/rmi/rmixl_iobus.c xliobus_obio
68
69 # XL NAND flash controller
70 device xlnand: nandbus
71 attach xlnand at xliobus with xlnand_iobus
72 attach xlnand at pci with xlnand_pci
73 file arch/mips/rmi/rmixl_nand_iobus.c xlnand_iobus
74 file arch/mips/rmi/rmixl_nand_pci.c xlnand_pci
75
76 # NOR controller (XLP equiv of xliobus but for NOR only).
77 device xlnor { [cs=-1] }
78 attach xlnor at pci with xlnor_pci
79 file arch/mips/rmi/rmixl_nor_pci.c xlnor_pci
80 file arch/mips/rmi/rmixl_flash_eb_space.c xlnor_pci
81 file arch/mips/rmi/rmixl_flash_el_space.c xlnor_pci
82
83 device cfi: norbus
84 attach cfi at xliobus with cfi_iobus
85 attach cfi at xlnor with cfi_xlnor
86 file arch/mips/rmi/rmixl_cfi_iobus.c cfi_iobus
87 file arch/mips/rmi/rmixl_cfi_xlnor.c cfi_xlnor
88
89 # PCMCIA controller
90 device xlpcic: pcmciabus
91 attach xlpcic at xliobus
92 file arch/mips/rmi/rmixl_pcic.c xlpcic
93
94 # On-chip USB interface
95 define xlusbi { [addr=-1], [size=-1], [intr=-1] }
96 device xlusbi: xlusbi
97 attach xlusbi at obio with rmixl_usbi
98 file arch/mips/rmi/rmixl_usbi.c rmixl_usbi
99
100 # On-chip OHCI USB controller
101 attach ohci at xlusbi with rmixl_ohci
102 file arch/mips/rmi/rmixl_ohci.c rmixl_ohci
103
104 # On-chip EHCI USB controller
105 attach ehci at xlusbi with rmixl_ehci
106 file arch/mips/rmi/rmixl_ehci.c rmixl_ehci
107
108 # XL PCI SDHC controller
109 device xlsdio { [slot=-1] }
110 attach xlsdio at pci
111 attach sdhc at xlsdio with sdhc_xlsdio
112 file arch/mips/rmi/rmixl_sdio.c xlsdio
113 file arch/mips/rmi/rmixl_sdhc.c sdhc_xlsdio
114
115 # XL Network Acceleration Engine
116 device xlnae { [port=-1] }
117 attach xlnae at obio with xlnae_obio
118 attach xlnae at pci with xlnae_pci
119 device nae: ether, ifnet, arp, mii
120 attach nae at xlnae
121 file arch/mips/rmi/rmixl_xlnae_obio.c xlnae_obio
122 file arch/mips/rmi/rmixl_xlnae_pci.c xlnae_pci
123 file arch/mips/rmi/rmixl_xlnae.c xlnae
124 file arch/mips/rmi/rmixl_nae.c nae
125
126 # XL Fast Messaging Network
127 device xlfmn
128 attach xlfmn at obio with xlfmn_obio
129 attach xlfmn at pci with xlfmn_pci
130 file arch/mips/rmi/rmixl_xlfmn_obio.c xlfmn_obio
131 file arch/mips/rmi/rmixl_xlfmn_pci.c xlfmn_pci
132
133 # XL Packet Ordering Engine
134 device xlpoe
135 attach xlpoe at pci with xlpoe_pci
136 file arch/mips/rmi/rmixl_xlpoe_pci.c xlpoe_pci
137
138 # XL Compression/Decompression Engine
139 device xlcde
140 attach xlcde at obio with xlcde_obio
141 attach xlcde at pci with xlcde_pci
142 file arch/mips/rmi/rmixl_xlcde_obio.c xlcde_obio
143 file arch/mips/rmi/rmixl_xlcde_pci.c xlcde_pci
144
145 # XL Security Acceleration Engine (AES/etc.)
146 device xlsae
147 attach xlsae at obio with xlsae_obio
148 attach xlsae at pci with xlsae_pci
149 file arch/mips/rmi/rmixl_xlsae_obio.c xlsae_obio
150 file arch/mips/rmi/rmixl_xlsae_pci.c xlsae_pci
151
152 # XL Public Key Engine (RSA/ECC)
153 device xlpke
154 attach xlpke at pci with xlpke_pci
155 file arch/mips/rmi/rmixl_xlpke_pci.c xlpke_pci
156
157 # XL Regular eXpression Engine
158 device xlrxe
159 attach xlrxe at pci with xlrxe_pci
160 file arch/mips/rmi/rmixl_xlrxe_pci.c xlrxe_pci
161
162 # XL Serial Rapid IO controller
163 device xlsrio
164 attach xlsrio at obio with xlsrio_obio
165 attach xlsrio at pci with xlsrio_pci
166 file arch/mips/rmi/rmixl_xlsrio_obio.c xlsrio_obio
167 file arch/mips/rmi/rmixl_xlsrio_pci.c xlsrio_pci
168
169 # XL I2C controller
170 device xli2c: i2cbus
171 attach xli2c at obio with xli2c_obio
172 attach xli2c at pci with xli2c_pci
173 file arch/mips/rmi/rmixl_i2c_obio.c xli2c_obio
174 file arch/mips/rmi/rmixl_i2c_pci.c xli2c_pci
175
176 # XL SPI controller
177 device xlspi: spibus
178 attach xlspi at pci with xlspi_pci
179 file arch/mips/rmi/rmixl_spi_pci.c xlspi_pci
180
181 # XL GPIO controller
182 device xlgpio: gpiobus
183 attach xlgpio at pci with xlgpio_pci
184 file arch/mips/rmi/rmixl_gpio_pci.c xlgpio_pci
185