summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.amd64/skgpio.4
blob: eaa494eace8da6b99bd5b32b38fb9f62d5f18cb0 (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
.\"     $OpenBSD: skgpio.4,v 1.2 2015/10/22 11:01:14 sobrado Exp $
.\"
.\" Copyright (c) 2014 Matt Dainty <matt@bodgit-n-scarper.com>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: October 22 2015 $
.Dt SKGPIO 4 amd64
.Os
.Sh NAME
.Nm skgpio
.Nd Soekris net6501 GPIO and LEDs
.Sh SYNOPSIS
.Cd "skgpio0 at isa? port 0x680"
.Cd "gpio* at skgpio?"
.Sh DESCRIPTION
The
.Nm
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.
.Pp
Two standard
.Xr gpio 4
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
.Xr gpioctl 8 .
.Sh SEE ALSO
.Xr gpio 4 ,
.Xr intro 4 ,
.Xr isa 4 ,
.Xr gpioctl 8
.Sh HISTORY
The
.Nm
driver first appeared in
.Ox 5.7 .
.Sh AUTHORS
The
.Nm
driver was written by
.An Matt Dainty Aq matt@bodgit-n-scarper.com .
.Sh BUGS
If the Xilinx FPGA is programmed with a different bitstream, the driver will
likely not function.