xref: /openbsd/share/man/man4/man4.i386/skgpio.4 (revision 264ca280)
1.\"     $OpenBSD: skgpio.4,v 1.2 2015/10/22 11:01:14 sobrado Exp $
2.\"
3.\" Copyright (c) 2014 Matt Dainty <matt@bodgit-n-scarper.com>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: October 22 2015 $
18.Dt SKGPIO 4 i386
19.Os
20.Sh NAME
21.Nm skgpio
22.Nd Soekris net6501 GPIO and LEDs
23.Sh SYNOPSIS
24.Cd "skgpio0 at isa? port 0x680"
25.Cd "gpio* at skgpio?"
26.Sh DESCRIPTION
27The
28.Nm
29driver provides support for the GPIO and LEDs as implemented by the Xilinx
30Spartan FGPA integrated into the Soekris net6501 programmed with the default
31bitstream found in the BIOS.
32.Pp
33Two standard
34.Xr gpio 4
35interfaces are provided, one for the 16 real pins which can be configured as
36either inputs or outputs and another with 2 output-only pins that map
37to the error and ready LEDs respectively.
38Both may be used with
39.Xr gpioctl 8 .
40.Sh SEE ALSO
41.Xr gpio 4 ,
42.Xr intro 4 ,
43.Xr isa 4 ,
44.Xr gpioctl 8
45.Sh HISTORY
46The
47.Nm
48driver first appeared in
49.Ox 5.7 .
50.Sh AUTHORS
51The
52.Nm
53driver was written by
54.An Matt Dainty Aq matt@bodgit-n-scarper.com .
55.Sh BUGS
56If the Xilinx FPGA is programmed with a different bitstream, the driver will
57likely not function.
58