RT305X.hints revision 224005
1# $FreeBSD: head/sys/mips/conf/RT305X.hints 224005 2011-07-14 10:05:28Z ray $ 2# device.hints 3hint.obio.0.at="nexus0" 4hint.obio.0.maddr=0x10000000 5hint.obio.0.msize=0x10000000 6 7# on-board Ralink Frame Engine 8hint.rt.0.at="nexus0" 9hint.rt.0.maddr=0x10100000 10hint.rt.0.msize=0x10000 11hint.rt.0.irq=3 12 13# UART Light 14hint.uart.1.flags="0x30" 15 16# Lines below is Board specific 17# D-Link DIR-620 18hint.nvram.0.base=0x1f030000 19hint.nvram.0.maxsize=0x2000 20hint.nvram.0.flags=9 # 1 = No check, 2 = Format U-Boot 21hint.nvram.1.base=0x1f032000 22hint.nvram.1.maxsize=0x4000 23hint.nvram.1.flags=9 # 1 = No check, 2 = Format U-Boot 24 25# Configure SYSCTL_GPIOMODE to pass FUART pins to GPIO 26# original: 27# hint.rt305x_sysctl.0.gpiomode=0x000283 28# required: 29hint.rt305x_sysctl.0.gpiomode=0x00029f 30 31# gpio 32 33# Buttons 34# GPIO10 - Reset BTN IN PU II INT 35hint.gpioreset.0.at="gpiobus0" 36hint.gpioreset.0.pins="0x0400" 37hint.gpioreset.0.name="reset" 38hint.gpioreset.0.flags="0x04a1" # (INPUT|PULLUP|INVIN|REPORT) 39 40## GPIO0 - WPS BTN IN PU II INT 41hint.gpiobutton.0.at="gpiobus0" 42hint.gpiobutton.0.pins="0x01" 43hint.gpiobutton.0.name="wps" 44hint.gpiobutton.0.flags="0x04a1" # (INPUT|PULLUP|INVIN|REPORT) 45 46# LEDs 47# Power Yellow 8 48# Power Green 9 49# WAN Green 12 50# WAN Yellow 14 51# WPS Orange 11 52# WPS Blue 13 53#GPIO8 STATUS ? 54hint.gpioled.0.at="gpiobus0" 55hint.gpioled.0.pins="0x0100" 56hint.gpioled.0.name="status_yellow" 57hint.gpioled.0.flags="0x0102" # (OUTPUT|INVOUT) 58 59#GPIO9 STATUS 60hint.gpioled.1.at="gpiobus0" 61hint.gpioled.1.pins="0x0200" 62hint.gpioled.1.name="status" 63hint.gpioled.1.flags="0x0102" # (OUTPUT|INVOUT) 64 65#GPIO11 WPS Orange 66hint.gpioled.2.at="gpiobus0" 67hint.gpioled.2.pins="0x0800" 68hint.gpioled.2.name="wps_orange" 69hint.gpioled.2.flags="0x0002" # (OUTPUT|INVOUT) 70 71#GPIO12 WAN Green 72hint.gpioled.3.at="gpiobus0" 73hint.gpioled.3.pins="0x1000" 74hint.gpioled.3.name="wan" 75hint.gpioled.3.flags="0x0102" # (OUTPUT|INVOUT) 76 77#GPIO13 WPS Blue 78hint.gpioled.4.at="gpiobus0" 79hint.gpioled.4.pins="0x2000" 80hint.gpioled.4.name="wps" 81hint.gpioled.4.flags="0x0002" # (OUTPUT|INVOUT) 82 83#GPIO14 WAN Yellow 84hint.gpioled.5.at="gpiobus0" 85hint.gpioled.5.pins="0x4000" 86hint.gpioled.5.name="wan_yellow" 87hint.gpioled.5.flags="0x0102" # (OUTPUT|INVOUT) 88 89hint.cfi.0.width=2 90hint.cfi.0.shift=2 91 92#0x00000000-0x00030000 : "Bootloader" 93#0x00030000-0x00040000 : "Factory" 94#0x00040000-0x00070000 : "Config" 95#0x00070000-0x000b0000 : "Language" 96#0x000b0000-0x001a0000 : "Kernel" 97#0x001a0000-0x01000000 : "RootFS" 98 99hint.map.0.at="cfid0" 100hint.map.0.start=0x00000000 101hint.map.0.end=0x00030000 102hint.map.0.name="bootloader" 103hint.map.0.readonly=1 104 105hint.map.1.at="cfid0" 106hint.map.1.start=0x00030000 107hint.map.1.end=0x00040000 108hint.map.1.name="linuxconfig" 109 110hint.map.2.at="cfid0" 111hint.map.2.start=0x00040000 112hint.map.2.end=0x00050000 113hint.map.2.name="factory" 114 115hint.map.3.at="cfid0" 116hint.map.3.start=0x00050000 117hint.map.3.end=0x007e0000 118hint.map.3.name="upgrade" 119 120hint.map.4.at="cfid0" 121hint.map.4.name="kernel" 122hint.map.4.start=0x00050000 123hint.map.4.end="search:0x00100000:0x10000:.!/bin/sh" 124 125hint.map.5.at="cfid0" 126hint.map.5.name="rootfs" 127hint.map.5.start="search:0x00100000:0x10000:.!/bin/sh" 128hint.map.5.end=0x007e0000 129 130hint.map.6.at="cfid0" 131hint.map.6.start=0x007e0000 132hint.map.6.end=0x00800000 133hint.map.6.name="config" 134 135