/freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
H A D | gpio-poweroff.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio [all...] |
H A D | gpio-poweroff.txt | 1 Driver a GPIO line that can be used to turn the power off. 4 At driver load time, the driver will request the given gpio line and 6 'input' is not found, the GPIO line will be driven in the inactive 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 13 the GPIO is set to inactive, thus causing an active->inactive edge, 15 delay the GPIO is driver active again. If the power is still on and 19 - compatible : should be "gpio-poweroff". 20 - gpios : The GPIO to set high/low, see "gpios property" in 21 Documentation/devicetree/bindings/gpio/gpio.txt. If the pin should be [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | armada-370-netgear-rn102.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-370.dtsi" 16 compatible = "netgear,readynas-102", "marvell,armada370", "marvell,armada-370-xp"; 19 stdout-path = "serial0:115200n8"; 32 internal-regs { 45 nr-ports = <1>; 50 pinctrl-0 = <&ge1_rgmii_pins>; [all …]
|
H A D | armada-370-netgear-rn104.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-370.dtsi" 16 compatible = "netgear,readynas-104", "marvell,armada370", "marvell,armada-370-xp"; 19 stdout-path = "serial0:115200n8"; 32 internal-regs { 44 pinctrl-0 = <&ge0_rgmii_pins>; 45 pinctrl-names = "default"; [all …]
|
H A D | armada-xp-netgear-rn2120.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 16 …compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arm… 19 stdout-path = "serial0:115200n8"; 33 internal-regs { 41 clock-frequency = <400000>; 45 * MGT4012XB-O20, 8000RPM) near eSATA port */ [all …]
|
H A D | armada-xp-lenovo-ix4-300d.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Lenovo Iomega ix4-300d 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 15 model = "Lenovo Iomega ix4-300d"; 16 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230", 17 "marvell,armadaxp", "marvell,armada-370-xp"; 20 stdout-path = "serial0:115200n8"; [all …]
|
H A D | kirkwood-netgear_readynas_duo_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 31 marvell,function = "gpio"; 34 pmx_button_backup: pmx-button-backup { 36 marvell,function = "gpio"; [all …]
|
H A D | kirkwood-netgear_readynas_nv+_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 31 marvell,function = "gpio"; 34 pmx_button_backup: pmx-button-backup { 36 marvell,function = "gpio"; [all …]
|
H A D | kirkwood-c200-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright 2021-2022 Pawel Dembicki <paweldembicki@gmail.com> 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 11 #include <dt-bindings/leds/common.h> 15 compatible = "ctera,c200-v1", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 19 stdout-path = &uart0; 28 compatible = "gpio-keys"; 29 pinctrl-0 = <&pmx_buttons>; 30 pinctrl-names = "default"; [all …]
|
H A D | armada-370-c200-v2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Device Tree file for Ctera C200-V2 8 /dts-v1/; 10 #include "armada-370.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/leds/common.h> 18 compatible = "ctera,c200-v2", "marvell,armada370", "marvell,armada-370-xp"; 22 stdout-path = "serial0:115200n8"; [all …]
|
H A D | kirkwood-iomega_ix2_200.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include "kirkwood-6281.dtsi" 8 model = "Iomega StorCenter ix2-200"; 9 compatible = "iom,ix2-200", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 stdout-path = &uart0; 22 pinctrl: pin-controller@10000 { 23 pinctrl-0 = < &pmx_led_sata_brt_ctrl_1 33 pinctrl-names = "default"; 35 pmx_button_reset: pmx-button-reset { [all …]
|
H A D | kirkwood-netxbig.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 * Based on netxbig_v2-setup.c, 14 #include <dt-bindings/leds/leds-netxbig.h> 16 #include "kirkwood-6281.dtsi" 21 stdout-path = &uart0; 33 #address-cells = <1>; 34 #size-cells = <1>; 35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor"; 37 spi-max-frequency = <20000000>; 42 label = "u-boot"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm2711-rpi-400.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2711-rpi-4-b.dts" 11 stdout-path = "serial1:115200n8"; 14 gpio-powerof [all...] |
/freebsd/sys/dev/gpio/ |
H A D | gpiopower.c | 1 /*- 32 #include <sys/gpio.h> 40 #include <dev/gpio/gpiobusvar.h> 56 if (ofw_bus_is_compatible(dev, "gpio-poweroff")) { in gpiopower_probe() 57 device_set_desc(dev, "GPIO poweroff control"); in gpiopower_probe() 59 } else if (ofw_bus_is_compatible(dev, "gpio-restart")) { in gpiopower_probe() 60 device_set_desc(dev, "GPIO restart control"); in gpiopower_probe() 76 if ((node = ofw_bus_get_node(dev)) == -1) in gpiopower_attach() 79 if (ofw_gpiobus_parse_gpios(dev, "gpios", &sc->sc_pin) <= 0) { in gpiopower_attach() 80 device_printf(dev, "failed to map GPIO pin\n"); in gpiopower_attach() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/apm/ |
H A D | apm-merlin.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 10 /include/ "apm-shadowcat.dtsi" 13 model = "APM X-Gene Merlin board"; 14 compatible = "apm,merlin", "apm,xgene-shadowcat"; 23 gpio-keys { 24 compatible = "gpio-keys"; 28 linux,input-type = <0x1>; 29 interrupt-parent = <&sbgpio>; 39 poweroff: poweroff@10548010 { label [all …]
|
H A D | apm-mustang.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 10 /include/ "apm-storm.dtsi" 13 model = "APM X-Gene Mustang board"; 14 compatible = "apm,mustang", "apm,xgene-storm"; 23 gpio-keys { 24 compatible = "gpio-keys"; 28 linux,input-type = <0x1>; 29 interrupt-parent = <&sbgpio>; 39 poweroff: poweroff@10548010 { label [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/amlogic/ |
H A D | meson8b-ec100.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 22 stdout-path = "serial0:115200n8"; 30 emmc_pwrseq: emmc-pwrseq { 31 compatible = "mmc-pwrseq-emmc"; 32 reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; 35 gpio-keys { 36 compatible = "gpio-keys-polled"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/ |
H A D | intel-ixp42x-dlink-dsm-g600.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for D-Link DSM-G600 revision A based on IXP420 11 /dts-v1/; 13 #include "intel-ixp42x.dtsi" 14 #include <dt-bindings/input/input.h> 17 model = "D-Link DSM-G600 rev A"; 18 compatible = "dlink,dsm-g60 [all...] |
H A D | intel-ixp42x-iomega-nas100d.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 13 compatible = "iom,nas-100d", "intel,ixp42x"; 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio [all...] |
H A D | intel-ixp42x-linksys-nslu2.dts | 1 // SPDX-License-Identifier: ISC 6 /dts-v1/; 8 #include "intel-ixp42x.dtsi" 9 #include <dt-bindings/input/input.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-led [all...] |
/freebsd/sys/contrib/device-tree/src/arm/intel/pxa/ |
H A D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | dra71-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 7 #include "dra7-mmc-iodelay.dtsi" 8 #include "dra72x-mmc-iodelay.dtsi" 9 #include <dt-binding 71 poweroff: gpio-poweroff { global() label [all...] |
H A D | omap3-ha-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 7 #include "omap3-tao3530.dtsi" 11 pinctrl-names = "default"; 12 pinctrl-0 = <&poweroff_pins>; 14 compatible = "gpio-poweroff"; 15 gpios = <&gpio6 8 GPIO_ACTIVE_LOW>; /* GPIO 168 */ 20 sound2_pins: sound2-pins { 21 pinctrl-single,pins = < 26 led_blue_pins: led-blue-pins { [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6qdl-udoo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 19 stdout-path = &uart2; 23 compatible = "gpio-backlight"; 25 default-o [all...] |
/freebsd/sys/contrib/device-tree/src/riscv/sifive/ |
H A D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-binding [all...] |