summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-17 00:53:12 +0000
committerian <ian@FreeBSD.org>2014-05-17 00:53:12 +0000
commita8f1dca86b2bf3b15991d0ef01e402a7208db326 (patch)
treea678b33cef5a4d49b1c5fdb050ea93cf7bea3287 /sys/boot
parent690d060e370721ffe7479c7ed9ba5469f9453d33 (diff)
downloadFreeBSD-src-a8f1dca86b2bf3b15991d0ef01e402a7208db326.zip
FreeBSD-src-a8f1dca86b2bf3b15991d0ef01e402a7208db326.tar.gz
MFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924,
262925, 262929, 262932, 262935, 262940, 262941, 262942, 262948, 262949, 262950 Strip arm/conf/DEFAULTS down to just items that are mandatory for running the architecture. Move all the files named foo/common.c to foo/foo_common.c Initial cut for DTS on the hl201 board. Add commented out dts for sam9260ek as well as early printf support. Make clock optional on uart nodes, then back it out ("I don't know what I was thinking, but it is lame.") Set the baud rate if it isn't 0 Make at91_soc_id() public. Properly round at91 resource on unmapping. Move AT91 AIC related stuff to own file. Fix another bug in multicast filtering. i.MX uses 6 bits from MSB in LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32. Follow r262916 with one more config file that references a renamed common.c Remove bogus AT91 define that causes compile errors. Most of the defines for SAM9X are going away soonish anyway (once FDT works), but until then... Remove all dregs of a per-thread undefined-exception-mode stack. Rework the VFP code that handles demand-based save and restore of state. Always call vfp_discard() on thread death. When a thread begins life it doesn't own the VFP hardware state on any cpu. Make undefined exception entry MP-safe.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/arm/hl201.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/hl201.dts b/sys/boot/fdt/dts/arm/hl201.dts
new file mode 100644
index 0000000..1566b30
--- /dev/null
+++ b/sys/boot/fdt/dts/arm/hl201.dts
@@ -0,0 +1,44 @@
+/*
+ * Hot-e HL-201 - Warner Losh public domain
+ *
+ * $FreeBSD$
+ */
+/dts-v1/;
+
+/*
+ * The following is a white lie. The HL-201 is a stripped down version of
+ * the SAM9G20EK board with a video output chip.
+ */
+#include "at91sam9g20ek_common.dtsi"
+
+/ {
+ model = "Thinlinx HL201";
+ compatible = "thinlinx,hl201", "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9";
+
+ leds {
+ compatible = "gpio-leds";
+
+ ds1 {
+ label = "ds1";
+ gpios = <&pioA 9 0>;
+ linux,default-trigger = "heartbeat";
+ };
+
+ ds5 {
+ label = "ds5";
+ gpios = <&pioA 6 1>;
+ };
+ };
+
+ /* Missing: one wire serial number, video chip */
+
+ aliases {
+ dbgu = &dbgu;
+ };
+
+
+ chosen {
+ stdin = "dbgu";
+ stdout = "dbgu";
+ };
+};
OpenPOWER on IntegriCloud