]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/AP93.hints
Remove spurious newline
[FreeBSD/FreeBSD.git] / sys / mips / conf / AP93.hints
1 # $FreeBSD$
2
3 # arge0 MDIO bus
4 hint.argemdio.0.at="nexus0"
5 hint.argemdio.0.maddr=0x19000000
6 hint.argemdio.0.msize=0x1000
7 hint.argemdio.0.order=0
8
9 # arge1 MDIO bus doesn't exist on the AR7240
10
11 # arge0: MII; dedicated PHY 4 on switch, connected via internal switch
12 # MDIO bus.
13
14 # hint.arge.0.eeprommac=0x83fe9ff0
15 hint.arge.0.phymask=0x10        # PHY 4
16 # hint.arge.0.miimode=2         # MII
17 hint.arge.0.mdio=mdioproxy1     # Hanging off the arswitch MDIO bus
18 hint.arge.0.eeprommac=0x1fff0000
19
20 # arge1: connected to the LAN switch MAC, at 1000BaseTX / GMII.
21 hint.arge.1.phymask=0x0
22 # hint.arge.1.miimode=1         # GMII
23 hint.arge.1.media=1000          # Force to 1000BaseTX/full
24 hint.arge.1.fduplex=1
25 hint.arge.1.eeprommac=0x1fff0006
26
27 #
28 # AR7240 switch config
29 #
30 hint.arswitch.0.at="mdio0"
31 hint.arswitch.0.is_7240=1       # We need to be explicitly told this
32 hint.arswitch.0.numphys=4       # 4 active switch PHYs (PHY 0 -> 3)
33 hint.arswitch.0.phy4cpu=1       # Yes, PHY 4 == dedicated PHY
34 hint.arswitch.0.is_rgmii=0      # No, not RGMII
35 hint.arswitch.0.is_gmii=0       # No, not GMII
36
37 # ath0 hint - pcie slot 0
38 hint.pcib.0.bus.0.0.0.ath_fixup_addr=0x1fff1000
39 hint.pcib.0.bus.0.0.0.ath_fixup_size=4096
40
41 # ath0 - eeprom comes from here
42 hint.ath.0.eeprom_firmware="pcib.0.bus.0.0.0.eeprom_firmware"
43
44 # Signal leds
45 hint.gpioled.0.at="gpiobus0"
46 hint.gpioled.0.name="sig1"
47 hint.gpioled.0.pins=0x0001      # pin 0
48 hint.gpioled.1.at="gpiobus0"
49 hint.gpioled.1.name="sig2"
50 hint.gpioled.1.pins=0x0002      # pin 1
51 hint.gpioled.2.at="gpiobus0"
52 hint.gpioled.2.name="sig3"
53 hint.gpioled.2.pins=0x0800      # pin 11
54 hint.gpioled.3.at="gpiobus0"
55 hint.gpioled.3.name="sig4"
56 hint.gpioled.3.pins=0x0080      # pin 7
57
58 # nvram mapping - XXX ?
59 hint.nvram.0.base=0x1f030000
60 hint.nvram.0.maxsize=0x2000
61 hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
62 hint.nvram.1.base=0x1f032000
63 hint.nvram.1.maxsize=0x4000
64 hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
65
66 # GEOM_MAP
67 #
68 # From my AP93 environment:
69 #
70 # 256k - uboot
71 # 256k - uboot-env
72 # 3072k - spare-rootfs
73 # 1024k - spare-uImage
74 # 3072k - rootfs
75 # 1024k - uImage
76 # 64k - mib0
77 # 64k - mib1
78 # 4096k - ct
79 # 3392k - var
80 # 64k - ART
81
82 # To make it useful for FreeBSD for now, treat spare rootfs, spare
83 # uimage and rootfs as 'rootfs'.
84
85 hint.map.0.at="flash/spi0"
86 hint.map.0.start=0x00000000
87 hint.map.0.end=0x00040000
88 hint.map.0.name="uboot"
89 hint.map.0.readonly=1
90
91 hint.map.1.at="flash/spi0"
92 hint.map.1.start=0x00040000
93 hint.map.1.end=0x00080000
94 hint.map.1.name="uboot-env"
95 hint.map.1.readonly=1
96
97 hint.map.2.at="flash/spi0"
98 hint.map.2.start=0x00080000
99 hint.map.2.end="search:0x00080000:0x10000:.!/bin/sh"
100 hint.map.2.name="kernel"
101 hint.map.2.readonly=0
102
103 hint.map.3.at="flash/spi0"
104 hint.map.3.start="search:0x00080000:0x10000:.!/bin/sh"
105 hint.map.3.end=0x00880000
106 hint.map.3.name="rootfs"
107 hint.map.3.readonly=0
108
109 hint.map.4.at="flash/spi0"
110 hint.map.4.start=0x00880000
111 hint.map.4.end=0x00890000
112 # hint.map.4.name="mib0"
113 hint.map.4.name="cfg"
114 # hint.map.4.readonly=1
115
116 hint.map.5.at="flash/spi0"
117 hint.map.5.start=0x00890000
118 hint.map.5.end=0x008a0000
119 hint.map.5.name="mib1"
120 hint.map.5.readonly=1
121
122 hint.map.6.at="flash/spi0"
123 hint.map.6.start=0x008a0000
124 hint.map.6.end=0x00ca0000
125 hint.map.6.name="ct"
126 hint.map.6.readonly=1
127
128 hint.map.7.at="flash/spi0"
129 hint.map.7.start=0x00ca0000
130 hint.map.7.end=0x00ff0000
131 hint.map.7.name="var"
132 hint.map.7.readonly=1
133
134 hint.map.8.at="flash/spi0"
135 hint.map.8.start=0x00ff0000
136 hint.map.8.end=0x01000000       # 64k ART
137 hint.map.8.name="ART"
138 hint.map.8.readonly=1
139