/freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
H A D | gpio-restart.txt | 1 Drive a GPIO line that can be used to restart the system from a restart 5 time, the driver will request the given gpio line and install a restart 6 handler. If the optional properties 'open-source' is not found, the GPIO line 8 the restart is initiated. 10 When the system is restarted, the restart handler will be invoked in 11 priority order. The gpio is configured as an output, and driven active, 13 inactive->active edge condition, triggering positive edge triggered 14 reset. After a delay specified by active-delay, the GPIO is set to 15 inactive, thus causing an active->inactive edge, triggering negative edge 16 triggered reset. After a delay specified by inactive-delay, the GPIO [all …]
|
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio [all...] |
/freebsd/sys/contrib/device-tree/src/riscv/starfive/ |
H A D | jh7100-starfive-visionfive-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include "jh7100-common.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 13 compatible = "starfive,visionfive-v1", "starfive,jh7100"; 15 gpio-restart { 16 compatible = "gpio-restart"; 17 gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
|
H A D | jh7110-starfive-visionfive-2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include "jh7110-pinfunc.h" 10 #include <dt-bindings/gpio/gpio.h> 26 stdout-path = "serial0:115200n8"; 30 timebase-frequenc [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | msm8916-ufi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 9 chassis-typ [all...] |
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | lan966x-pcb8291.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8291.dts - Device Tree file for PCB8291 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8291", "microchip,lan9662", "microchip,lan966"; 14 stdout-path = "serial0:115200n8"; 21 gpio-restart { 22 compatible = "gpio-restart"; 23 gpios = <&gpio 56 GPIO_ACTIVE_LOW>; [all …]
|
H A D | lan966x-kontron-kswitch-d10-mmt.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/phy/phy-lan966x-serdes.h" 16 stdout-path = "serial0:115200n8"; 19 gpio-restart { 20 compatible = "gpio-restart"; 21 pinctrl-0 = <&reset_pins>; 22 pinctrl-names = "default"; 23 gpios = <&gpio 56 GPIO_ACTIVE_LOW>; 29 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; [all …]
|
H A D | lan966x-pcb8290.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x-pcb8290.dts - Device Tree file for LAN966X-PCB8290 board 9 /dts-v1/; 11 #include "dt-bindings/phy/phy-lan966x-serde [all...] |
H A D | lan966x-pcb8309.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x_pcb8309.dts - Device Tree file for PCB8309 5 /dts-v1/; 7 #include "dt-bindings/phy/phy-lan966x-serdes.h" 10 model = "Microchip EVB - LAN9662"; 11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966"; 20 stdout-path = "serial0:115200n8"; 23 gpio-restart { 24 compatible = "gpio-restart"; 25 gpios = <&gpio 56 GPIO_ACTIVE_LOW>; [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/sifive/ |
H A D | hifive-unleashed-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 #include "fu540-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pwm/pwm.h> 14 compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", 18 stdout-path = "serial0"; 22 timebase-frequency = <RTCCLK_FREQ>; 31 #clock-cells = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/synaptics/ |
H A D | berlin2cd-valve-steamlink.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 19 gpio-restart { 20 compatible = "gpio-restart"; 22 active-delay = <100>; 23 inactive-delay = <10>; 24 wait-delay = <100>; 30 cpu-supply = <&vcpu>; 31 operating-points = < [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/arm/nxp/imx/ |
H A D | imx7d-flex-concentrator.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "imx7d-tqma7.dtsi" 14 /delete-node/ &ds1339; 18 compatible = "kam,imx7d-flex-concentrator", "fsl,imx7d"; 22 /* 1024 MB - TQMa7D board configuration */ 26 reg_usb_otg2_vbus: regulator-us [all...] |
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm958522er.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 81 nand-on-flash-bbt; 83 #address-cells = <1>; 84 #size-cells = <1>; [all …]
|
H A D | bcm958525er.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 81 nand-on-flash-bbt; 83 #address-cells = <1>; 84 #size-cells = <1>; [all …]
|
H A D | bcm958622hr.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 85 nand-on-flash-bbt; 87 #address-cells = <1>; 88 #size-cells = <1>; [all …]
|
H A D | bcm958525xmc.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 76 temperature-sensor@4c { 97 nand-on-flash-bbt; 99 #address-cells = <1>; [all …]
|
H A D | bcm958625hr.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 60 i2c-bus = <&i2c0>; 61 mod-def0-gpios = <&gpioa 28 GPIO_ACTIVE_LOW>; 62 los-gpios = <&gpioa 24 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | bcm958623hr.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 85 nand-on-flash-bbt; 87 #address-cells = <1>; 88 #size-cells = <1>; [all …]
|
H A D | bcm988312hr.dts | 33 /dts-v1/; 35 #include "bcm-nsp.dtsi" 36 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = "serial0:115200n8"; 51 gpio-restart { 52 compatible = "gpio-restart"; 54 open-source; 85 nand-on-flash-bbt; 87 #address-cells = <1>; 88 #size-cells = <1>; [all …]
|
H A D | bcm47189-luxul-xap-1440.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "luxul,xap-1440-v1", "brcm,bcm47189", "brcm,bcm53573"; 12 model = "Luxul XAP-1440 V1"; 24 compatible = "gpio [all...] |
H A D | bcm947189acdbmr.dts | 8 /dts-v1/; 26 compatible = "gpio-leds"; 28 led-wps { 33 led-5ghz { 38 led-2ghz { 44 gpio-keys { 45 compatible = "gpio-key [all...] |
H A D | bcm47189-luxul-xap-810.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573"; 12 model = "Luxul XAP-810 V1"; 23 leds- [all...] |
H A D | bcm47094-luxul-xwc-2000.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 12 compatible = "luxul,xwc-200 [all...] |
H A D | bcm4709-netgear-r7000.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 29 compatible = "gpio-leds"; 31 led-power-white { 34 linux,default-trigger = "default-on"; 37 led-power-amber { 42 led-5ghz { 47 led-2ghz { 52 led-wps { [all …]
|