files.rmixl revision 1.1.2.20 1 # $NetBSD: files.rmixl,v 1.1.2.20 2013/11/05 18:43:31 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 file arch/mips/rmi/rmixl_pcie_subr.c rmixl_pcie | rmixlp_pcie
57
58 # PCI-X
59 device xlpcix: pcibus
60 attach xlpcix at obio with rmixl_pcix # XLR
61 file arch/mips/rmi/rmixl_pcix.c rmixl_pcix needs-flag
62
63 # XLS/XLR Periperal IO Bus to NOR, NAND, and PCMCIA memory controllers
64 define xliobus { [cs=-1], [addr=-1], [size=-1], [intr=-1] }
65 device xliobus: xliobus
66 attach xliobus at obio with xliobus_obio
67 file arch/mips/rmi/rmixl_iobus_space.c xliobus_obio
68 file arch/mips/rmi/rmixl_iobus.c xliobus_obio
69
70 # XL NAND flash controller
71 device xlnand: nandbus
72 attach xlnand at xliobus with xlnand_iobus
73 attach xlnand at pci with xlnand_pci
74 file arch/mips/rmi/rmixl_nand_iobus.c xlnand_iobus
75 file arch/mips/rmi/rmixl_nand_pci.c xlnand_pci
76
77 # NOR controller (XLP equiv of xliobus but for NOR only).
78 device xlnor { [cs=-1] }
79 attach xlnor at pci with xlnor_pci
80 file arch/mips/rmi/rmixl_nor_pci.c xlnor_pci
81 file arch/mips/rmi/rmixl_flash_eb_space.c xlnor_pci
82 file arch/mips/rmi/rmixl_flash_el_space.c xlnor_pci
83
84 device cfi: norbus
85 attach cfi at xliobus with cfi_iobus
86 attach cfi at xlnor with cfi_xlnor
87 file arch/mips/rmi/rmixl_cfi_iobus.c cfi_iobus
88 file arch/mips/rmi/rmixl_cfi_xlnor.c cfi_xlnor
89
90 # PCMCIA controller
91 device xlpcic: pcmciabus
92 attach xlpcic at xliobus
93 file arch/mips/rmi/rmixl_pcic.c xlpcic
94
95 # On-chip USB interface
96 define xlusbi { [addr=-1], [size=-1], [intr=-1] }
97 device xlusbi: xlusbi
98 attach xlusbi at obio with rmixl_usbi
99 file arch/mips/rmi/rmixl_usbi.c rmixl_usbi
100
101 # On-chip OHCI USB controller
102 attach ohci at xlusbi with rmixl_ohci
103 file arch/mips/rmi/rmixl_ohci.c rmixl_ohci
104
105 # On-chip EHCI USB controller
106 attach ehci at xlusbi with rmixl_ehci
107 file arch/mips/rmi/rmixl_ehci.c rmixl_ehci
108
109 # XL PCI SDHC controller
110 device xlsdio { [slot=-1] }
111 attach xlsdio at pci
112 attach sdhc at xlsdio with sdhc_xlsdio
113 file arch/mips/rmi/rmixl_sdio.c xlsdio
114 file arch/mips/rmi/rmixl_sdhc.c sdhc_xlsdio
115
116 # XL Network Acceleration Engine
117 device xlnae { [complex=-1], [lane=-1], [kind=-1], [phy=-1] }
118 attach xlnae at obio with xlnae_obio
119 attach xlnae at pci with xlnae_pci
120 device nae: ether, ifnet, arp, mii
121 attach nae at xlnae with nae_gmac
122 file arch/mips/rmi/rmixl_xlnae_obio.c xlnae_obio
123 file arch/mips/rmi/rmixl_xlnae_pci.c xlnae_pci
124 file arch/mips/rmi/rmixl_xlnae.c xlnae
125 file arch/mips/rmi/rmixl_nae.c nae_gmac
126
127 # XL Fast Messaging Network
128 device xlfmn
129 attach xlfmn at obio with xlfmn_obio
130 attach xlfmn at pci with xlfmn_pci
131 file arch/mips/rmi/rmixl_fmn_obio.c xlfmn_obio
132 file arch/mips/rmi/rmixl_fmn_pci.c xlfmn_pci
133
134 # XL Packet Ordering Engine
135 device xlpoe
136 attach xlpoe at pci with xlpoe_pci
137 file arch/mips/rmi/rmixl_poe_pci.c xlpoe_pci
138
139 # XL Compression/Decompression Engine
140 device xlcde
141 attach xlcde at obio with xlcde_obio
142 attach xlcde at pci with xlcde_pci
143 file arch/mips/rmi/rmixl_cde_obio.c xlcde_obio
144 file arch/mips/rmi/rmixl_cde_pci.c xlcde_pci
145
146 # XL Security Acceleration Engine (AES/etc.)
147 device xlsae
148 attach xlsae at obio with xlsae_obio
149 attach xlsae at pci with xlsae_pci
150 file arch/mips/rmi/rmixl_sae_obio.c xlsae_obio
151 file arch/mips/rmi/rmixl_sae_pci.c xlsae_pci
152
153 # XL Public Key Engine (RSA/ECC)
154 device xlpke
155 attach xlpke at pci with xlpke_pci
156 file arch/mips/rmi/rmixl_pke_pci.c xlpke_pci
157
158 # XL Regular eXpression Engine
159 device xlrxe
160 attach xlrxe at pci with xlrxe_pci
161 file arch/mips/rmi/rmixl_rxe_pci.c xlrxe_pci
162
163 # XL Serial Rapid IO controller
164 device xlsrio
165 attach xlsrio at obio with xlsrio_obio
166 attach xlsrio at pci with xlsrio_pci
167 file arch/mips/rmi/rmixl_srio_obio.c xlsrio_obio
168 file arch/mips/rmi/rmixl_srio_pci.c xlsrio_pci
169
170 # XL I2C controller
171 device xli2c: i2cbus
172 attach xli2c at obio with xli2c_obio
173 attach xli2c at pci with xli2c_pci
174 file arch/mips/rmi/rmixl_i2c_obio.c xli2c_obio
175 file arch/mips/rmi/rmixl_i2c_pci.c xli2c_pci
176
177 # XL SPI controller
178 device xlspi: spibus
179 attach xlspi at pci with xlspi_pci
180 file arch/mips/rmi/rmixl_spi_pci.c xlspi_pci
181
182 # XL GPIO controller
183 device xlgpio: gpiobus
184 attach xlgpio at pci with xlgpio_pci
185 file arch/mips/rmi/rmixl_gpio_pci.c xlgpio_pci
186