]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/mips/conf/AP96.hints
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / mips / conf / AP96.hints
1 # $FreeBSD$
2
3 # arge0 MDIO bus - there's no arge1 MDIO bus for AR71xx
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 # This creates an automatic mdioproxy0!
9
10
11 # The switch automatically probes off of mdio0, and will
12 # create an mdioproxy1.
13
14 # TODO: RGMII
15 hint.arge.0.phymask=0x0         # Nothing attached here (XXX?)
16 hint.arge.0.media=1000
17 hint.arge.0.fduplex=1
18 hint.arge.0.miimode=3           # RGMII
19
20 # TODO: RGMII
21 hint.arge.1.phymask=0x10
22 # hint.arge.1.pll_1000 = 0x1f000000
23 # For now, rendezouvs this on the arge0 mdiobus.
24 # Later, this will rendezvous via the AR8316 switch.
25 hint.arge.1.miimode=3           # RGMII
26 hint.arge.1.mdio=mdioproxy1     # off the switch mdiobus
27
28 # AR8316 switch on MDIO0
29 hint.arswitch.0.at="mdio0"
30 hint.arswitch.0.is_7240=0
31 hint.arswitch.0.numphys=4
32 hint.arswitch.0.phy4cpu=1
33 hint.arswitch.0.is_rgmii=1
34 hint.arswitch.0.is_gmii=0
35
36 # ath0 - slot 17
37 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000
38 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
39
40 # ath1 - slot 18
41 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1fff5000
42 hint.pcib.0.bus.0.18.0.ath_fixup_size=4096
43
44 # .. and now, telling each ath(4) NIC where to find the firmware
45 # image.
46 hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
47 hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
48
49 # The default flash layout:
50 # uboot: 192k
51 # env: 64k
52 # rootfs: 6144k
53 # uimage (kernel): 1728k
54 # caldata: 64k
55 #
56 # bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init
57 #    mtdparts=ar7100-nor0:192k(uboot),64k(env),6144k(rootfs),1728k(uImage),64k(caldata) mem=64M
58
59 #
60 # We steal 64k from the end of rootfs to store the local config.
61
62 hint.map.0.at="flash/spi0"
63 hint.map.0.start=0x00000000
64 hint.map.0.end=0x000030000
65 hint.map.0.name="uboot"
66 hint.map.0.readonly=1
67
68 hint.map.1.at="flash/spi0"
69 hint.map.1.start=0x00030000
70 hint.map.1.end=0x00040000
71 hint.map.1.name="uboot-env"
72 hint.map.1.readonly=1
73
74 hint.map.2.at="flash/spi0"
75 hint.map.2.start=0x00040000
76 hint.map.2.end=0x00630000
77 hint.map.2.name="rootfs"
78 hint.map.2.readonly=1
79
80 hint.map.3.at="flash/spi0"
81 hint.map.3.start=0x00630000
82 hint.map.3.end=0x00640000
83 hint.map.3.name="cfg"
84 hint.map.3.readonly=0
85
86 hint.map.4.at="flash/spi0"
87 hint.map.4.start=0x00640000
88 hint.map.4.end=0x007f0000
89 hint.map.4.name="kernel"
90 hint.map.4.readonly=1
91
92 hint.map.5.at="flash/spi0"
93 hint.map.5.start=0x007f0000
94 hint.map.5.end=0x00800000
95 hint.map.5.name="art"
96 hint.map.5.readonly=1
97