1# This file (and the kernel config file accompanying it) are not designed 2# to be used by themselves. Instead, users of this file should create a 3# kernel # config file which includes this file (which gets the basic hints), 4# then override the default options (adding devices as needed) and adding 5# hints as needed (for example, the GPIO and LAN PHY.) 6 7# $FreeBSD$ 8 9hint.apb.0.at="nexus0" 10hint.apb.0.irq=4 11 12# mdiobus on arge0 - required to bring up arge0 13hint.argemdio.0.at="nexus0" 14hint.argemdio.0.maddr=0x19000000 15hint.argemdio.0.msize=0x1000 16hint.argemdio.0.order=0 17 18# mdiobus on arge1 - this is what the internal switch is hooked into. 19hint.argemdio.1.at="nexus0" 20hint.argemdio.1.maddr=0x1a000000 21hint.argemdio.1.msize=0x1000 22hint.argemdio.1.order=0 23 24# uart0 25hint.uart.0.at="apb0" 26# see atheros/uart_cpu_ar71xx.c why +3 27hint.uart.0.maddr=0x18020003 28hint.uart.0.msize=0x18 29hint.uart.0.irq=3 30 31# ehci - on IP3 32hint.ehci.0.at="nexus0" 33hint.ehci.0.maddr=0x1b000100 34hint.ehci.0.msize=0x00ffff00 35hint.ehci.0.irq=1 36 37hint.arge.0.at="nexus0" 38hint.arge.0.maddr=0x19000000 39hint.arge.0.msize=0x1000 40hint.arge.0.irq=2 41 42hint.arge.1.at="nexus0" 43hint.arge.1.maddr=0x1a000000 44hint.arge.1.msize=0x1000 45hint.arge.1.irq=3 46 47# XXX The ath device hangs off of the AHB, rather than the Nexus. 48hint.ath.0.at="nexus0" 49hint.ath.0.maddr=0x18100000 50hint.ath.0.msize=0x20000 51hint.ath.0.irq=0 52hint.ath.0.vendor_id=0x168c 53hint.ath.0.device_id=0x003d 54# Set this to define where the ath calibration data 55# should be fetched from in physical memory. 56# hint.ath.0.eepromaddr=0x1fff1000 57 58# SPI flash 59hint.spi.0.at="nexus0" 60hint.spi.0.maddr=0x1f000000 61hint.spi.0.msize=0x10 62 63hint.mx25l.0.at="spibus0" 64hint.mx25l.0.cs=0 65 66# Watchdog 67hint.ar71xx_wdog.0.at="nexus0" 68 69# The GPIO function and pin mask is configured per-board 70hint.gpio.0.at="apb0" 71hint.gpio.0.maddr=0x18040000 72hint.gpio.0.msize=0x1000 73hint.gpio.0.irq=2 74