summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-01-09 18:11:45 +0000
committerimp <imp@FreeBSD.org>2010-01-09 18:11:45 +0000
commit424d2a94aa3542fdc7909382f8adde3b66832bbb (patch)
treed65459207c79bcb8882b05071d04edfd4ce4313b /sys/mips/conf
parent652b847a6c6b88e3bcd3c402e3cc62d31f497c73 (diff)
parent75f6d17b0e6c09d65b88078c4f9eb12e4e637651 (diff)
downloadFreeBSD-src-424d2a94aa3542fdc7909382f8adde3b66832bbb.zip
FreeBSD-src-424d2a94aa3542fdc7909382f8adde3b66832bbb.tar.gz
Merge from projects/mips to head by hand:
Copy over AR71XX.hints file.
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/AR71XX.hints59
1 files changed, 59 insertions, 0 deletions
diff --git a/sys/mips/conf/AR71XX.hints b/sys/mips/conf/AR71XX.hints
new file mode 100644
index 0000000..e3966ba
--- /dev/null
+++ b/sys/mips/conf/AR71XX.hints
@@ -0,0 +1,59 @@
+# $FreeBSD$
+hint.apb.0.at="nexus0"
+hint.apb.0.irq=4
+
+# uart0
+hint.uart.0.at="apb0"
+# see atheros/uart_cpu_ar71xx.c why +3
+hint.uart.0.maddr=0x18020003
+hint.uart.0.msize=0x18
+hint.uart.0.irq=3
+
+#ohci
+hint.ohci.0.at="apb0"
+hint.ohci.0.maddr=0x1c000000
+hint.ohci.0.msize=0x01000000
+hint.ohci.0.irq=6
+
+#ehci
+hint.ehci.0.at="nexus0"
+hint.ehci.0.maddr=0x1b000000
+hint.ehci.0.msize=0x01000000
+hint.ehci.0.irq=1
+
+# pci
+hint.pcib.0.at="nexus0"
+hint.pcib.0.irq=0
+
+hint.arge.0.at="nexus0"
+hint.arge.0.maddr=0x19000000
+hint.arge.0.msize=0x1000
+hint.arge.0.irq=2
+# PHY4 = 1 << 4
+hint.arge.0.phymask=0x10
+# Uncomment this hint for RS (not PRO)
+# PHY20 = 1 << 20
+# hint.arge.0.phymask=0x100000
+
+hint.arge.1.at="nexus0"
+hint.arge.1.maddr=0x1a000000
+hint.arge.1.msize=0x1000
+hint.arge.1.irq=3
+# PHY1, PHY2, PHY3
+hint.arge.1.phymask=0x0e
+# should be 100 for RS
+hint.arge.1.media=1000
+hint.arge.1.fduplex=1
+# Uncomment this hint for RS (not PRO)
+# hint.arge.0.phymask=70000
+
+# SPI flash
+hint.spi.0.at="nexus0"
+hint.spi.0.maddr=0x1f000000
+hint.spi.0.msize=0x10
+
+hint.mx25l.0.at="spibus0"
+hint.mx25l.0.cs=0
+
+# Watchdog
+hint.ar71xx_wdog.0.at="nexus0"
OpenPOWER on IntegriCloud