Home | History | Annotate | Line # | Download | only in conf
files.rmixl revision 1.1.2.16
      1 #	$NetBSD: files.rmixl,v 1.1.2.16 2011/12/28 05:36:10 matt 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], [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_eb_space.c	rmixlp_pcie
     35 file    arch/mips/rmi/rmixl_pci_cfg_el_space.c	rmixl_pcix | rmixl_pcie
     36 file    arch/mips/rmi/rmixl_pci_ecfg_eb_space.c	rmixlp_pcie
     37 file    arch/mips/rmi/rmixl_pci_ecfg_el_space.c	rmixl_pcie | rmixlp_pcie
     38 file    arch/mips/rmi/rmixl_pci_io_space.c	rmixl_pcix | rmixl_pcie | rmixlp_pcie
     39 file    arch/mips/rmi/rmixl_pci_mem_space.c	rmixl_pcix | rmixl_pcie | rmixlp_pcie
     40 
     41 # NS16550 compatible serial ports
     42 attach com at obio with com_rmixl
     43 attach com at pci with com_pci
     44 file	arch/mips/rmi/com_pci.c			com_pci
     45 file	arch/mips/rmi/rmixl_com.c		com_rmixl
     46 defparam opt_com.h				CONSADDR CONSFREQ CONSPEED CONMODE
     47 
     48 # PCIe
     49 device  rmixl_pcie: pcibus
     50 attach  rmixl_pcie at obio			# XLS
     51 file    arch/mips/rmi/rmixl_pcie.c		rmixl_pcie	needs-flag
     52 
     53 device  rmixlp_pcie: pcibus
     54 attach  rmixlp_pcie at mainbus			# XLP
     55 file    arch/mips/rmi/rmixlp_pcie.c		rmixlp_pcie	needs-flag
     56 
     57 # PCI-X
     58 device  rmixl_pcix: pcibus
     59 attach  rmixl_pcix at obio			# 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 # 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 rmixl_usbi { [addr=-1], [size=-1], [intr=-1] }
     96 device	rmixl_usbi: rmixl_usbi
     97 attach	rmixl_usbi at obio
     98 file	arch/mips/rmi/rmixl_usbi.c		rmixl_usbi
     99 
    100 # On-chip OHCI USB controller
    101 attach	ohci at rmixl_usbi with rmixl_ohci
    102 file	arch/mips/rmi/rmixl_ohci.c		rmixl_ohci
    103 
    104 # On-chip EHCI USB controller
    105 attach	ehci at rmixl_usbi with rmixl_ehci
    106 file	arch/mips/rmi/rmixl_ehci.c		rmixl_ehci
    107 
    108 # 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 NAE controller
    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 I2C controller
    127 device	xli2c: i2cbus
    128 attach	xli2c at obio with xli2c_obio
    129 attach	xli2c at pci with xli2c_pci
    130 file	arch/mips/rmi/rmixl_i2c_obio.c		xli2c_obio
    131 file	arch/mips/rmi/rmixl_i2c_pci.c		xli2c_pci
    132 
    133 # XL SPI controller
    134 device	xlspi: spibus
    135 attach	xlspi at pci with xlspi_pci
    136 file	arch/mips/rmi/rmixl_spi_pci.c		xlspi_pci
    137