1: # $FreeBSD: src/sys/mips/conf/PB92.hints,v 1.4 2012/11/17 01:52:48 svnexp Exp $
2: hint.apb.0.at="nexus0"
3: hint.apb.0.irq=4
4:
5: # uart0
6: hint.uart.0.at="apb0"
7: # see atheros/uart_cpu_ar71xx.c why +3
8: hint.uart.0.maddr=0x18020003
9: hint.uart.0.msize=0x18
10: hint.uart.0.irq=3
11:
12: #ehci - note the 0x100 offset for the AR913x/AR724x
13: hint.ehci.0.at="nexus0"
14: hint.ehci.0.maddr=0x1b000100
15: hint.ehci.0.msize=0x00ffff00
16: hint.ehci.0.irq=1
17:
18: # pci
19: hint.pcib.0.at="nexus0"
20: hint.pcib.0.irq=0
21:
22: # arge0
23: hint.arge.0.at="nexus0"
24: hint.arge.0.maddr=0x19000000
25: hint.arge.0.msize=0x1000
26: hint.arge.0.irq=2
27:
28: # AR8316 workaround for now
29: hint.arge.0.media=1000
30: hint.arge.0.fduplex=1
31: hint.arge.0.phymask=0x3
32:
33: # GPIO
34: hint.gpio.0.at="apb0"
35: hint.gpio.0.maddr=0x18040000
36: hint.gpio.0.msize=0x1000
37: hint.gpio.0.irq=2
38:
39: # Signal leds
40: hint.gpioled.0.at="gpiobus0"
41: hint.gpioled.0.name="sig1"
42: hint.gpioled.0.pins=0x0001 # pin 0
43: hint.gpioled.1.at="gpiobus0"
44: hint.gpioled.1.name="sig2"
45: hint.gpioled.1.pins=0x0002 # pin 1
46: hint.gpioled.2.at="gpiobus0"
47: hint.gpioled.2.name="sig3"
48: hint.gpioled.2.pins=0x0800 # pin 11
49: hint.gpioled.3.at="gpiobus0"
50: hint.gpioled.3.name="sig4"
51: hint.gpioled.3.pins=0x0080 # pin 7
52:
53: # SPI controller/bus
54: hint.spi.0.at="nexus0"
55: hint.spi.0.maddr=0x1f000000
56: hint.spi.0.msize=0x10
57:
58: # SPI flash
59: hint.mx25l.0.at="spibus0"
60: hint.mx25l.0.cs=0
61:
62: # Watchdog
63: hint.ar71xx_wdog.0.at="nexus0"
64:
65: # nvram mapping - XXX ?
66: hint.nvram.0.base=0x1f030000
67: hint.nvram.0.maxsize=0x2000
68: hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
69: hint.nvram.1.base=0x1f032000
70: hint.nvram.1.maxsize=0x4000
71: hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
72:
73: # GEOM_MAP
74: #
75: # From my PB92 environment:
76: #
77: # mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
78:
79: hint.map.0.at="flash/spi0"
80: hint.map.0.start=0x00000000
81: hint.map.0.end=0x00040000 # 256k u-boot
82: hint.map.0.name="u-boot"
83: hint.map.0.readonly=1
84:
85: hint.map.1.at="flash/spi0"
86: hint.map.1.start=0x00040000
87: hint.map.1.end=0x00050000 # 64k u-boot-env
88: hint.map.1.name="u-boot-env"
89: hint.map.1.readonly=0
90:
91: hint.map.2.at="flash/spi0"
92: hint.map.2.start=0x00050000
93: hint.map.2.end=0x00300000 # 2752k rootfs
94: hint.map.2.name="rootfs"
95: hint.map.2.readonly=1
96:
97: hint.map.3.at="flash/spi0"
98: hint.map.3.start=0x00300000
99: hint.map.3.end=0x003e0000 # 896k uImage
100: hint.map.3.name="uImage"
101: hint.map.3.readonly=0
102:
103: hint.map.4.at="flash/spi0"
104: hint.map.4.start=0x003e0000
105: hint.map.4.end=0x003f0000 # 64k NVRAM
106: hint.map.4.name="NVRAM"
107: hint.map.4.readonly=0
108:
109: hint.map.5.at="flash/spi0"
110: hint.map.5.start=0x003f0000
111: hint.map.5.end=0x00400000 # 64k ART
112: hint.map.5.name="ART"
113: hint.map.5.readonly=1
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>