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 7hint.apb.0.at="nexus0" 8# The default APB is on IP6 (irq4); we need to add 9# the two new ones (IP2, IP3) to this and extend 10# the irq ranges appropriately. 11hint.apb.0.irq=4 12 13# ART calibration data mapping device 14hint.ar71xx_caldata.0.at="nexus0" 15hint.ar71xx_caldata.0.order=0 16 17# uart0 18hint.uart.0.at="apb0" 19# NB: This isn't an ns8250 UART 20hint.uart.0.maddr=0x18020003 21hint.uart.0.msize=0x18 22hint.uart.0.irq=3 23 24# ehci - on IP3 25hint.ehci.0.at="nexus0" 26hint.ehci.0.maddr=0x1b000100 27hint.ehci.0.msize=0x00001000 28hint.ehci.0.irq=1 29 30hint.ehci.1.at="nexus0" 31hint.ehci.1.maddr=0x1b400100 32hint.ehci.1.msize=0x00001000 33hint.ehci.1.irq=1 34 35# PCIe 1: qca955x_int0 (IP2) 36 37# pci - XXX no maddr/msize, grr! 38hint.pcib.0.at="nexus0" 39hint.pcib.0.irq=0 40 41# PCIe 1: qca955x_int1 (IP3) 42hint.pcib.1.at="nexus0" 43hint.pcib.1.irq=1 44 45# IP4 46hint.arge.0.at="nexus0" 47hint.arge.0.maddr=0x19000000 48hint.arge.0.msize=0x1000 49hint.arge.0.irq=2 50 51# IP5 52hint.arge.1.at="nexus0" 53hint.arge.1.maddr=0x1a000000 54hint.arge.1.msize=0x1000 55hint.arge.1.irq=3 56 57# ath0 - connected via IP2 mux 58hint.ath.0.at="nexus0" 59hint.ath.0.maddr=0x18100000 60hint.ath.0.msize=0x20000 61hint.ath.0.irq=0 62hint.ath.0.vendor_id=0x168c 63hint.ath.0.device_id=0x0039 64 65# Where the ART is - last 64k in the first 8MB of flash 66#hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000 67#hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384 68 69# And now tell the ath(4) driver where to look! 70#hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware" 71 72# SPI flash 73hint.spi.0.at="nexus0" 74hint.spi.0.maddr=0x1f000000 75hint.spi.0.msize=0x10 76 77hint.mx25l.0.at="spibus0" 78hint.mx25l.0.cs=0 79 80# Watchdog 81hint.ar71xx_wdog.0.at="nexus0" 82 83# The GPIO function and pin mask is configured per-board 84hint.gpio.0.at="apb0" 85hint.gpio.0.maddr=0x18040000 86hint.gpio.0.msize=0x1000 87hint.gpio.0.irq=2 88