1221259Sadrian# $FreeBSD$ 2221259Sadrianhint.apb.0.at="nexus0" 3221259Sadrianhint.apb.0.irq=4 4221259Sadrian 5221259Sadrian# uart0 6221259Sadrianhint.uart.0.at="apb0" 7221259Sadrian# see atheros/uart_cpu_ar71xx.c why +3 8221259Sadrianhint.uart.0.maddr=0x18020003 9221259Sadrianhint.uart.0.msize=0x18 10221259Sadrianhint.uart.0.irq=3 11221259Sadrian 12221259Sadrian#ehci - note the 0x100 offset for the AR913x/AR724x 13221259Sadrianhint.ehci.0.at="nexus0" 14221259Sadrianhint.ehci.0.maddr=0x1b000100 15221259Sadrianhint.ehci.0.msize=0x00ffff00 16221259Sadrianhint.ehci.0.irq=1 17221259Sadrian 18221259Sadrian# pci 19221259Sadrianhint.pcib.0.at="nexus0" 20221259Sadrianhint.pcib.0.irq=0 21221259Sadrian 22221259Sadrian# arge0 23221259Sadrianhint.arge.0.at="nexus0" 24221259Sadrianhint.arge.0.maddr=0x19000000 25221259Sadrianhint.arge.0.msize=0x1000 26221259Sadrianhint.arge.0.irq=2 27221259Sadrian 28221321Sadrian# AR8316 workaround for now 29221321Sadrianhint.arge.0.media=1000 30221321Sadrianhint.arge.0.fduplex=1 31221321Sadrianhint.arge.0.phymask=0x3 32221321Sadrian 33221259Sadrian# GPIO 34221259Sadrianhint.gpio.0.at="apb0" 35221259Sadrianhint.gpio.0.maddr=0x18040000 36221259Sadrianhint.gpio.0.msize=0x1000 37221259Sadrianhint.gpio.0.irq=2 38221259Sadrian 39221259Sadrian# Signal leds 40221259Sadrianhint.gpioled.0.at="gpiobus0" 41221259Sadrianhint.gpioled.0.name="sig1" 42221259Sadrianhint.gpioled.0.pins=0x0001 # pin 0 43221259Sadrianhint.gpioled.1.at="gpiobus0" 44221259Sadrianhint.gpioled.1.name="sig2" 45221259Sadrianhint.gpioled.1.pins=0x0002 # pin 1 46221259Sadrianhint.gpioled.2.at="gpiobus0" 47221259Sadrianhint.gpioled.2.name="sig3" 48221259Sadrianhint.gpioled.2.pins=0x0800 # pin 11 49221259Sadrianhint.gpioled.3.at="gpiobus0" 50221259Sadrianhint.gpioled.3.name="sig4" 51221259Sadrianhint.gpioled.3.pins=0x0080 # pin 7 52221259Sadrian 53221259Sadrian# SPI controller/bus 54221259Sadrianhint.spi.0.at="nexus0" 55221259Sadrianhint.spi.0.maddr=0x1f000000 56221259Sadrianhint.spi.0.msize=0x10 57221259Sadrian 58221259Sadrian# SPI flash 59221259Sadrianhint.mx25l.0.at="spibus0" 60221259Sadrianhint.mx25l.0.cs=0 61221259Sadrian 62221259Sadrian# Watchdog 63221259Sadrianhint.ar71xx_wdog.0.at="nexus0" 64221489Sadrian 65221489Sadrian# nvram mapping - XXX ? 66221489Sadrianhint.nvram.0.base=0x1f030000 67221489Sadrianhint.nvram.0.maxsize=0x2000 68221489Sadrianhint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic 69221489Sadrianhint.nvram.1.base=0x1f032000 70221489Sadrianhint.nvram.1.maxsize=0x4000 71221489Sadrianhint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic 72221489Sadrian 73221489Sadrian# GEOM_MAP 74221489Sadrian# 75221489Sadrian# From my PB92 environment: 76221489Sadrian# 77221489Sadrian# mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART) 78221489Sadrian 79221489Sadrianhint.map.0.at="flash/spi0" 80221489Sadrianhint.map.0.start=0x00000000 81221489Sadrianhint.map.0.end=0x00040000 # 256k u-boot 82221489Sadrianhint.map.0.name="u-boot" 83221489Sadrianhint.map.0.readonly=1 84221489Sadrian 85221489Sadrianhint.map.1.at="flash/spi0" 86221489Sadrianhint.map.1.start=0x00040000 87221489Sadrianhint.map.1.end=0x00050000 # 64k u-boot-env 88221489Sadrianhint.map.1.name="u-boot-env" 89221489Sadrianhint.map.1.readonly=0 90221489Sadrian 91221489Sadrianhint.map.2.at="flash/spi0" 92221489Sadrianhint.map.2.start=0x00050000 93221489Sadrianhint.map.2.end=0x00300000 # 2752k rootfs 94221489Sadrianhint.map.2.name="rootfs" 95221489Sadrianhint.map.2.readonly=1 96221489Sadrian 97221489Sadrianhint.map.3.at="flash/spi0" 98221489Sadrianhint.map.3.start=0x00300000 99221489Sadrianhint.map.3.end=0x003e0000 # 896k uImage 100221489Sadrianhint.map.3.name="uImage" 101221489Sadrianhint.map.3.readonly=0 102221489Sadrian 103221489Sadrianhint.map.4.at="flash/spi0" 104221489Sadrianhint.map.4.start=0x003e0000 105221489Sadrianhint.map.4.end=0x003f0000 # 64k NVRAM 106221489Sadrianhint.map.4.name="NVRAM" 107221489Sadrianhint.map.4.readonly=0 108221489Sadrian 109221489Sadrianhint.map.5.at="flash/spi0" 110221489Sadrianhint.map.5.start=0x003f0000 111221489Sadrianhint.map.5.end=0x00400000 # 64k ART 112221489Sadrianhint.map.5.name="ART" 113221489Sadrianhint.map.5.readonly=1 114