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 Dec 25, 2017 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.Sh DESCRIPTION 45The 46.Nm 47device driver provides support for the Allwinner pin muxing and GPIO on 48Allwinner SoCs. 49.Sh HARDWARE 50The current version of the 51.Nm 52driver supports the GPIO/pinmuxing controller with one of the following 53compatible strings : 54.Pp 55.Bl -bullet -compact 56.It 57allwinner,sun4i-a10-pinctrl 58.It 59allwinner,sun5i-a13-pinctrl 60.It 61allwinner,sun7i-a20-pinctrl 62.It 63allwinner,sun6i-a31-pinctrl 64.It 65allwinner,sun6i-a31s-pinctrl 66.It 67allwinner,sun6i-a31-r-pinctrl 68.It 69allwinner,sun6i-a33-pinctrl 70.It 71allwinner,sun8i-a83t-pinctrl 72.It 73allwinner,sun8i-a83t-r-pinctrl 74.It 75allwinner,sun8i-h3-pinctrl 76.It 77allwinner,sun50i-h5-pinctrl 78.It 79allwinner,sun8i-h3-r-pinctrl 80.It 81allwinner,sun50i-a64-pinctrl 82.It 83allwinner,sun50i-a64-r-pinctrl 84.El 85.Sh SEE ALSO 86.Xr fdt 4 , 87.Xr gpio 4 88.Sh HISTORY 89The 90.Nm 91device driver first appeared in 92.Fx 10.0 . 93.Sh AUTHORS 94The 95.Nm 96device driver was originally written by 97.An Ganbold Tsagaankhuu Aq Mt ganbold@freebsd.org . 98This manual page was written by 99.An Emmanuel Vadot Aq Mt manu@freebsd.org . 100