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# ART calibration data mapping device 13hint.ar71xx_caldata.0.at="nexus0" 14hint.ar71xx_caldata.0.order=0 15 16# mdiobus on arge0 - required to bring up arge0 17hint.argemdio.0.at="nexus0" 18hint.argemdio.0.maddr=0x19000000 19hint.argemdio.0.msize=0x1000 20hint.argemdio.0.order=0 21 22# mdiobus on arge1 - this is what the internal switch is hooked into. 23hint.argemdio.1.at="nexus0" 24hint.argemdio.1.maddr=0x1a000000 25hint.argemdio.1.msize=0x1000 26hint.argemdio.1.order=0 27 28# uart0 29hint.uart.0.at="apb0" 30# see atheros/uart_cpu_ar71xx.c why +3 31hint.uart.0.maddr=0x18020003 32hint.uart.0.msize=0x18 33hint.uart.0.irq=3 34 35# ehci - on IP3 36hint.ehci.0.at="nexus0" 37hint.ehci.0.maddr=0x1b000100 38hint.ehci.0.msize=0x00ffff00 39hint.ehci.0.irq=1 40 41hint.arge.0.at="nexus0" 42hint.arge.0.maddr=0x19000000 43hint.arge.0.msize=0x1000 44hint.arge.0.irq=2 45 46hint.arge.1.at="nexus0" 47hint.arge.1.maddr=0x1a000000 48hint.arge.1.msize=0x1000 49hint.arge.1.irq=3 50 51# XXX The ath device hangs off of the AHB, rather than the Nexus. 52hint.ath.0.at="nexus0" 53hint.ath.0.maddr=0x18100000 54hint.ath.0.msize=0x20000 55hint.ath.0.irq=0 56hint.ath.0.vendor_id=0x168c 57hint.ath.0.device_id=0x003d 58# Where the ART is - last 64k in the first 8MB of flash 59#hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000 60#hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384 61 62# And now tell the ath(4) driver where to look! 63#hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware" 64 65# SPI flash 66hint.spi.0.at="nexus0" 67hint.spi.0.maddr=0x1f000000 68hint.spi.0.msize=0x10 69 70hint.mx25l.0.at="spibus0" 71hint.mx25l.0.cs=0 72 73# Watchdog 74hint.ar71xx_wdog.0.at="nexus0" 75 76# The GPIO function and pin mask is configured per-board 77hint.gpio.0.at="apb0" 78hint.gpio.0.maddr=0x18040000 79hint.gpio.0.msize=0x1000 80hint.gpio.0.irq=2 81