]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/mips/conf/RSPRO.hints
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / mips / conf / RSPRO.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 # arge0: dedicated switch port
10 hint.arge.0.phymask=0x10        # PHY4
11 hint.arge.0.miimode=3           # RGMII
12 hint.arge.0.mdio=mdioproxy1     # .. off of the switch mdiobus
13
14 # arge1: nail to 1000/full, RGMII - connected to the switch
15 hint.arge.1.media=1000          # Map to 1000/full
16 hint.arge.1.fduplex=1           #
17 hint.arge.1.phymask=0x0         # no directly mapped PHYs
18 hint.arge.1.miimode=3           # RGMII
19
20 hint.arswitch.0.at="mdio0"
21 hint.arswitch.0.is_7240=0
22 hint.arswitch.0.numphys=4
23 hint.arswitch.0.phy4cpu=1
24 hint.arswitch.0.is_rgmii=1
25 hint.arswitch.0.is_gmii=0
26
27 # Don't flip on anything that isn't already enabled.
28 # This includes leaving the SPI CS1/CS2 pins as GPIO pins as they're
29 # not used here.
30 hint.gpio.0.function_set=0x00000000
31 hint.gpio.0.function_clear=0x00000000
32
33 # These are the GPIO LEDs and buttons which can be software controlled.
34 hint.gpio.0.pinmask=0x000000ff
35
36 # GPIO 0: Pin 1
37 # GPIO 1: Pin 2
38 # GPIO 2: RF LED
39 # GPIO 3: Pin 3
40 # GPIO 4: Pin 4
41 # GPIO 5: Pin 5
42 # GPIO 6: Pin 6
43 # GPIO 7: Pin 7
44
45 # RF led
46 hint.gpioled.0.at="gpiobus0"
47 hint.gpioled.0.name="rf"
48 # pin 2
49 hint.gpioled.0.pins=0x0004