/openbmc/linux/arch/arc/boot/dts/ |
H A D | abilis_tb101.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ [all …]
|
H A D | abilis_tb100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 15 bus-frequency = <166666666>; 18 clock-frequency = <1000000000>; 21 clock-mult = <1>; 22 clock-div = <2>; 25 clock-mult = <1>; 26 clock-div = <6>; 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio.txt | 1 Specifying GPIO information for devices 5 ----------------- 7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 8 of this GPIO for the device. While a non-existent <name> is considered valid 10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old 14 GPIO properties can contain one or more GPIO phandles, but only in exceptional 23 The following example could be used to describe GPIO pins used as device enable 24 and bit-banged data signals: 27 gpio-controller; 28 #gpio-cells = <2>; [all …]
|
H A D | socionext,uniphier-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/gpio/socionext,uniphier-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UniPhier GPIO controller 10 - Masahiro Yamada <yamada.masahiro@socionext.com> 14 pattern: "^gpio@[0-9a-f]+$" 17 const: socionext,uniphier-gpio 22 gpio-controller: true 24 "#gpio-cells": [all …]
|
H A D | abilis,tb10x-gpio.txt | 1 * Abilis TB10x GPIO controller 4 - compatible: Should be "abilis,tb10x-gpio" 5 - reg: Address and length of the register set for the device 6 - gpio-controller: Marks the device node as a gpio controller. 7 - #gpio-cells: Should be <2>. The first cell is the pin number and the 9 - bit 0 specifies polarity (0 for normal, 1 for inverted). 10 - abilis,ngpio: the number of GPIO pins this driver controls. 13 - interrupt-controller: Marks the device node as an interrupt controller. 14 - #interrupt-cells: Should be <1>. Interrupts are triggered on both edges. 15 - interrupts: Defines the interrupt line connecting this GPIO controller to [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | abilis,tb10x-iomux.txt | 5 ------------------- 7 - compatible: should be "abilis,tb10x-iomux"; 8 - reg: should contain the physical address and size of the pin controller's 13 -------------------- 15 Functions are defined (and referenced) by sub-nodes of the pin controller. 16 Every sub-node defines exactly one function (implying a set of pins). 17 Every function is associated to one named pin group inside the pin controller 18 driver and these names are used to associate pin group predefinitions to pin 19 controller sub-nodes. 22 - abilis,function: should be set to the name of the function's pin group. [all …]
|
H A D | mediatek,mt8188-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hui Liu <hui.liu@mediatek.com> 17 const: mediatek,mt8188-pinctrl 19 gpio-controller: true 21 '#gpio-cells': 23 Number of cells in GPIO specifier, should be two. The first cell is the 25 are defined in <dt-bindings/gpio/gpio.h>. [all …]
|
H A D | qcom,ipq8064-pinctrl.txt | 4 - compatible: "qcom,ipq8064-pinctrl" 5 - reg: Should be the base address and length of the TLMM block. 6 - interrupts: Should be the parent IRQ of the TLMM block. 7 - interrupt-controller: Marks the device node as an interrupt controller. 8 - #interrupt-cells: Should be two. 9 - gpio-controller: Marks the device node as a GPIO controller. 10 - #gpio-cells : Should be two. 11 The first cell is the gpio pin number and the 13 - gpio-ranges: see ../gpio/gpio.txt 17 - gpio-reserved-ranges: see ../gpio/gpio.txt [all …]
|
H A D | qcom,apq8064-pinctrl.txt | 4 - compatible: "qcom,apq8064-pinctrl" 5 - reg: Should be the base address and length of the TLMM block. 6 - interrupts: Should be the parent IRQ of the TLMM block. 7 - interrupt-controller: Marks the device node as an interrupt controller. 8 - #interrupt-cells: Should be two. 9 - gpio-controller: Marks the device node as a GPIO controller. 10 - #gpio-cells : Should be two. 11 The first cell is the gpio pin number and the 13 - gpio-ranges: see ../gpio/gpio.txt 17 - gpio-reserved-ranges: see ../gpio/gpio.txt [all …]
|
H A D | fsl,imx27-pinctrl.txt | 4 - compatible: "fsl,imx27-iomuxc" 9 - fsl,pins: three integers array, represents a group of pins mux and config 21 0 - Primary function 22 1 - Alternate function 23 2 - GPIO 24 Registers: GIUS (GPIO In Use), GPR (General Purpose Register) 28 0 - Input 29 1 - Output 32 gpio_oconf configures the gpio submodule output signal. This does not 33 have any effect unless GPIO function is selected. A/B/C_IN are output [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 intregrate a GPIO and Pin mux/config hardware 17 on-chip controllers onto these pads. 22 - st,stm32f429-pinctrl 23 - st,stm32f469-pinctrl [all …]
|
H A D | ste,nomadik.txt | 4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl", 5 "stericsson,stn8815-pinctrl" 6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips 7 (these have the register ranges used by the pin controller). 8 - prcm: phandle to the PRCMU managing the back end of this pin controller 10 Please refer to pinctrl-bindings.txt in this directory for details of the 16 pin, a group, or a list of pins or groups. This configuration can include the 17 mux function to select on those pin(s)/group(s), and various pin configuration 23 (see pinctrl-bindings.txt): 26 - function: A string containing the name of the function to mux to the [all …]
|
H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 25 [1] GPIO : ../gpio/gpio.txt 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true [all …]
|
H A D | rockchip,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 16 options with option 0 being used as a GPIO. 18 Please refer to pinctrl-bindings.txt in this directory for details of the 22 The Rockchip pin configuration node is a node of a group of pins which can be 24 config of the pins in that group. The 'pins' selects the function mode 26 various pad settings such as pull-up, etc. 29 defined as gpio sub-nodes of the pinmux controller. [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/gpio/ |
H A D | gpio.txt | 1 Specifying GPIO information for devices 5 ----------------- 8 properties, each containing a 'gpio-list': 10 gpio-list ::= <single-gpio> [gpio-list] 11 single-gpio ::= <gpio-phandle> <gpio-specifier> 12 gpio-phandle : phandle to gpio controller node 13 gpio-specifier : Array of #gpio-cells specifying specific gpio 16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 17 of this GPIO for the device. While a non-existent <name> is considered valid 21 GPIO properties can contain one or more GPIO phandles, but only in exceptional [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | brcm,bcm63268-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm63268-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM63268 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM63268 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
H A D | brcm,bcm6362-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6362-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6362 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6362 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
H A D | brcm,bcm6368-gpio-sysctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/brcm,bcm6368-gpio-sysctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM6368 GPIO System Controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 11 - Jonas Gorski <jonas.gorski@gmail.com> 14 Broadcom BCM6368 SoC GPIO system controller which provides a register map 15 for controlling the GPIO and pins of the SoC. 18 "#address-cells": true [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 12 interrupt-parent = <&gic>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 compatible = "arm,cortex-a7"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1046a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1046A family SoC. 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/gpio/gpio.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 37 #address-cells = <1>; [all …]
|
H A D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1088A family SoC. 5 * Copyright 2017-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 26 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | pxa910.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Marvell Technology Group Ltd. 7 #include <dt-bindings/clock/marvell,pxa910.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <1>; 24 compatible = "simple-bus"; 25 interrupt-parent = <&intc>; 26 ranges; [all …]
|
H A D | pxa168.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Marvell Technology Group Ltd. 7 #include <dt-bindings/clock/marvell,pxa168.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 22 #address-cells = <1>; 23 #size-cells = <1>; 24 compatible = "simple-bus"; 25 interrupt-parent = <&intc>; 26 ranges; [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/ |
H A D | rockchip,pinctrl.txt | 6 muxing options with option 0 being the use as a GPIO. 8 Please refer to pinctrl-bindings.txt in this directory for details of the 12 The Rockchip pin configuration node is a node of a group of pins which can be 14 config of the pins in that group. The 'pins' selects the function mode(also 16 settings such as pull-up, etc. 19 defined as gpio sub-nodes of the pinmux controller. 22 - compatible: one of "rockchip,rk2928-pinctrl", "rockchip,rk3066a-pinctrl" 23 "rockchip,rk3066b-pinctrl", "rockchip,rk3188-pinctrl" 24 "rockchip,rk3288-pinctrl" 25 - rockchip,grf: phandle referencing a syscon providing the [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 7 * Based on bits of regulator core, gpio core and clk core 32 #include "../gpio/gpiolib.h" 62 * pinctrl_provide_dummies() - indicate if pinctrl provides dummy state support 77 return pctldev->desc->name; in pinctrl_dev_get_name() 83 return dev_name(pctldev->dev); in pinctrl_dev_get_devname() 89 return pctldev->driver_data; in pinctrl_dev_get_drvdata() 94 * get_pinctrl_dev_from_devname() - look up pin controller device [all …]
|