| /freebsd/sys/contrib/device-tree/src/arm/samsung/ | 
| H A D | exynos5410-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Exynos5410 SoC pin-mux and pin-config device tree source
 9 #include "exynos-pinctrl.h"
 12 	gpa0: gpa0-gpio-bank {
 13 		gpio-controller;
 14 		#gpio-cells = <2>;
 16 		interrupt-controller;
 17 		#interrupt-cells = <2>;
 20 	gpa1: gpa1-gpio-bank {
 21 		gpio-controller;
 [all …]
 
 | 
| H A D | exynos5250-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos5250 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos5250 SoC pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	gpa0: gpa0-gpio-bank {
 16 		gpio-controller;
 17 		#gpio-cells = <2>;
 19 		interrupt-controller;
 20 		#interrupt-cells = <2>;
 23 	gpa1: gpa1-gpio-bank {
 [all …]
 
 | 
| H A D | exynos5420-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	gpy7: gpy7-gpio-bank {
 16 		gpio-controller;
 17 		#gpio-cells = <2>;
 19 		interrupt-controller;
 20 		#interrupt-cells = <2>;
 23 	gpx0: gpx0-gpio-bank {
 [all …]
 
 | 
| H A D | exynos5260-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos5260 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos5260 SoC pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	gpa0: gpa0-gpio-bank {
 16 		gpio-controller;
 17 		#gpio-cells = <2>;
 19 		interrupt-controller;
 20 		#interrupt-cells = <2>;
 23 	gpa1: gpa1-gpio-bank {
 [all …]
 
 | 
| H A D | exynos4x12-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos4x12 SoCs pin-mux and pin-config device tree source
 8  * Samsung's Exynos4x12 SoCs pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	pin- ## _pin {							\
 17 		samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>;	\
 18 		samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>;	\
 22 	gpa0: gpa0-gpio-bank {
 23 		gpio-controller;
 24 		#gpio-cells = <2>;
 [all …]
 
 | 
| H A D | exynos4210-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos4210 SoC pin-mux and pin-config device tree source
 5  * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
 7  * Copyright (c) 2011-2012 Linaro Ltd.
 10  * Samsung's Exynos4210 SoC pin-mux and pin-config options are listed as device
 14 #include "exynos-pinctrl.h"
 17 	gpa0: gpa0-gpio-bank {
 18 		gpio-controller;
 19 		#gpio-cells = <2>;
 21 		interrupt-controller;
 [all …]
 
 | 
| H A D | exynos3250-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos3250 SoCs pin-mux and pin-config device tree source
 8  * Samsung's Exynos3250 SoCs pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	pin- ## _pin {							\
 17 		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;		\
 18 		samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>;		\
 19 		samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>;		\
 23 	pin- ## _pin {							\
 25 		samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>;	\
 [all …]
 
 | 
| H A D | s5pv210-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's S5PV210 SoC device tree source - pin control-related
 6  * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
 11  * Samsung's S5PV210 SoC pin banks, pin-mux and pin-config options are
 15 #include "s5pv210-pinctrl.h"
 18 	pin- ## _pi
 [all...]
 | 
| /freebsd/sys/contrib/device-tree/src/arm64/tesla/ | 
| H A D | fsd-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Tesla Full Self-Driving SoC device tree source
 5  * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd.
 7  * Copyright (c) 2017-2021 Tesla, Inc.
 11 #include "fsd-pinctrl.h"
 14 	gpf0: gpf0-gpio-bank {
 15 		gpio-controller;
 16 		#gpio-cells = <2>;
 18 		interrupt-controller;
 19 		#interrupt-cells = <2>;
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/pinctrl/ | 
| H A D | pinctrl-st.txt | 3 Each multi-function pin is controlled, driven and routed through the4 PIO multiplexing block. Each pin supports GPIO functionality (ALT0)
 5 and multiple alternate functions(ALT1 - ALTx) that directly connect
 8 When a pin is in GPIO mode, Output Enable (OE), Open Drain(OD), and
 12 gpio driver to configure a pin.
 14 GPIO bank can have one of the two possible types of interrupt-wirings.
 16 First type is via irqmux, single interrupt is used by multiple gpio banks. This
 20 		 |	   |----> [gpio-bank (n)    ]
 21 		 |	   |----> [gpio-bank (n + 1)]
 22 	[irqN]-- | irq-mux |----> [gpio-bank (n + 2)]
 [all …]
 
 | 
| H A D | samsung,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Krzysztof Kozlowski <krzk@kernel.org>
 11   - Sylwester Nawrocki <s.nawrocki@samsung.com>
 12   - Tomasz Figa <tomasz.figa@gmail.com>
 22    - External GPIO interrupts (see interrupts property in pin controller node);
 24    - External wake-up interrupts - multiplexed (capable of waking up the system
 25      see interrupts property in external wake-up interrupt controller node -
 26      samsung,pinctrl-wakeup-interrupt.yaml);
 [all …]
 
 | 
| H A D | samsung-pinctrl.txt | 1 Samsung GPIO and Pin Mux/Config controller3 Samsung's ARM based SoC's integrates a GPIO and Pin mux/config hardware
 6 on-chip controllers onto these pads.
 9 - compatible: should be one of the following.
 10   - "samsung,s3c2412-pinctrl": for S3C2412-compatible pin-controller,
 11   - "samsung,s3c2416-pinctrl": for S3C2416-compatible pin-controller,
 12   - "samsung,s3c2440-pinctrl": for S3C2440-compatible pin-controller,
 13   - "samsung,s3c2450-pinctrl": for S3C2450-compatible pin-controller,
 14   - "samsung,s3c64xx-pinctrl": for S3C64xx-compatible pin-controller,
 15   - "samsung,s5pv210-pinctrl": for S5PV210-compatible pin-controller,
 [all …]
 
 | 
| H A D | st,stm32-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)4 ---
 5 $id: http://devicetree.org/schemas/pinctrl/st,stm32-pinctrl.yaml#
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 8 title: STM32 GPIO and Pin Mux/Config controller
 11   - Alexandre TORGUE <alexandre.torgue@foss.st.com>
 14   STMicroelectronics's STM32 MCUs integrate a GPIO and Pin mux/config hardware
 17   on-chip controllers onto these pads.
 22       - st,stm32f429-pinctrl
 23       - st,stm32f469-pinctrl
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/src/arm64/exynos/ | 
| H A D | exynos7-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos7 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos7 SoC pin-mux and pin-config options are listed as
 12 #include "exynos-pinctrl.h"
 15 	gpa0: gpa0-gpio-bank {
 16 		gpio-controller;
 17 		#gpio-cells = <2>;
 19 		interrupt-controller;
 20 		interrupt-parent = <&gic>;
 21 		#interrupt-cells = <2>;
 [all …]
 
 | 
| H A D | exynos5433-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos5433 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos5433 SoC pin-mux and pin-config options are listed as device
 12 #include "exynos-pinctrl.h"
 15 	pin- ## _pin {							\
 17 		samsung,pin-function = <EXYNOS_PIN_FUNC_ ##_func>;	\
 18 		samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>;		\
 19 		samsung,pin-drv = <EXYNOS5433_PIN_DRV_ ##_drv>;		\
 32 	gpa0: gpa0-gpio-bank {
 33 		gpio-controller;
 [all …]
 
 | 
| H A D | exynos850-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung's Exynos850 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos850 SoC pin-mux and pin-config options are listed as device
 12 #include <dt-bindings/interrupt-controller/arm-gic.h>
 13 #include "exynos-pinctrl.h"
 16 	gpa0: gpa0-gpio-bank {
 17 		gpio-controller;
 18 		#gpio-cells = <2>;
 20 		interrupt-controller;
 21 		#interrupt-cells = <2>;
 [all …]
 
 | 
| H A D | exynos7885-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.03  * Samsung Exynos7885 SoC pin-mux and pin-config device tree source
 8  * Samsung's Exynos7885 SoC pin-mux and pin-config options are listed as
 12 #include <dt-bindings/interrupt-controller/arm-gic.h>
 13 #include "exynos-pinctrl.h"
 16 	etc0: etc0-gpio-bank {
 17 		gpio-controller;
 18 		#gpio-cells = <2>;
 20 		interrupt-controller;
 21 		#interrupt-cells = <2>;
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/ | 
| H A D | gpio.txt | 1 Every GPIO controller node must have #gpio-cells property defined,2 this information will be used to translate gpio-specifiers.
 10 - compatible : "fsl,cpm1-pario-bank-a", "fsl,cpm1-pario-bank-b",
 11   "fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d",
 12   "fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank"
 13 - #gpio-cells : Should be two. The first cell is the pin number and the
 15 - gpio-controller : Marks the port as GPIO controller.
 17 - fsl,cpm1-gpio-irq-mask : For banks having interrupt capability (like port C
 20 - interrupts : This property provides the list of interrupt for each GPIO having
 21   one as described by the fsl,cpm1-gpio-irq-mask property. There should be as
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/src/arm64/exynos/google/ | 
| H A D | gs101-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only3  * GS101 SoC pin-mux and pin-config device tree source
 5  * Copyright 2019-2023 Google LLC
 6  * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org>
 9 #include "gs101-pinctrl.h"
 12 	gpa0: gpa0-gpio-bank {
 13 		gpio-controller;
 14 		#gpio-cells = <2>;
 15 		interrupt-controller;
 16 		#interrupt-cells = <2>;
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/qe/ | 
| H A D | par_io.txt | 10 - device_type : should be "par_io".11 - reg : offset to the register set and its length.
 12 - num-ports : number of Parallel I/O ports
 17 	#address-cells = <1>;
 18 	#size-cells = <0>;
 20 	num-ports = <7>;
 26 the new device trees. Instead, each Par I/O bank should be represented
 27 via its own gpio-controller node:
 30 - #gpio-cells : should be "2".
 31 - compatible : should be "fsl,<chip>-qe-pario-bank",
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/gpio/ | 
| H A D | brcm,brcmstb-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/gpio/brcm,brcmstb-gpio.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Broadcom STB "UPG GIO" GPIO controller
 10   The controller's registers are organized as sets of eight 32-bit
 11   registers with each set controlling a bank of up to 32 pins.  A single
 15   - Doug Berger <opendmb@gmail.com>
 16   - Florian Fainelli <f.fainelli@gmail.com>
 21       - enum:
 [all …]
 
 | 
| H A D | brcm,brcmstb-gpio.txt | 1 Broadcom STB "UPG GIO" GPIO controller3 The controller's registers are organized as sets of eight 32-bit
 4 registers with each set controlling a bank of up to 32 pins.  A single
 9 - compatible:
 10     Must be "brcm,brcmstb-gpio"
 12 - reg:
 14     the brcmstb GPIO controller registers
 16 - #gpio-cells:
 19     bit[0]: polarity (0 for active-high, 1 for active-low)
 21 - gpio-controller:
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/src/mips/pic32/ | 
| H A D | pic32mzda.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only5 #include <dt-bindings/clock/microchip,pic32-clock.h>
 6 #include <dt-bindings/interrupt-controller/irq.h>
 9 	#address-cells = <1>;
 10 	#size-cells = <1>;
 11 	interrupt-parent = <&evic>;
 33 		#address-cells = <1>;
 34 		#size-cells = <0>;
 43 		compatible = "microchip,pic32mzda-infra";
 49 		#clock-cells = <0>;
 [all …]
 
 | 
| /freebsd/sys/arm64/rockchip/ | 
| H A D | rk_pinctrl.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 33 #include <sys/gpio.h>
 58 	uint32_t	bank;  member
 66 	uint32_t	bank;  member
 73 	uint32_t	bank;  member
 82 	uint32_t	bank;  member
 114 #define	RK_PINCTRL_LOCK(_sc)		mtx_lock_spin(&(_sc)->mtx)
 115 #define	RK_PINCTRL_UNLOCK(_sc)		mtx_unlock_spin(&(_sc)->mtx)
 116 #define	RK_PINCTRL_LOCK_ASSERT(_sc)	mtx_assert(&(_sc)->mtx, MA_OWNED)
 [all …]
 
 | 
| /freebsd/sys/arm/broadcom/bcm2835/ | 
| H A D | bcm2835_gpio.c | 1 /*-2  * SPDX-License-Identifier: BSD-2-Clause
 5  * Copyright (c) 2012-2015 Luiz Otavio O Souza <loos@FreeBSD.org>
 36 #include <sys/gpio.h>
 50 #include <dev/gpio/gpiobusvar.h>
 94 	{ SYS_RES_IRQ, 0, RF_ACTIVE },	/* bank 0 interrupt */
 95 	{ SYS_RES_IRQ, 1, RF_ACTIVE },	/* bank 1 interrupt */
 96 	{ -1, 0, 0 }
 135 #define	BCM_GPIO_LOCK(_sc)	mtx_lock_spin(&(_sc)->sc_mtx)
 136 #define	BCM_GPIO_UNLOCK(_sc)	mtx_unlock_spin(&(_sc)->sc_mtx)
 [all …]
 
 |