PERFORCE change 219946 for review
Robert Watson
rwatson at FreeBSD.org
Thu Jan 3 16:44:03 UTC 2013
http://p4web.freebsd.org/@@219946?ac=10
Change 219946 by rwatson at rwatson_zenith_cl_cam_ac_uk on 2013/01/03 16:43:49
Populate a template FDT description of the Terasic tPad as
configured for BERI. The touch screen DMA buffer and FIFO are
in the middle of DRAM, so for now expose only 64M rather than
128M to FreeBSD, until we've sorted out how to handle reserved
memory regions with FDT.
Affected files ...
.. //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-tpad.dts#2 edit
Differences ...
==== //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-tpad.dts#2 (text+ko) ====
@@ -64,9 +64,32 @@
compatible = "simple-bus", "mips4k,cp0";
ranges = <>;
+ /*
+ * XXXRW: Should mark the video display frame buffer as
+ * reserved! Until then, mark 64M as available DRAM rather
+ * than 128M.
+ */
memory {
device_type = "memory";
- reg = <0x0 0x40000000>; // 1G at 0x0
+ reg = <0x0 0x4000000>; // 64M at 0x0
+ };
+
+ display at 4000000 {
+ compatible = "sri-cambridge,avgen";
+ reg = <0x4000000 0x1000000>;
+ sri-cambridge,width = <2>;
+ sri-cambridge,fileio = "rw";
+ sri-cambridge,mmapio = "rw";
+ sri-cambridge,devname = "display";
+ };
+
+ display at 5000000 {
+ compatible = "sri-cambridge,avgen";
+ reg = <0x5000000 0x20>;
+ sri-cambridge,width = <4>;
+ sri-cambridge,fileio = "rw";
+ sri-cambridge,mmapio = "rw";
+ sri-cambridge,devname = "touch";
};
serial at 7f000000 {
@@ -100,31 +123,6 @@
reg = <0x7f007000 0x540>;
};
- touchscreen at 70400000 {
- compatible = "sri-cambridge,mtl";
- reg = <0x70400000 0x1000
- 0x70000000 0x177000
- 0x70177000 0x2000>;
- };
-
- flash at 0x74000000 {
- compatible = "intel,strataflash";
- reg = <0x74000000 0x2000000>;
- };
-
- flash at 0x76000000 {
- compatible = "intel,strataflash";
- reg = <0x76000000 0x2000000>;
- };
-
- avgen at 0x7f009000 {
- compatible = "sri-cambridge,avgen";
- reg = <0x7f009000 0x2>;
- sri-cambridge,width = <1>;
- sri-cambridge,fileio = "r";
- sri-cambridge,devname = "de4bsw";
- };
-
avgen at 0x7f00a000 {
compatible = "sri-cambridge,avgen";
reg = <0x7f00a000 0x14>;
More information about the p4-projects
mailing list