blob: 78bec8ac4fc51cb2cccdda725ca47cc1df25bbba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<table class="head">
<tr>
<td class="head-ltitle">SOEKRIS(4)</td>
<td class="head-vol">Device Drivers Manual (x86)</td>
<td class="head-rtitle">SOEKRIS(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">soekrisgpio</code> —
<span class="Nd">Soekris net6501 GPIO and LEDs</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">soekrisgpio0 at isa? port 0x680</code>
<br/>
<code class="Cd">gpio* at soekrisgpio?</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">soekrisgpio</code> driver provides support
for the GPIO and LEDs as implemented by the Xilinx Spartan FGPA integrated
into the Soekris net6501 programmed with the default bitstream found in the
BIOS.</p>
<p class="Pp">Two standard <a class="Xr">gpio(4)</a> interfaces are provided,
one for the 16 real pins which can be configured as either inputs or outputs
and another with 2 output-only pins that map to the error and ready LEDs
respectively. Both may be used with <a class="Xr">gpioctl(8)</a>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">gpio(4)</a>, <a class="Xr">intro(4)</a>,
<a class="Xr">isa(4)</a>, <a class="Xr">gpioctl(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">soekrisgpio</code> driver first appeared in
<span class="Ux">NetBSD 7.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">soekrisgpio</code> driver was written by
<span class="An">Matt Dainty</span>
<<a class="Mt" href="mailto:matt@...">matt@...</a>> and imported from
a patch for <span class="Ux">OpenBSD</span> to
<span class="Ux">NetBSD</span> by
<br/>
<span class="An">Frank Kardel</span>
<<a class="Mt" href="mailto:kardel@NetBSD.org">kardel@NetBSD.org</a>>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">If the Xilinx FPGA is programmed with a different bitstream, the
driver will likely not function.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">June 10, 2013</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|