Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:gpios (Results 1 – 25 of 64) sorted by relevance

123

/Zephyr-latest/dts/bindings/input/
Dite,it8xxx2-kbd.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-kbd"
8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
20 Configure wakeup controller, this controller is used to set that
21 when the interrupt is triggered in EC low power mode, it can wakeup
22 EC or not. Via this controller, we set the wakeup trigger edge,
23 enable, disable, and clear wakeup status for the specific pin which
26 kso16-gpios:
27 type: phandle-array
32 kso17-gpios:
[all …]
/Zephyr-latest/samples/drivers/ps2/boards/
Dmec1501modular_assy6885.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
13 wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>;
14 wakeup-source;
19 ps2-port0 = &ps2_0;
Dmec15xxevb_assy6853.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
13 wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>;
14 wakeup-source;
19 ps2-port0 = &ps2_0;
Dmec172xevb_assy6906.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_115 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
14 ps2-port0 = &ps2_0;
/Zephyr-latest/dts/bindings/power/
Datmel,sam-supc.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Atmel SAM SUPC (Supply-Controller) controller
8 monitoring of the device. It have a special feature that it can wake-up the
9 device from a low-power state using special peripherals as wake-up sources.
11 The dedicated peripherals that can wake-up the core supply domain are: RTC,
12 RTT, Supply Monitor and GPIOs. In the first three peripherals it is necessary
13 inform the wakeup-source-id property on their respective nodes.
17 wakeup-source-id = <&supc SUPC_WAKEUP_SOURCE_RTC>;
21 The special peripheral will wake-up the device only when the standard property
22 wakeup-source is defined, e.g.:
[all …]
Dst,stm32-pwr.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "st,stm32-pwr"
14 wkup-pins-nb:
17 Max nbr of system wake-up pins.
18 For example wkup-pins-nb = <8>; on the stm32u5
20 wkup-pin-srcs:
23 Number of wake-up GPIO sources to select from for each wake-up pin.
25 wake-up pin.
27 For example, each wake-up pin on STM32U5 is associated with
28 4 wake-up sources, 3 of them correspond to GPIOs.
[all …]
/Zephyr-latest/dts/riscv/ite/
Dit81xx2.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 gpiogcr: gpio-gcr@f01600 {
12 compatible = "ite,it8xxx2-gpiogcr";
17 compatible = "ite,it8xxx2-gpiokscan";
23 reg-names = "goen", "gctrl", "gdat", "gdmr", "gpod";
25 gpio-controller;
26 #gpio-cells = <2>;
30 compatible = "ite,it8xxx2-gpiokscan";
36 reg-names = "goen", "gctrl", "gdat", "gdmr", "gpod";
38 gpio-controller;
[all …]
Dit82xx2.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "mmio-sram";
16 intc: interrupt-controller@f03f00 {
17 compatible = "ite,it8xxx2-intc-v2";
18 #address-cells = <0>;
19 #interrupt-cells = <2>;
20 interrupt-controller;
25 compatible = "ite,it8xxx2-watchdog";
29 interrupt-parent = <&intc>;
32 gpiogcr: gpio-gcr@f03e00 {
[all …]
/Zephyr-latest/dts/bindings/wifi/
Dinventek,eswifi.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: es-WiFi module
8 include: spi-device.yaml
11 resetn-gpios:
12 type: phandle-array
15 data-gpios:
16 type: phandle-array
19 wakeup-gpios:
20 type: phandle-array
22 boot0-gpios:
[all …]
Dinventek,eswifi-uart.yaml3 # SPDX-License-Identifier: Apache-2.0
5 description: es-WiFi module (uart firmware interface)
7 compatible: "inventek,eswifi-uart"
9 include: uart-device.yaml
12 resetn-gpios:
13 type: phandle-array
16 wakeup-gpios:
17 type: phandle-array
/Zephyr-latest/boards/shields/inventek_eswifi/
Dinventek_eswifi_arduino_spi.overlay4 * SPDX-License-Identifier: Apache-2.0
11 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>;
16 spi-max-frequency = <2000000>;
20 data-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>;
22 wakeup-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;
24 resetn-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
26 boot0-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>;
Dinventek_eswifi_arduino_uart.overlay4 * SPDX-License-Identifier: Apache-2.0
12 compatible = "inventek,eswifi-uart";
15 wakeup-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>;
17 resetn-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>;
/Zephyr-latest/drivers/sensor/st/lis2dw12/
DKconfig1 # ST Microelectronics LIS2DW12 3-axis accelerometer driver
4 # SPDX-License-Identifier: Apache-2.0
31 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LIS2DW12),irq-gpios)
37 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LIS2DW12),irq-gpios)
62 bool "Tap and Tap-Tap detection"
74 bool "Wakeup detection (via interrupt)"
76 Enable the wakeup detection feature.
77 The wake-up interrupt signal is generated if a certain number of
80 a wake-up interrupt generation at least one of the three axes must
/Zephyr-latest/tests/drivers/build_all/wifi/
Duart_devices.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
24 test_uart_eswifi: eswifi-uart {
25 compatible = "inventek,eswifi-uart";
27 wakeup-gpios = <&test_gpio 0 0>;
28 resetn-gpios = <&test_gpio 0 0>;
Dspi_devices.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
20 #address-cells = <1>;
21 #size-cells = <0>;
25 clock-frequency = <2000000>;
28 cs-gpios = <&test_gpio 0 0>,
38 spi-max-frequency = <5000000>;
[all …]
/Zephyr-latest/dts/bindings/mfd/
Dnordic,npm2100.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
14 host-int-gpios:
15 type: phandle-array
18 host-int-type:
21 - "edge"
22 - "level"
28 pmic-int-pin:
31 - 0
32 - 1
[all …]
/Zephyr-latest/samples/boards/espressif/deep_sleep/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
21 #error "Unsupported: wakeup-button alias is not defined"
23 static const struct gpio_dt_spec wakeup_button = GPIO_DT_SPEC_GET(DT_ALIAS(wakeup_button), gpios);
36 int pin = __builtin_ffsll(wakeup_pin_mask) - 1; in main()
51 int pin = __builtin_ffsll(wakeup_pin_mask) - 1; in main()
72 printk("Enabling timer wakeup, %ds\n", wakeup_time_sec); in main()
81 printk("Enabling EXT1 wakeup on pins GPIO%d, GPIO%d\n", in main()
86 /* enable pull-down on ext1 pins to avoid random wake-ups */ in main()
94 printk("Error: wakeup button device %s is not ready\n", wakeup_button.port->name); in main()
102 ret, wakeup_button.port->name, wakeup_button.pin); in main()
[all …]
/Zephyr-latest/boards/nxp/frdm_rw612/
Dfrdm_rw612_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "frdm_rw612-pinctrl.dtsi"
15 usart-0 = &flexcomm3;
16 i2c-0 = &flexcomm2;
17 pwm-0 = &sctimer;
24 zephyr,shell-uart = &flexcomm3;
28 compatible = "gpio-leds";
30 gpios = <&hsgpio0 12 0>;
36 compatible = "nxp,lpc-usart";
38 current-speed = <115200>;
[all …]
/Zephyr-latest/samples/boards/espressif/deep_sleep/socs/
Desp32c3.overlay4 * SPDX-License-Identifier: Apache-2.0
9 /* On ESP32-C3, only GPIO0~5 can be used
10 * as wake-up sources
12 wakeup-button = &sample_button;
16 compatible = "gpio-keys";
18 gpios = <&gpio0 0 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
36 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
39 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
45 /* Configure wake-up features */ in config_wakeup_features()
46 /* WKUP2(PC13) only , - active low, pull-up */ in config_wakeup_features()
47 /* Set pull-ups for standby modes */ in config_wakeup_features()
50 /* Enable pin pull up configurations and wakeup pins */ in config_wakeup_features()
53 /* Clear wakeup flags */ in config_wakeup_features()
72 printk("Release the user button to wake-up\n\n"); in thread_poweroff_standby_mode()
77 /* powered off until wakeup line activated */ in thread_poweroff_standby_mode()
[all …]
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
17 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
34 /* Configure to generate PORT event (wakeup) on button 1 press. */ in main()
36 printk("%s: device not ready.\n", sw0_gpio.port->name); in main()
42 /* Set wakeup bits for button gpio */ in main()
47 printk("Busy-wait %u s\n", BUSY_WAIT_S); in main()
/Zephyr-latest/dts/bindings/sensor/
Dadi,adxl362.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ADXL362 3-axis SPI accelerometer
8 include: [sensor-device.yaml, spi-device.yaml]
11 int1-gpios:
12 type: phandle-array
18 wakeup-mode:
27 Enter Wake-Up mode when inactivity is detected,
/Zephyr-latest/boards/nxp/lpcxpresso51u68/
Dlpcxpresso51u68.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "lpcxpresso51u68-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
21 zephyr,shell-uart = &flexcomm0;
31 usart-0 = &flexcomm0;
35 compatible = "gpio-leds";
37 gpios = <&gpio1 9 0>;
41 gpios = <&gpio1 10 0>;
45 gpios = <&gpio0 29 0>;
[all …]
/Zephyr-latest/samples/boards/espressif/deep_sleep/
DREADME.rst1 .. zephyr:code-sample:: esp32-deep-sleep
14 make use of that pre-configured wake up source to bring the system back again.
20 2. ``EXT1``: External wake up 1 is tied to multiple RTC GPIOs. This example
23 3. ``GPIO``: Only supported by some Espressif SoCs, in the case of ESP32-C3
24 GPIOS0~5 can be used as wake-up sources.
26 In this demo, Timer is the only wake-up source that cannot be disabled via a
28 as wake-up source, deep sleep for 20 seconds, wake up.
35 only ``Timer`` is used as wakeup source.
37 However, when ``EXT1`` is also enabled, GPIO2 and GPIO4 should be pulled-down
43 enabled as wake-up source.
[all …]
/Zephyr-latest/boards/adi/max32655evkit/
Dmax32655evkit_max32655_m4.dts2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32655-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 #include <zephyr/dt-bindings/dma/max32655_dma.h>
21 zephyr,shell-uart = &uart0;
27 compatible = "gpio-leds";
29 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
[all …]

123