xref: /freebsd/share/man/man4/man4.arm/aw_gpio.4 (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1.\"-
2.\" Copyright (c) 2017 Emmanuel Vadot <manu@freebsd.org>
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd Dec 25, 2017
28.Dt AW_GPIO 4
29.Os
30.Sh NAME
31.Nm aw_gpio
32.Nd driver for the GPIO and pin muxing functionalities on Allwinner SoC
33.Sh SYNOPSIS
34.Cd "device gpio"
35.Cd "options SOC_ALLWINNER_A10"
36.Cd "options SOC_ALLWINNER_A13"
37.Cd "options SOC_ALLWINNER_A20"
38.Cd "options SOC_ALLWINNER_A31"
39.Cd "options SOC_ALLWINNER_A31S"
40.Cd "options SOC_ALLWINNER_A33"
41.Cd "options SOC_ALLWINNER_A83T"
42.Cd "options SOC_ALLWINNER_H2PLUS"
43.Cd "options SOC_ALLWINNER_H3"
44.Cd "options SOC_ALLWINNER_A64"
45.Cd "options SOC_ALLWINNER_H5"
46.Sh DESCRIPTION
47The
48.Nm
49device driver provides support for the Allwinner pin muxing and GPIO on
50Allwinner SoCs.
51.Sh HARDWARE
52The current version of the
53.Nm
54driver supports the GPIO/pinmuxing controller with one of the following
55compatible strings :
56.Pp
57.Bl -bullet -compact
58.It
59allwinner,sun4i-a10-pinctrl
60.It
61allwinner,sun5i-a13-pinctrl
62.It
63allwinner,sun7i-a20-pinctrl
64.It
65allwinner,sun6i-a31-pinctrl
66.It
67allwinner,sun6i-a31s-pinctrl
68.It
69allwinner,sun6i-a31-r-pinctrl
70.It
71allwinner,sun6i-a33-pinctrl
72.It
73allwinner,sun8i-a83t-pinctrl
74.It
75allwinner,sun8i-a83t-r-pinctrl
76.It
77allwinner,sun8i-h3-pinctrl
78.It
79allwinner,sun50i-h5-pinctrl
80.It
81allwinner,sun8i-h3-r-pinctrl
82.It
83allwinner,sun50i-a64-pinctrl
84.It
85allwinner,sun50i-a64-r-pinctrl
86.El
87.Sh SEE ALSO
88.Xr fdt 4 ,
89.Xr gpio 4
90.Sh HISTORY
91The
92.Nm
93device driver first appeared in
94.Fx 10.0 .
95.Sh AUTHORS
96The
97.Nm
98device driver was originally written by
99.An Ganbold Tsagaankhuu Aq Mt ganbold@freebsd.org .
100This manual page was written by
101.An Emmanuel Vadot Aq Mt manu@freebsd.org .
102