RSPRO.hints revision 235661
1# $FreeBSD: head/sys/mips/conf/RSPRO.hints 235661 2012-05-19 20:11:18Z adrian $ 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.is_7240=0 21hint.arswitch.0.numphys=4 22hint.arswitch.0.phy4cpu=1 23hint.arswitch.0.is_rgmii=1 24hint.arswitch.0.is_gmii=0 25 26# Don't flip on anything that isn't already enabled. 27# This includes leaving the SPI CS1/CS2 pins as GPIO pins as they're 28# not used here. 29hint.gpio.0.function_set=0x00000000 30hint.gpio.0.function_clear=0x00000000 31 32# These are the GPIO LEDs and buttons which can be software controlled. 33hint.gpio.0.pinmask=0x000000ff 34 35# GPIO 0: Pin 1 36# GPIO 1: Pin 2 37# GPIO 2: RF LED 38# GPIO 3: Pin 3 39# GPIO 4: Pin 4 40# GPIO 5: Pin 5 41# GPIO 6: Pin 6 42# GPIO 7: Pin 7 43 44# RF led 45hint.gpioled.0.at="gpiobus0" 46hint.gpioled.0.name="rf" 47# pin 2 48hint.gpioled.0.pins=0x0004 49