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