AR71XX.hints revision 225736
117680Spst# $FreeBSD: stable/9/sys/mips/conf/AR71XX.hints 213240 2010-09-28 03:34:51Z gonzo $
298527Sfennerhint.apb.0.at="nexus0"
317680Spsthint.apb.0.irq=4
417680Spst
517680Spst# uart0
617680Spsthint.uart.0.at="apb0"
717680Spst# see atheros/uart_cpu_ar71xx.c why +3
817680Spsthint.uart.0.maddr=0x18020003
917680Spsthint.uart.0.msize=0x18
1017680Spsthint.uart.0.irq=3
1117680Spst
1217680Spst#ohci
1317680Spsthint.ohci.0.at="apb0"
1417680Spsthint.ohci.0.maddr=0x1c000000
1517680Spsthint.ohci.0.msize=0x01000000
1617680Spsthint.ohci.0.irq=6
1717680Spst
1817680Spst#ehci
1917680Spsthint.ehci.0.at="nexus0"
2053146Sbrianhint.ehci.0.maddr=0x1b000000
2153146Sbrianhint.ehci.0.msize=0x01000000
2217680Spsthint.ehci.0.irq=1
2317680Spst
24127675Sbms# pci
25162021Ssamhint.pcib.0.at="nexus0"
2617680Spsthint.pcib.0.irq=0
2717680Spst
2856896Sfennerhint.arge.0.at="nexus0"
2956896Sfennerhint.arge.0.maddr=0x19000000
3056896Sfennerhint.arge.0.msize=0x1000
3156896Sfennerhint.arge.0.irq=2
32127675Sbms# PHY4 = 1 << 4
3317680Spsthint.arge.0.phymask=0x10
3417680Spst# Uncomment this hint for RS (not PRO)
3517680Spst# PHY20 = 1 << 20
3617680Spst# hint.arge.0.phymask=0x100000
3717680Spst
3817680Spsthint.arge.1.at="nexus0"
3917680Spsthint.arge.1.maddr=0x1a000000
4017680Spsthint.arge.1.msize=0x1000
4175118Sfennerhint.arge.1.irq=3
4275118Sfenner# PHY1, PHY2, PHY3 
43127675Sbmshint.arge.1.phymask=0x0e
44127675Sbms# should be 100 for RS 
45127675Sbmshint.arge.1.media=1000
46127675Sbmshint.arge.1.fduplex=1
47127675Sbms# Uncomment this hint for RS (not PRO)
48127675Sbms# hint.arge.0.phymask=70000
49127675Sbms
50127675Sbms# GPIO
51127675Sbmshint.gpio.0.at="apb0"
52127675Sbmshint.gpio.0.maddr=0x18040000
53127675Sbmshint.gpio.0.msize=0x1000
54127675Sbmshint.gpio.0.irq=2
55127675Sbms
56127675Sbms# RF led
57127675Sbmshint.gpioled.0.at="gpiobus0"
58127675Sbmshint.gpioled.0.name="rf"
59127675Sbms# pin 2
60127675Sbmshint.gpioled.0.pins=0x0004
61127675Sbms
62127675Sbms# SPI flash
63127675Sbmshint.spi.0.at="nexus0"
64127675Sbmshint.spi.0.maddr=0x1f000000
65127675Sbmshint.spi.0.msize=0x10
66127675Sbms
67127675Sbmshint.mx25l.0.at="spibus0"
68127675Sbmshint.mx25l.0.cs=0
69127675Sbms
70162021Ssam# shares the same bus with mx25l. 
71127675Sbms# CE low for flash, CE high for RTC
72127675Sbms# at the moment it's just stub until SPI bus is ready for such hacks
73146778Ssam# hint.rtc.0.at="spibus0"
74146778Ssam# hint.rtc.0.cs=0
75127675Sbms
76146778Ssam# Watchdog
77146778Ssamhint.ar71xx_wdog.0.at="nexus0"
78127675Sbms