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