1284db32cSIan Lepore.\"- 2284db32cSIan Lepore.\" Copyright (c) 2017 Emmanuel Vadot <manu@freebsd.org> 3284db32cSIan Lepore.\" 4284db32cSIan Lepore.\" Redistribution and use in source and binary forms, with or without 5284db32cSIan Lepore.\" modification, are permitted provided that the following conditions 6284db32cSIan Lepore.\" are met: 7284db32cSIan Lepore.\" 1. Redistributions of source code must retain the above copyright 8284db32cSIan Lepore.\" notice, this list of conditions and the following disclaimer. 9284db32cSIan Lepore.\" 2. Redistributions in binary form must reproduce the above copyright 10284db32cSIan Lepore.\" notice, this list of conditions and the following disclaimer in the 11284db32cSIan Lepore.\" documentation and/or other materials provided with the distribution. 12284db32cSIan Lepore.\" 13284db32cSIan Lepore.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14284db32cSIan Lepore.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15284db32cSIan Lepore.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16284db32cSIan Lepore.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17284db32cSIan Lepore.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18284db32cSIan Lepore.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19284db32cSIan Lepore.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20284db32cSIan Lepore.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21284db32cSIan Lepore.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22284db32cSIan Lepore.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23284db32cSIan Lepore.\" SUCH DAMAGE. 24284db32cSIan Lepore.\" 25*71924545SJulien Cassette.Dd October 8, 2024 26284db32cSIan Lepore.Dt AW_GPIO 4 27284db32cSIan Lepore.Os 28284db32cSIan Lepore.Sh NAME 29284db32cSIan Lepore.Nm aw_gpio 30284db32cSIan Lepore.Nd driver for the GPIO and pin muxing functionalities on Allwinner SoC 31284db32cSIan Lepore.Sh SYNOPSIS 32284db32cSIan Lepore.Cd "device gpio" 33284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A10" 34284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A13" 35284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A20" 36284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A31" 37284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A31S" 38284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A33" 39284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A83T" 40284db32cSIan Lepore.Cd "options SOC_ALLWINNER_H2PLUS" 41284db32cSIan Lepore.Cd "options SOC_ALLWINNER_H3" 42284db32cSIan Lepore.Cd "options SOC_ALLWINNER_A64" 43284db32cSIan Lepore.Cd "options SOC_ALLWINNER_H5" 44*71924545SJulien Cassette.Cd "options SOC_ALLWINNER_D1" 45284db32cSIan Lepore.Sh DESCRIPTION 46284db32cSIan LeporeThe 47284db32cSIan Lepore.Nm 48284db32cSIan Leporedevice driver provides support for the Allwinner pin muxing and GPIO on 49284db32cSIan LeporeAllwinner SoCs. 50284db32cSIan Lepore.Sh HARDWARE 51284db32cSIan LeporeThe current version of the 52284db32cSIan Lepore.Nm 53284db32cSIan Leporedriver supports the GPIO/pinmuxing controller with one of the following 54284db32cSIan Leporecompatible strings : 55284db32cSIan Lepore.Pp 56284db32cSIan Lepore.Bl -bullet -compact 57284db32cSIan Lepore.It 58284db32cSIan Leporeallwinner,sun4i-a10-pinctrl 59284db32cSIan Lepore.It 60284db32cSIan Leporeallwinner,sun5i-a13-pinctrl 61284db32cSIan Lepore.It 62284db32cSIan Leporeallwinner,sun7i-a20-pinctrl 63284db32cSIan Lepore.It 64284db32cSIan Leporeallwinner,sun6i-a31-pinctrl 65284db32cSIan Lepore.It 66284db32cSIan Leporeallwinner,sun6i-a31s-pinctrl 67284db32cSIan Lepore.It 68284db32cSIan Leporeallwinner,sun6i-a31-r-pinctrl 69284db32cSIan Lepore.It 70284db32cSIan Leporeallwinner,sun6i-a33-pinctrl 71284db32cSIan Lepore.It 72284db32cSIan Leporeallwinner,sun8i-a83t-pinctrl 73284db32cSIan Lepore.It 74284db32cSIan Leporeallwinner,sun8i-a83t-r-pinctrl 75284db32cSIan Lepore.It 76284db32cSIan Leporeallwinner,sun8i-h3-pinctrl 77284db32cSIan Lepore.It 78284db32cSIan Leporeallwinner,sun50i-h5-pinctrl 79284db32cSIan Lepore.It 80284db32cSIan Leporeallwinner,sun8i-h3-r-pinctrl 81284db32cSIan Lepore.It 82284db32cSIan Leporeallwinner,sun50i-a64-pinctrl 83284db32cSIan Lepore.It 84284db32cSIan Leporeallwinner,sun50i-a64-r-pinctrl 85*71924545SJulien Cassette.It 86*71924545SJulien Cassetteallwinner,sun20i-d1-pinctrl 87284db32cSIan Lepore.El 88284db32cSIan Lepore.Sh SEE ALSO 89284db32cSIan Lepore.Xr fdt 4 , 90284db32cSIan Lepore.Xr gpio 4 91284db32cSIan Lepore.Sh HISTORY 92284db32cSIan LeporeThe 93284db32cSIan Lepore.Nm 94284db32cSIan Leporedevice driver first appeared in 95284db32cSIan Lepore.Fx 10.0 . 96284db32cSIan Lepore.Sh AUTHORS 97284db32cSIan LeporeThe 98284db32cSIan Lepore.Nm 99284db32cSIan Leporedevice driver was originally written by 100284db32cSIan Lepore.An Ganbold Tsagaankhuu Aq Mt ganbold@freebsd.org . 101284db32cSIan LeporeThis manual page was written by 102284db32cSIan Lepore.An Emmanuel Vadot Aq Mt manu@freebsd.org . 103