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