RSPRO.hints revision 256281
1# $FreeBSD: stable/10/sys/mips/conf/RSPRO.hints 242718 2012-11-07 22:46:30Z ray $ 2 3# arge0 mdio bus 4hint.argemdio.0.at="nexus0" 5hint.argemdio.0.maddr=0x19000000 6hint.argemdio.0.msize=0x1000 7hint.argemdio.0.order=0 8 9# arge0: dedicated switch port 10hint.arge.0.phymask=0x10 # PHY4 11hint.arge.0.miimode=3 # RGMII 12hint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus 13 14# arge1: nail to 1000/full, RGMII - connected to the switch 15hint.arge.1.media=1000 # Map to 1000/full 16hint.arge.1.fduplex=1 # 17hint.arge.1.phymask=0x0 # no directly mapped PHYs 18hint.arge.1.miimode=3 # RGMII 19 20hint.arswitch.0.at="mdio0" 21hint.arswitch.0.is_7240=0 22hint.arswitch.0.numphys=4 23hint.arswitch.0.phy4cpu=1 24hint.arswitch.0.is_rgmii=1 25hint.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. 30hint.gpio.0.function_set=0x00000000 31hint.gpio.0.function_clear=0x00000000 32 33# These are the GPIO LEDs and buttons which can be software controlled. 34hint.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 46hint.gpioled.0.at="gpiobus0" 47hint.gpioled.0.name="rf" 48# pin 2 49hint.gpioled.0.pins=0x0004 50