Home
last modified time | relevance | path

Searched +full:gpio +full:- +full:dir (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio-ep9301.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-ep9301.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: EP93xx GPIO controller
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Bartosz Golaszewski <brgl@bgdev.pl>
12 - Nikita Shubin <nikita.shubin@maquefel.me>
17 - const: cirrus,ep9301-gpio
18 - items:
[all …]
/freebsd/sys/contrib/device-tree/include/dt-bindings/sound/
H A Dcs35l45.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header
12 * cirrus,asp-sdout-hiz-ctrl
14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots.
15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled.
21 * Optional GPIOX Sub-nodes:
22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3])
23 * sub-nodes for configuring the GPIO pins.
25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl'
30 * - gpio-lvl : GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dcirrus,cs35l45.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
31 '#sound-dai-cells':
34 reset-gpios:
37 vdd-a-supply:
[all …]
H A Ddavinci-mcasp-audio.txt4 - compatible :
5 "ti,dm646x-mcasp-audio" : for DM646x platforms
6 "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
7 "ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx)
8 "ti,dra7-mcasp-audio" : for DRA7xx platforms
9 "ti,omap4-mcasp-audio" : for OMAP4
11 - reg : Should contain reg specifiers for the entries in the reg-names property.
12 - reg-names : Should contain:
16 - op-mode : I2S/DIT ops mode. 0 for I2S mode. 1 for DIT mode used for S/PDIF,
17 IEC60958-1, and AES-3 formats.
[all …]
H A Ddavinci-mcasp-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,dm646x-mcasp-audio
16 - ti,da830-mcasp-audio
17 - ti,am33xx-mcasp-audio
18 - ti,dra7-mcasp-audio
19 - ti,omap4-mcasp-audio
[all …]
/freebsd/sys/contrib/device-tree/src/arm/cirrus/
H A Dep93xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/cirrus,ep9301-syscon.h>
11 compatible = "simple-bus";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 compatible = "cirrus,ep9301-syscon", "syscon";
20 #clock-cells = <1>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Darm,pl18x.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Ulf Hansson <ulf.hansson@linaro.org>
20 - $ref: /schemas/arm/primecell.yaml#
21 - $ref: mmc-controller.yaml#
29 - arm,pl180
30 - arm,pl181
31 - arm,pl18x
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Draspberrypi_gpio.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
5 * Copyright (c) 2012-2015 Luiz Otavio O Souza <loos@FreeBSD.org>
36 #include <sys/gpio.h>
43 #include <dev/gpio/gpiobusvar.h>
62 #define RPI_FW_GPIO_LOCK(_sc) sx_xlock(&(_sc)->sc_sx)
63 #define RPI_FW_GPIO_UNLOCK(_sc) sx_xunlock(&(_sc)->sc_sx)
66 {"raspberrypi,firmware-gpio", 1},
80 old_cfg.req.gpio = RPI_FW_GPIO_BASE + pin->gp_pin; in rpi_fw_gpio_pin_configure()
83 rv = bcm2835_firmware_property(sc->sc_firmware, in rpi_fw_gpio_pin_configure()
[all …]
H A Dbcm2835_firmware.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
153 uint32_t gpio; member
156 uint32_t gpio; member
163 uint32_t gpio; member
167 uint32_t gpio; member
173 uint32_t gpio; member
176 uint32_t gpio; member
177 uint32_t dir; member
186 uint32_t gpio; member
[all …]
/freebsd/sys/arm/mv/
H A Dmvvar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
63 int gc_gpio; /* GPIO number */
64 uint32_t gc_flags; /* GPIO flags */
65 int gc_output; /* GPIO output value */
120 int mv_drbl_get_next_irq(int dir, int unit);
122 void mv_drbl_mask_irq(uint32_t irq, int dir, int unit);
123 void mv_drbl_unmask_irq(uint32_t irq, int dir, int unit);
124 void mv_drbl_set_mask(uint32_t val, int dir, int unit);
125 uint32_t mv_drbl_get_mask(int dir, int unit);
[all …]
/freebsd/sys/contrib/device-tree/src/arm/broadcom/
H A Dbcm47094-dlink-dir-885l.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 * DTS for D-Link DIR-885L
9 /dts-v1/;
12 #include "bcm5301x-nan
[all...]
H A Dbcm47094-dlink-dir-890l.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Device tree for D-Link DIR-890L
4 * D-Link calls this board "WRGAC36"
5 * this router has the same looks and form factor as D-Lin
[all...]
/freebsd/sys/dev/gpio/
H A Dqoriq_gpio.c1 /*-
37 #include <sys/gpio.h>
43 #include <dev/gpio/gpiobusvar.h>
44 #include <dev/gpio/qoriq_gpio.h>
57 return (sc->busdev); in qoriq_gpio_get_bus()
80 *caps = sc->sc_pins[pin].gp_caps; in qoriq_gpio_pin_getcaps()
96 name[GPIOMAXNAME-1] = '\0'; in qoriq_gpio_pin_getname()
109 if ((flags & sc->sc_pins[pin].gp_caps) != flags) { in qoriq_gpio_pin_configure()
114 reg = bus_read_4(sc->sc_mem, GPIO_GPDIR); in qoriq_gpio_pin_configure()
115 reg &= ~(1 << (31 - pin)); in qoriq_gpio_pin_configure()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/gemini/
H A Dgemini-dlink-dir-685.dts2 * Device Tree file for D-Link DIR-685 Xtreme N Storage Router
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
11 model = "D-Link DIR-685 Xtreme N Storage Router";
12 compatible = "dlink,dir-685", "cortina,gemini";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 /* 128 MB SDRAM in 2 x Hynix HY5DU121622DTP-D43 */
24 stdout-path = "uart0:19200n8";
28 compatible = "gpio-keys";
[all …]
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Dkirkwood-dir665.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
10 #include "kirkwood-6281.dtsi"
13 model = "D-Link DIR-665";
14 compatible = "dlink,dir-665", "marvell,kirkwood-88f6281", "marvell,kirkwood";
23 stdout-path = &uart0;
27 pinctrl: pin-controller@10000 {
28 pinctrl-0 =< &pmx_led_usb
35 pinctrl-names = "default";
37 pmx_led_usb: pmx-led-usb {
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab850
[all...]
H A Dspear1340-evb.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
13 compatible = "st,spear1340-evb", "st,spear1340";
14 #address-cells = <1>;
15 #size-cells = <1>;
23 pinctrl-name
[all...]
H A Dste-nomadik-stn8815.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC
6 #include <dt-bindings/gpio/gpio.h>
9 #address-cells = <1>;
10 #size-cells = <1>;
18 L2: cache-controlle
[all...]
H A Dspear310.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #address-cells = <1>;
13 #size-cells = <1>;
14 compatible = "simple-bus";
20 compatible = "st,spear310-pinmux";
22 #gpio-range-cells = <3>;
26 compatible = "st,spear600-fsmc-nand";
27 #address-cells = <1>;
28 #size-cells = <1>;
33 reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
[all …]
H A Dste-ux500-samsung-janice.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctr
[all...]
H A Dspear1340.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
16 compatible = "st,spear-spics-gpio";
18 st-spics,peripcfg-re
[all...]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dmpc8569mds.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /include/ "mpc8569si-pre.dtsi"
13 #address-cells = <2>;
14 #size-cells = <2>;
15 interrupt-parent = <&mpic>;
40 #address-cells = <1>;
41 #size-cells = <1>;
42 compatible = "cfi-flash";
44 bank-width = <1>;
45 device-width = <1>;
[all …]
/freebsd/sys/dts/
H A Dbindings-gpio.txt2 GPIO configuration.
5 1. Properties for GPIO Controllers
7 1.1 #gpio-cells
9 Property: #gpio-cells
13 Description: The #gpio-cells property defines the number of cells required
14 to encode a gpio specifier.
17 1.2 gpio-controller
19 Property: gpio-controller
23 Description: The presence of a gpio-controller property defines a node as a
24 GPIO controller node.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dti,phy-j721e-wiz.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
4 ---
[all...]
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-j721e-common-proc-board.dts1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2019-2024 Texas Instruments Incorporated - https://www.ti.com/
8 /dts-v1/;
10 #include "k3-j721e-som-p0.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/net/ti-dp83867.h>
14 #include <dt-bindings/phy/phy-cadence.h>
17 compatible = "ti,j721e-evm", "ti,j721e";
33 stdout-path = "serial2:115200n8";
[all …]

1234