xref: /freebsd/share/man/man4/man4.arm/aw_gpio.4 (revision 35c0a8c449fd2b7f75029ebed5e10852240f0865)
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.Dd October 8, 2024
26.Dt AW_GPIO 4
27.Os
28.Sh NAME
29.Nm aw_gpio
30.Nd driver for the GPIO and pin muxing functionalities on Allwinner SoC
31.Sh SYNOPSIS
32.Cd "device gpio"
33.Cd "options SOC_ALLWINNER_A10"
34.Cd "options SOC_ALLWINNER_A13"
35.Cd "options SOC_ALLWINNER_A20"
36.Cd "options SOC_ALLWINNER_A31"
37.Cd "options SOC_ALLWINNER_A31S"
38.Cd "options SOC_ALLWINNER_A33"
39.Cd "options SOC_ALLWINNER_A83T"
40.Cd "options SOC_ALLWINNER_H2PLUS"
41.Cd "options SOC_ALLWINNER_H3"
42.Cd "options SOC_ALLWINNER_A64"
43.Cd "options SOC_ALLWINNER_H5"
44.Cd "options SOC_ALLWINNER_D1"
45.Sh DESCRIPTION
46The
47.Nm
48device driver provides support for the Allwinner pin muxing and GPIO on
49Allwinner SoCs.
50.Sh HARDWARE
51The current version of the
52.Nm
53driver supports the GPIO/pinmuxing controller with one of the following
54compatible strings :
55.Pp
56.Bl -bullet -compact
57.It
58allwinner,sun4i-a10-pinctrl
59.It
60allwinner,sun5i-a13-pinctrl
61.It
62allwinner,sun7i-a20-pinctrl
63.It
64allwinner,sun6i-a31-pinctrl
65.It
66allwinner,sun6i-a31s-pinctrl
67.It
68allwinner,sun6i-a31-r-pinctrl
69.It
70allwinner,sun6i-a33-pinctrl
71.It
72allwinner,sun8i-a83t-pinctrl
73.It
74allwinner,sun8i-a83t-r-pinctrl
75.It
76allwinner,sun8i-h3-pinctrl
77.It
78allwinner,sun50i-h5-pinctrl
79.It
80allwinner,sun8i-h3-r-pinctrl
81.It
82allwinner,sun50i-a64-pinctrl
83.It
84allwinner,sun50i-a64-r-pinctrl
85.It
86allwinner,sun20i-d1-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