1228944Sadrian# $FreeBSD: releng/10.2/sys/mips/conf/RSPRO.hints 242718 2012-11-07 22:46:30Z ray $ 2228944Sadrian 3235661Sadrian# arge0 mdio bus 4235661Sadrianhint.argemdio.0.at="nexus0" 5235661Sadrianhint.argemdio.0.maddr=0x19000000 6235661Sadrianhint.argemdio.0.msize=0x1000 7235661Sadrianhint.argemdio.0.order=0 8228944Sadrian 9235661Sadrian# arge0: dedicated switch port 10235661Sadrianhint.arge.0.phymask=0x10 # PHY4 11235661Sadrianhint.arge.0.miimode=3 # RGMII 12235661Sadrianhint.arge.0.mdio=mdioproxy1 # .. off of the switch mdiobus 13228944Sadrian 14235661Sadrian# arge1: nail to 1000/full, RGMII - connected to the switch 15235661Sadrianhint.arge.1.media=1000 # Map to 1000/full 16235661Sadrianhint.arge.1.fduplex=1 # 17235661Sadrianhint.arge.1.phymask=0x0 # no directly mapped PHYs 18235661Sadrianhint.arge.1.miimode=3 # RGMII 19235661Sadrian 20242718Srayhint.arswitch.0.at="mdio0" 21235661Sadrianhint.arswitch.0.is_7240=0 22235661Sadrianhint.arswitch.0.numphys=4 23235661Sadrianhint.arswitch.0.phy4cpu=1 24235661Sadrianhint.arswitch.0.is_rgmii=1 25235661Sadrianhint.arswitch.0.is_gmii=0 26235661Sadrian 27228945Sadrian# Don't flip on anything that isn't already enabled. 28228945Sadrian# This includes leaving the SPI CS1/CS2 pins as GPIO pins as they're 29228945Sadrian# not used here. 30228945Sadrianhint.gpio.0.function_set=0x00000000 31228945Sadrianhint.gpio.0.function_clear=0x00000000 32228945Sadrian 33228945Sadrian# These are the GPIO LEDs and buttons which can be software controlled. 34228945Sadrianhint.gpio.0.pinmask=0x000000ff 35228945Sadrian 36228945Sadrian# GPIO 0: Pin 1 37228945Sadrian# GPIO 1: Pin 2 38228945Sadrian# GPIO 2: RF LED 39228945Sadrian# GPIO 3: Pin 3 40228945Sadrian# GPIO 4: Pin 4 41228945Sadrian# GPIO 5: Pin 5 42228945Sadrian# GPIO 6: Pin 6 43228945Sadrian# GPIO 7: Pin 7 44228945Sadrian 45228944Sadrian# RF led 46228944Sadrianhint.gpioled.0.at="gpiobus0" 47228944Sadrianhint.gpioled.0.name="rf" 48228944Sadrian# pin 2 49228944Sadrianhint.gpioled.0.pins=0x0004 50