]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/mips/conf/BERI_TPAD.hints
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / mips / conf / BERI_TPAD.hints
1 # $FreeBSD$
2
3 #
4 # Altera JTAG UARTs configured for console, debugging, and data putput on the
5 # Terasic tPad.
6 #
7 hint.altera_jtag_uart.0.at="nexus0"
8 hint.altera_jtag_uart.0.maddr=0x7f000000
9 hint.altera_jtag_uart.0.msize=0x40
10 hint.altera_jtag_uart.0.irq=0
11
12 hint.altera_jtag_uart.1.at="nexus0"
13 hint.altera_jtag_uart.1.maddr=0x7f001000
14 hint.altera_jtag_uart.1.msize=0x40
15
16 hint.altera_jtag_uart.2.at="nexus0"
17 hint.altera_jtag_uart.2.maddr=0x7f002000
18 hint.altera_jtag_uart.2.msize=0x40
19
20 #
21 # Expose the tPad touchscreen device via an Avalon "generic" device.  Observe
22 # that this is a portion of DRAM, so some care may be required in how memory
23 # is exposed to FreeBSD to avoid use of that DRAM for both the touch screen
24 # and FreeBSD use.
25 #
26 # Two separate devices are used here because alignment/width requirements for
27 # I/O differ: the frame buffer accepts 16-bit I/O, and the touch input device
28 # requires 32-bit I/O.
29 #
30 hint.altera_avgen.0.at="nexus0"
31 hint.altera_avgen.0.maddr=0x04000000
32 hint.altera_avgen.0.msize=0x01000000
33 hint.altera_avgen.0.width=2
34 hint.altera_avgen.0.fileio="rw"
35 hint.altera_avgen.0.mmapio="rw"
36 hint.altera_avgen.0.devname="display"
37
38 hint.altera_avgen.1.at="nexus0"
39 hint.altera_avgen.1.maddr=0x05000000
40 hint.altera_avgen.1.msize=0x00000020
41 hint.altera_avgen.1.width=4
42 hint.altera_avgen.1.fileio="rw"
43 hint.altera_avgen.1.mmapio="rw"
44 hint.altera_avgen.1.devname="touch"
45
46 #
47 # On-board DE4 and tPad SD Card IP core
48 #
49 hint.altera_sdcardc.0.at="nexus0"
50 hint.altera_sdcardc.0.maddr=0x7f008000
51 hint.altera_sdcardc.0.msize=0x400