xref: /netbsd-src/sys/arch/mips/conf/files.rmixl (revision 4724848cf0da353df257f730694b7882798e5daf)
1#	$NetBSD: files.rmixl,v 1.4 2011/03/18 02:13:46 cliff Exp $
2#
3# Configuration info for RMI XLP, XLR, XLS
4#
5
6file	arch/mips/rmi/rmixl_spl.S
7file	arch/mips/rmi/rmixl_intr.c
8file	arch/mips/rmi/rmixl_subr.S
9file	arch/mips/rmi/rmixl_fmn.c
10
11
12# node is parent of one or more core
13device	cpunode { [ core = -1] }
14attach	cpunode at mainbus with cpunode_rmixl
15file	arch/mips/rmi/rmixl_cpunode.c		cpunode_rmixl
16
17# core is parent of one or more cpu
18device	cpucore { [ thread = -1] }
19attach	cpucore at cpunode with cpucore_rmixl
20file	arch/mips/rmi/rmixl_cpucore.c		cpucore_rmixl
21
22# each cpu is a RMI 'thread' or 'vCPU'
23device	cpu
24attach	cpu at cpucore with cpu_rmixl
25file	arch/mips/rmi/rmixl_cpu.c		cpu_rmixl
26
27# OBIO: offsets are from System Bridge Controller base
28define obio { [addr=-1], [size=0], [intr=-1], [tmsk=-1], [mult=1] }
29device	obio: obio
30attach	obio at cpunode with obio_rmixl
31file	arch/mips/rmi/rmixl_obio.c		obio_rmixl
32file    arch/mips/rmi/rmixl_obio_eb_space.c	obio_rmixl
33file    arch/mips/rmi/rmixl_obio_el_space.c	obio_rmixl
34file    arch/mips/rmi/rmixl_pci_cfg_space.c	rmixl_pcix | rmixl_pcie
35file    arch/mips/rmi/rmixl_pci_ecfg_space.c	rmixl_pcie
36file    arch/mips/rmi/rmixl_pci_io_space.c	rmixl_pcix | rmixl_pcie
37file    arch/mips/rmi/rmixl_pci_mem_space.c	rmixl_pcix | rmixl_pcie
38
39# NS16550 compatible serial ports
40attach com at obio with com_rmixl
41file	arch/mips/rmi/rmixl_com.c		com_rmixl
42defparam opt_com.h				CONSADDR CONSFREQ CONSPEED CONMODE
43
44# GPIO
45device	rmixl_gpio: gpiobus
46attach	rmixl_gpio at obio
47file	arch/mips/rmi/rmixl_gpio.c		rmixl_gpio
48
49# PCIe
50device  rmixl_pcie: pcibus
51attach  rmixl_pcie at obio
52file    arch/mips/rmi/rmixl_pcie.c		rmixl_pcie	needs-flag
53
54# PCI-X
55device  rmixl_pcix: pcibus
56attach  rmixl_pcix at obio
57file    arch/mips/rmi/rmixl_pcix.c		rmixl_pcix	needs-flag
58
59# RMI Periperal IO Bus to Flash, PCMCIA memory controllers
60define	rmixl_iobus { [cs=-1], [addr=-1], [size=-1], [intr=-1] }
61device	rmixl_iobus: rmixl_iobus
62attach  rmixl_iobus at obio
63file    arch/mips/rmi/rmixl_iobus_space.c	rmixl_iobus
64file    arch/mips/rmi/rmixl_iobus.c		rmixl_iobus
65
66# NAND flash controller
67device	rmixl_nand: nandbus
68attach  rmixl_nand at rmixl_iobus
69file    arch/mips/rmi/rmixl_nand.c		rmixl_nand
70
71# PCMCIA controller
72device	rmixl_pcic: pcmciabus
73attach  rmixl_pcic at rmixl_iobus
74file    arch/mips/rmi/rmixl_pcic.c		rmixl_pcic
75
76# On-chip USB interface
77define rmixl_usbi { [addr=-1], [size=-1], [intr=-1] }
78device	rmixl_usbi: rmixl_usbi
79attach	rmixl_usbi at obio
80file	arch/mips/rmi/rmixl_usbi.c		rmixl_usbi
81
82# On-chip OHCI USB controller
83attach	ohci at rmixl_usbi with rmixl_ohci
84file	arch/mips/rmi/rmixl_ohci.c		ohci
85
86# On-chip EHCI USB controller
87attach	ehci at rmixl_usbi with rmixl_ehci
88file	arch/mips/rmi/rmixl_ehci.c		ehci
89
90