/Zephyr-latest/dts/bindings/wifi/ |
D | infineon,airoc-wifi.yaml | 4 # SPDX-License-Identifier: Apache-2.0 7 AIROC Wi-Fi Connectivity. 9 Example of enabling AIROC Wi-Fi device (for SDIO): 14 pinctrl-0 = <&p2_4_sdio_cmd &p2_5_sdio_clk &p2_0_sdio_data0 16 pinctrl-names = "default"; 19 airoc-wifi { 21 compatible = "infineon,airoc-wifi-sdio"; 23 /* Wi-Fi control gpios */ 24 wifi-reg-on-gpios = <&gpio_prt2 6 GPIO_ACTIVE_HIGH>; 25 wifi-host-wake-gpios = <&gpio_prt0 4 GPIO_ACTIVE_HIGH>; [all …]
|
D | infineon,airoc-wifi-spi.yaml | 2 AIROC Wi-Fi Connectivity over SPI. 4 compatible: "infineon,airoc-wifi" 6 include: [spi-device.yaml, "infineon,airoc-wifi.yaml"] 9 wifi-host-wake-gpios: 12 bus-select-gpios: 16 wifi-reg-on-gpios goes high to select SPI bus mode. 17 type: phandle-array 19 spi-half-duplex: 21 Use half-duplex communication; if not present, full- 25 spi-word-size: [all …]
|
/Zephyr-latest/dts/bindings/can/ |
D | ti,tcan4x5x.yaml | 2 # SPDX-License-Identifier: Apache-2.0 12 spi-max-frequency = <18000000>; 13 clock-frequency = <40000000>; 14 device-state-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 15 device-wake-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>; 16 reset-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; 17 int-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; 18 bosch,mram-cfg = <0x0 15 15 5 5 0 10 10>; 21 can-transceiver { 22 max-bitrate = <8000000>; [all …]
|
/Zephyr-latest/dts/bindings/bluetooth/ |
D | infineon,cyw43xxx-bt-hci.yaml | 4 # SPDX-License-Identifier: Apache-2.0 10 Example of enabling CYW43xxx device: 14 current-speed = <115200>; 16 /* HCI-UART pins*/ 17 pinctrl-0 = <&p3_1_scb2_uart_tx &p3_0_scb2_uart_rx 19 pinctrl-names = "default"; 22 hw-flow-control; 24 bt-hci { 26 compatible = "infineon,cyw43xxx-bt-hci"; 27 bt-reg-on-gpios = <&gpio_prt3 4 (GPIO_ACTIVE_HIGH)>; [all …]
|
/Zephyr-latest/dts/bindings/serial/ |
D | renesas,smartbond-uart.yaml | 3 compatible: "renesas,smartbond-uart" 5 include: [uart-controller.yaml, pinctrl-device.yaml] 14 periph-clock-config: 19 current-speed: 24 - 4800 25 - 9600 26 - 14400 27 - 19200 28 - 28800 29 - 38400 [all …]
|
D | microchip,xec-uart.yaml | 3 compatible: "microchip,xec-uart" 5 include: [uart-controller.yaml, pinctrl-device.yaml] 17 description: logical device number 29 pinctrl-0: 32 pinctrl-names: 35 wakerx-gpios: 36 type: phandle-array 37 description: GPIO configured as UART RX wake source
|
/Zephyr-latest/dts/bindings/power/ |
D | atmel,sam-supc.yaml | 2 # 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 …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | ams,ccs811.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 wake-gpios: 12 type: phandle-array 15 sensor receives this as an active-low signal. 17 reset-gpios: 18 type: phandle-array 21 reset. The sensor receives this as an active-low signal. 23 irq-gpios: 24 type: phandle-array [all …]
|
D | adi,adxl362.yaml | 2 # 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/dts/bindings/modem/ |
D | swir,hl7800.yaml | 4 # SPDX-License-Identifier: Apache-2.0 11 include: uart-device.yaml 14 mdm-wake-gpios: 15 type: phandle-array 18 mdm-reset-gpios: 19 type: phandle-array 22 mdm-pwr-on-gpios: 23 type: phandle-array 26 mdm-fast-shutd-gpios: 27 type: phandle-array [all …]
|
/Zephyr-latest/boards/shields/tcan4550evm/ |
D | tcan4550evm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/gpio/gpio.h> 17 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ 22 /* reduced spi-max-frequency to accommodate flywire connections */ 23 spi-max-frequency = <2000000>; 25 clock-frequency = <40000000>; 26 device-state-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */ 27 device-wake-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */ 28 reset-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>; /* D8 */ 29 int-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */ [all …]
|
/Zephyr-latest/boards/silabs/dev_kits/xg24_ek2703a/ |
D | board.c | 4 * SPDX-License-Identifier: Apache-2.0 19 GPIO_DT_SPEC_GET(DT_NODELABEL(wake_up_trigger), gpios); in board_late_init_hook() 22 LOG_ERR("Wake-up GPIO device was not found!\n"); in board_late_init_hook() 26 LOG_ERR("Failed to configure wake-up GPIO!\n"); in board_late_init_hook()
|
/Zephyr-latest/dts/bindings/input/ |
D | focaltech,ft5336.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [i2c-device.yaml, touchscreen-common.yaml] 11 int-gpios: 12 type: phandle-array 16 reset-gpios: 17 type: phandle-array 20 to wake it from hibernation mode. Active low.
|
/Zephyr-latest/soc/st/stm32/common/ |
D | stm32_wkup_pins.c | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/device.h> 19 #include <zephyr/dt-bindings/power/stm32_pwr.h> 42 * @brief flags for wake-up pin polarity configuration 46 /* detection of wake-up event on the high level : rising edge */ 48 /* detection of wake-up event on the low level : falling edge */ 54 * @brief flags for configuration of pull-ups & pull-downs of GPIO ports 55 * that are associated with wake-up pins 66 * @brief Structure for storing the devicetree configuration of a wake-up pin. 71 /* GPIO pin(s) associated with wake-up pin */ [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | nordic,nrf-spi-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 include: [spi-controller.yaml, pinctrl-device.yaml, nordic-clockpin.yaml] 15 pinctrl-0: 18 pinctrl-names: 21 max-frequency: 28 overrun-character: 34 easydma-maxcnt-bits: 41 wake-gpios: 42 type: phandle-array 44 Optional bi-directional line that allows SPI master to indicate to SPI [all …]
|
/Zephyr-latest/dts/bindings/mfd/ |
D | nordic,npm1300.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: i2c-device.yaml 14 host-int-gpios: 15 type: phandle-array 18 pmic-int-pin: 22 ship-to-active-time-ms: 25 Press duration required to wake from ship / hibernate in ms. 26 The default is the device powerup value. 28 - 16 29 - 32 [all …]
|
/Zephyr-latest/dts/bindings/ps2/ |
D | microchip,xec-ps2.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "microchip,xec-ps2" 8 include: [ps2.yaml, pinctrl-device.yaml] 29 wakerx-gpios: 30 type: phandle-array 31 description: GPIO configured as PS2 DAT wake source
|
/Zephyr-latest/samples/boards/espressif/deep_sleep/src/ |
D | main.c | 4 * 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() 38 printk("Wake up from GPIO %d\n", pin); in main() 40 printk("Wake up from GPIO\n"); in main() 51 int pin = __builtin_ffsll(wakeup_pin_mask) - 1; in main() 53 printk("Wake up from GPIO %d\n", pin); in main() 55 printk("Wake up from GPIO\n"); in main() 61 printk("Wake up from timer.\n"); in main() [all …]
|
/Zephyr-latest/boards/silabs/dev_kits/sltb010a/ |
D | board.c | 4 * SPDX-License-Identifier: Apache-2.0 18 GPIO_DT_SPEC_GET(DT_NODELABEL(wake_up_trigger), gpios); in thunderboard_init() 22 LOG_ERR("Wake-up GPIO device was not found!\n"); in thunderboard_init() 23 return -ENODEV; in thunderboard_init()
|
/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/ |
D | board.c | 4 * SPDX-License-Identifier: Apache-2.0 18 GPIO_DT_SPEC_GET(DT_NODELABEL(wake_up_trigger), gpios); in dev_kit_init() 22 LOG_ERR("Wake-up GPIO device was not found!\n"); in dev_kit_init() 23 return -ENODEV; in dev_kit_init()
|
/Zephyr-latest/boards/silabs/dev_kits/xg24_dk2601b/ |
D | board.c | 4 * SPDX-License-Identifier: Apache-2.0 19 GPIO_DT_SPEC_GET(DT_NODELABEL(wake_up_trigger), gpios); in efr32xg24_dk2601b_init() 23 LOG_ERR("Wake-up GPIO device was not found!\n"); in efr32xg24_dk2601b_init() 24 return -ENODEV; in efr32xg24_dk2601b_init()
|
/Zephyr-latest/boards/sparkfun/thing_plus_matter_mgm240p/ |
D | board.c | 5 * SPDX-License-Identifier: Apache-2.0 21 GPIO_DT_SPEC_GET(DT_NODELABEL(wake_up_trigger), gpios); in sparkfun_thing_plus_mgm240p_init() 25 LOG_ERR("Wake-up GPIO device was not found!\n"); in sparkfun_thing_plus_mgm240p_init() 26 return -ENODEV; in sparkfun_thing_plus_mgm240p_init()
|
/Zephyr-latest/samples/boards/st/power_mgmt/stop3/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/device.h> 18 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); 25 const struct gpio_stm32_config *cfg = led.port->config; in main() 26 uint32_t pwr_port = ((uint32_t)LL_PWR_GPIO_PORTA) + (cfg->port * 8); in main() 30 printk("Device ready\n"); in main() 33 /* Enable the pull-up/pull-down feature globally. in main() 37 * during wake up in main() 43 /* In STOP3, GPIOs are disabled. Only pull-up/pull-down can be enabled. in main() 44 * So we enable pull-up/pull-down based on LED status in main()
|
/Zephyr-latest/samples/boards/st/power_mgmt/wkup_pins/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/device.h> 13 #include <zephyr/dt-bindings/gpio/stm32-gpio.h> 22 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET(WKUP_SRC_NODE, gpios); 24 static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios); 28 printk("\nWake-up button is connected to %s pin %d\n", button.port->name, button.pin); in main() 44 /* Will remain powered off until wake-up or reset button is pressed */ in main()
|
/Zephyr-latest/samples/boards/nordic/system_off/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/device.h> 16 #include <zephyr/pm/device.h> 25 static const struct gpio_dt_spec sw0 = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 28 static const struct device *comp_dev = DEVICE_DT_GET(DT_NODELABEL(comp)); 34 const struct device *const cons = DEVICE_DT_GET(DT_CHOSEN(zephyr_console)); in main() 37 printf("%s: device not ready.\n", cons->name); in main() 62 printk("Unable to prepare GRTC as a wake up source (err = %d).\n", err); in main() 68 /* configure sw0 as input, interrupt as level active to allow wake-up */ in main()
|