1# $NetBSD: files.booke,v 1.5 2011/07/25 23:26:03 matt Exp $ 2# 3# PPC BookE specific configuration info 4 5#include "arch/powerpc/fpu/files.fpu" 6 7# Board Properties 8file arch/powerpc/booke/board_prop.c 9 10device mainbus {[node = -1]} 11attach mainbus at root 12 13# Processor Local Bus 14#device cpunode {[device = -1], [core = -1]}: gpiobus 15device cpunode {[instance = -1]}: gpiobus 16attach cpunode at mainbus 17file arch/powerpc/booke/dev/cpunode.c cpunode 18file arch/powerpc/booke/dev/pq3gpio.c cpunode & gpio 19 20device cpu {} 21attach cpu at cpunode 22 23device ddrc 24attach ddrc at cpunode with pq3ddrc 25file arch/powerpc/booke/dev/pq3ddrc.c pq3ddrc 26 27# On-chip com device(s) 28device duart { port=-1 } 29attach duart at cpunode with pq3duart 30attach com at duart with com_pq3duart 31file arch/powerpc/booke/dev/pq3duart.c pq3duart 32 33# dual i2c device(s) 34device diic: motoi2c, i2cbus, i2cexec 35attach diic at cpunode with pq3diic 36file arch/powerpc/booke/dev/pq3diic.c pq3diic 37 38# On-chip ethernet device(s) 39device tsec: ether, ifnet, arp, mii 40attach tsec at cpunode with pq3etsec 41file arch/powerpc/booke/dev/pq3etsec.c pq3etsec 42 43# On-chip EHCI device(s) 44attach ehci at cpunode with pq3ehci 45file arch/powerpc/booke/dev/pq3ehci.c pq3ehci 46 47# On-chip SDHC device(s) 48attach sdhc at cpunode with pq3sdhc 49file arch/powerpc/booke/dev/pq3sdhc.c pq3sdhc 50 51# Watchdog timer 52device e500wdog: sysmon_wdog 53attach e500wdog at cpunode 54file arch/powerpc/booke/dev/e500wdog.c e500wdog 55 56# local bus controller 57device obio { [addr=-1], [size=-1], [cs=-1], [irq=-1] } 58attach obio at cpunode with pq3obio 59file arch/powerpc/booke/dev/pq3obio.c pq3obio 60 61device cfi: norbus 62attach cfi at obio with pq3cfi 63file arch/powerpc/booke/dev/pq3cfi.c pq3cfi 64 65device nandfcm: nandbus 66attach nandfcm at obio with pq3nandfcm 67file arch/powerpc/booke/dev/pq3nandfcm.c pq3nandfcm 68 69device rng 70attach rng at cpunode with pq3rng 71file arch/powerpc/booke/dev/pq3rng.c pq3rng 72