xref: /freebsd-13-stable/sys/mips/conf/PB47.hints (revision 5510f79042fbd543de55807d0da7f8a2b8be2f89)
1
2# There's two interfaces, but only one socket is populated.
3#
4# There's an AR8021 PHY attached to arge1.
5#
6# XXX TODO: figure out where to extract the MAC from.
7hint.arge.1.phymask=0x01
8
9# XXX TODO: pass in hints for the GPIO -> LED mapping for the
10# minipci slot.  The specific customer reference design NIC
11# wires GPIO5 from each AR9220 to one of two GPIO pins on the
12# MiniPCI bus.  However, this may be very specific to the NIC
13# being used.
14
15# The default flash layout:
16# uboot: 192k
17# env: 64k
18# rootfs: 6144k
19# uimage (kernel): 1728k
20# caldata: 64k
21#
22# We steal 64k from the end of rootfs to store the local config.
23
24hint.map.0.at="flash/spi0"
25hint.map.0.start=0x00000000
26hint.map.0.end=0x000030000
27hint.map.0.name="uboot"
28hint.map.0.readonly=1
29
30hint.map.1.at="flash/spi0"
31hint.map.1.start=0x00030000
32hint.map.1.end=0x00040000
33hint.map.1.name="uboot-env"
34hint.map.1.readonly=1
35
36hint.map.2.at="flash/spi0"
37hint.map.2.start=0x00040000
38hint.map.2.end=0x00630000
39hint.map.2.name="rootfs"
40hint.map.2.readonly=1
41
42hint.map.3.at="flash/spi0"
43hint.map.3.start=0x00630000
44hint.map.3.end=0x00640000
45hint.map.3.name="cfg"
46hint.map.3.readonly=0
47
48hint.map.4.at="flash/spi0"
49hint.map.4.start=0x00640000
50hint.map.4.end=0x007f0000
51hint.map.4.name="kernel"
52hint.map.4.readonly=1
53
54hint.map.5.at="flash/spi0"
55hint.map.5.start=0x007f0000
56hint.map.5.end=0x00800000
57hint.map.5.name="art"
58hint.map.5.readonly=1
59
60# Don't flip on anything that isn't already enabled by the
61# bootloader.
62hint.gpio.0.function_set=0x00000000
63hint.gpio.0.function_clear=0x00000000
64
65# Which GPIO lines to enable - just GPIO2/3 for the LEDs.
66hint.gpio.0.pinmask=0x0000000c
67
68# GPIO2 and GPIO3 are LEDs, where 0=on and 1=off.
69# XXX TODO: teach gpioled about polarity?
70hint.gpioled.0.at="gpiobus0"
71hint.gpioled.0.pins="0x0004"
72hint.gpioled.0.name="led1"
73
74hint.gpioled.1.at="gpiobus0"
75hint.gpioled.1.pins="0x0008"
76hint.gpioled.1.name="led2"
77
78