Home | History | Annotate | Line # | Download | only in conf
      1 #	$NetBSD: files.ibm4xx,v 1.15 2013/11/21 13:33:15 kiyohara Exp $
      2 #
      3 # IBM 4xx specific configuration info
      4 
      5 include "arch/powerpc/fpu/files.fpu"
      6 include "arch/powerpc/pic/files.pic"
      7 
      8 defflag opt_uic.h			MULTIUIC
      9 file	arch/powerpc/ibm4xx/pic_uic.c
     10 
     11 # Board Properties
     12 file	arch/powerpc/ibm4xx/board_prop.c
     13 
     14 # Processor Local Bus
     15 device	plb {[addr = -1], [irq = -1]}
     16 attach	plb at root
     17 file	arch/powerpc/ibm4xx/dev/plb.c		plb
     18 
     19 # On-chip Peripheral Bus
     20 device	opb {[addr = -1], [irq = -1]}
     21 attach	opb at plb
     22 file	arch/powerpc/ibm4xx/dev/opb.c		opb
     23 
     24 device	cpu {}
     25 attach	cpu at plb
     26 file	arch/powerpc/ibm4xx/cpu.c
     27 
     28 device	ecc
     29 attach	ecc at plb with ecc_plb
     30 file	arch/powerpc/ibm4xx/dev/ecc_plb.c	ecc_plb
     31 
     32 # On-chip com device(s)
     33 attach	com at opb with com_opb
     34 file	arch/powerpc/ibm4xx/dev/com_opb.c	com_opb
     35 
     36 # On-chip GPIO controller
     37 device	opbgpio: gpiobus
     38 attach	opbgpio at opb
     39 file	arch/powerpc/ibm4xx/dev/gpio_opb.c	opbgpio
     40 
     41 # On-chip ethernet device(s)
     42 device	emac: ether, ifnet, arp, mii
     43 attach	emac at opb
     44 file	arch/powerpc/ibm4xx/dev/if_emac.c	emac	needs-flag
     45 file	arch/powerpc/ibm4xx/dev/mal.c		emac
     46 defflag	opt_emac.h	EMAC_ZMII_PHY EMAC_RGMII_PHY
     47 #file	arch/powerpc/ibm4xx/dev/zmii.c		emac_zmii_phy
     48 file	arch/powerpc/ibm4xx/dev/rgmii.c		emac_rgmii_phy
     49 
     50 # Watchdog timer
     51 device	wdog: sysmon_wdog
     52 attach	wdog at opb
     53 file	arch/powerpc/ibm4xx/dev/wdog.c		wdog
     54 
     55 
     56 # Machine-independent I2O drivers.
     57 include	"dev/i2o/files.i2o"
     58 
     59 # PCI bus support
     60 include	"dev/pci/files.pci"
     61 
     62 # On-chip PCI bridge
     63 device	pchb : pcibus
     64 attach	pchb at plb
     65 file	arch/powerpc/ibm4xx/pci/pchb.c		pchb
     66 file	arch/powerpc/ibm4xx/pci/pci_machdep.c	pci
     67 file	arch/powerpc/ibm4xx/dev/ibm405gp.c	pchb | pci
     68 file	arch/powerpc/pci/pci_machdep_common.c	pci
     69 file	arch/powerpc/pci/pci_module.c		pci & modular
     70 
     71 # On-chip IIC controller
     72 device	gpiic: i2cbus, i2c_bitbang
     73 attach	gpiic at opb
     74 file	arch/powerpc/ibm4xx/dev/gpiic_opb.c	gpiic
     75 
     76 # External bus
     77 #device exb {[addr = -1]}
     78 #attach exb at plb
     79 #file	arch/powerpc/ibm4xx/dev/exb.c		exb
     80 
     81 # On-chip USB OTG bridge (Synopsys DesigneWave OTG)
     82 attach dwctwo at plb with dwctwo_plb
     83 file	arch/powerpc/ibm4xx/dev/dwctwo_plb.c	dwctwo_plb
     84