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