summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/std.ethernut5
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-05-12 18:11:26 +0000
committermarius <marius@FreeBSD.org>2012-05-12 18:11:26 +0000
commit7fcdbd9dc280f604a889484b5be4cd3d62a7fd0c (patch)
tree9e9263a76705bf78985a17e59821393c5ffe329b /sys/arm/at91/std.ethernut5
parent1f9ce5f4a106d2a030f3613016cd6e3cd5cf9502 (diff)
downloadFreeBSD-src-7fcdbd9dc280f604a889484b5be4cd3d62a7fd0c.zip
FreeBSD-src-7fcdbd9dc280f604a889484b5be4cd3d62a7fd0c.tar.gz
Add glue/support for the SAM9XE512-based Ethernut 5 boards. Currently,
all integrated and on-board peripherals except the DataFlash (at91_spi(4) and at45d(4) still need to be unb0rken) and NAND Flash (missing NAND framework) are working. AFAICT, this makes FreeBSD the first operating system besides Nut/OS supporting Ethernut 5 out of tree.
Diffstat (limited to 'sys/arm/at91/std.ethernut5')
-rw-r--r--sys/arm/at91/std.ethernut514
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arm/at91/std.ethernut5 b/sys/arm/at91/std.ethernut5
new file mode 100644
index 0000000..684d606
--- /dev/null
+++ b/sys/arm/at91/std.ethernut5
@@ -0,0 +1,14 @@
+# $FreeBSD$
+include "../at91/std.at91sam9"
+
+options STARTUP_PAGETABLE_ADDR=0x20800000
+makeoptions KERNPHYSADDR=0x20000000
+makeoptions KERNVIRTADDR=0xc0000000
+options KERNPHYSADDR=0x20000000
+options KERNVIRTADDR=0xc0000000
+
+# SAM9XE512 w/ 90.3168 MHz master clock
+options AT91C_MASTER_CLOCK=90316800
+
+device at91_board_ethernut5
+nodevice at91sam9g20
OpenPOWER on IntegriCloud