/Zephyr-latest/dts/bindings/led/ |
D | gpio-leds.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 gpio-leds node. 13 compatible = "gpio-leds"; 15 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 18 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; 21 gpios = <&gpio1 15 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; 28 - led_0 is pin 1 on gpio0. The LED is on when the pin is low, 29 and off when the pin is high. 30 - led_1 is pin 2 on gpio0. The LED is on when the pin is high, 31 and off when it is low. [all …]
|
/Zephyr-latest/dts/bindings/regulator/ |
D | nordic,npm1300-regulator.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 compatible = "nordic,npm1300-regulator"; 33 compatible: "nordic,npm1300-regulator" 38 dvs-gpios: 39 type: phandle-array 41 List of SOC GPIOs connected to PMIC GPIOs. 47 The effect of the mode change is defined by the enable-gpios 50 child-binding: 52 - name: regulator.yaml 53 property-allowlist: [all …]
|
D | nordic,npm2100-regulator.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 compatible = "nordic,npm2100-regulator"; 27 compatible: "nordic,npm2100-regulator" 32 dvs-gpios: 33 type: phandle-array 35 List of SOC GPIOs connected to PMIC GPIOs. 39 The effect of the mode change is defined by the mode-gpios 42 child-binding: 44 - name: regulator.yaml 45 property-allowlist: [all …]
|
D | regulator-fixed.yaml | 1 # Copyright 2019-2020 Peter Bigot Consulting, LLC 3 # SPDX-License-Identifier: Apache-2.0 8 - name: base.yaml 9 - name: regulator.yaml 10 property-allowlist: 11 - regulator-name 12 - regulator-boot-on 13 - regulator-always-on 14 - regulator-min-microvolt 15 - regulator-max-microvolt [all …]
|
/Zephyr-latest/dts/bindings/gnss/ |
D | luatos,air530z.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 - uart-device.yaml 12 on-off-gpios: 13 type: phandle-array 15 Identifies the On-Off pin for entering into low-power mode.
|
/Zephyr-latest/dts/bindings/display/ |
D | st,stm32-ltdc.yaml | 1 # Copyright (c) 2022, Byte-Lab d.o.o. <dev@byte-lab.com> 3 # SPDX-License-Identifier: Apache-2.0 5 description: STM32 LCD-TFT display controller 7 compatible: "st,stm32-ltdc" 9 include: [lcd-controller.yaml, pinctrl-device.yaml, reset-device.yaml] 12 disp-on-gpios: 13 type: phandle-array 15 Display on/off GPIO pin. 18 bl-ctrl-gpios: 19 type: phandle-array [all …]
|
/Zephyr-latest/drivers/display/ |
D | Kconfig.nrf_led_matrix | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "LED matrix driven by GPIOs" 7 depends on DT_HAS_NORDIC_NRF_LED_MATRIX_ENABLED 12 GPIOs. The driver allows setting one of 256 levels of brightness 13 (where 0 means off completely) for each of the LEDs independently. 14 Assignment of GPIOs to rows and columns and the mapping of those 15 to pixels are specified in properties of a "nordic,nrf-led-matrix" 17 The driver uses one TIMER instance and, depending on what is set in 19 (the latter value depends on the chosen pixel group size - the number
|
/Zephyr-latest/samples/boards/st/power_mgmt/wkup_pins/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 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() 37 printk("Will wait %ds before powering the system off\n", (WAIT_TIME_US / 1000000)); in main() 40 printk("Powering off\n"); in main() 41 printk("Press the user button to power the system on\n\n"); in main() 44 /* Will remain powered off until wake-up or reset button is pressed */ in main()
|
/Zephyr-latest/dts/bindings/video/ |
D | ovti,ov2640.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 reset-gpios: 10 type: phandle-array 13 reset. The sensor receives this as an active-low signal. 15 clock-rate-control: 22 Bit[7] Internal frequency doublers ON/OFF selection. 23 0: ON 1: OFF 29 include: i2c-device.yaml
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,vl53l1x.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 xshut-gpios: 12 type: phandle-array 15 standby (if VDD is present) or complete power off (if 17 directly to VDD, the sensor will go into boot mode on a 20 int-gpios: 21 type: phandle-array 24 GPIO1 is the interrupt pin on the VL53L1X (active low). This
|
/Zephyr-latest/dts/bindings/power-domain/ |
D | power-domain-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "power-domain-gpio" 8 include: power-domain.yaml 11 enable-gpios: 12 type: phandle-array 18 provide the GPIO polarity and open-drain status in the phandle 19 selector. The Linux enable-active-high and gpio-open-drain 22 startup-delay-us: 27 off-on-delay-us: 30 description: Off delay time, in microseconds [all …]
|
D | power-domain-gpio-monitor.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 rail is on/off. Therefore, performing resume/suspend on power domain won't 9 change physical state of power rails and that action won't be triggered on 13 compatible: "power-domain-gpio-monitor" 15 include: power-domain.yaml 18 gpios: 19 type: phandle-array 22 GPIO to use to sense if rail is powered on. 24 "#power-domain-cells":
|
/Zephyr-latest/boards/olimex/olimex_esp32_evb/ |
D | olimex_esp32_evb_procpu.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "olimex_esp32_evb-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 model = "Olimex ESP32-EVB"; 16 compatible = "olimex,esp32-evb", "espressif,esp32-wroom-32e", "espressif,esp32"; 20 zephyr,shell-uart = &uart0; 23 zephyr,code-partition = &slot0_partition; 24 zephyr,bt-hci = &esp32_bt_hci; 33 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | adi,max14916-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14916-gpio" 10 "#gpio-cells": 16 description: Number of gpios supported 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 26 bothe of which are cleaned on read once problem is not persistent 27 type: phandle-array [all …]
|
/Zephyr-latest/samples/basic/custom_dts_binding/dts/bindings/ |
D | power-switch.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: GPIO pin to switch a power output on or off 6 compatible: "power-switch" 9 gpios: 10 type: phandle-array
|
/Zephyr-latest/dts/bindings/power/ |
D | nuvoton,npcx-power-psl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nuvoton,npcx-power-psl" 8 include: [base.yaml, pinctrl-device.yaml] 11 enable-gpios: 12 type: phandle-array 15 GPIO to used to turn on/off the Core Domain power supply (VCC1) of NPCX 17 pinctrl-0: 19 pinctrl-names:
|
/Zephyr-latest/dts/bindings/net/wireless/ |
D | nordic,nrf21540-fem.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 This is a representation of the nRF21540 Radio Front-End module. 8 See the "nordic,nrf21540-fem-spi" binding to configure the SPI 11 the FEM and SPI configurations using the spi-if property. 14 selected, using the SPIM0 peripheral found on several nRF5 SoCs: 17 compatible = "nordic,nrf-spim"; 19 cs-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 22 my_spi_if: nrf21540-spi@0 { 23 compatible = "nordic,nrf21540-fem-spi"; 25 spi-max-frequency = <8000000>; [all …]
|
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 17 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 29 printk("\n%s system off demo\n", CONFIG_BOARD); in main() 31 /* Shut off external flash to save power */ in main() 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() 47 printk("Busy-wait %u s\n", BUSY_WAIT_S); in main() 56 printk("Powering off; press BUTTON1 to restart\n"); in main()
|
/Zephyr-latest/dts/bindings/mmc/ |
D | renesas,rcar-emmc.yaml | 1 description: Renesas R-Car eMMC 3 compatible: "renesas,rcar-mmc" 5 include: [sdhc.yaml, mmc.yaml, pinctrl-device.yaml, reset-device.yaml] 14 pinctrl-0: 17 pinctrl-names: 20 max-bus-freq: 23 non-removable: 26 Non-removable slots (like eMMC), which are assumed to always be present, 30 mmc-sdr104-support: 33 cd-gpios: [all …]
|
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 31 static const struct gpio_dt_spec button = GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, { 0 }); 36 printk("\n%s system off demo\n", CONFIG_BOARD); in main() 39 printk("Error: button device %s is not ready\n", button.port->name); in main() 43 /* Configure to generate PORT event (wakeup) on button press. */ in main() 44 /* No external pull-up on the user button, so configure one here */ in main() 48 printk("Error %d: failed to configure %s pin %d\n", ret, button.port->name, in main() 55 printk("Error %d: failed to configure interrupt on %s pin %d\n", ret, in main() 56 button.port->name, button.pin); in main() 60 printk("Busy-wait %u s\n", BUSY_WAIT_S); in main() [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 17 * +--------------------------------------------------------------------------+ 19 * |--------------------------------------------------------------------------| 20 * | Active | On | On | On | Active | Active | On | On | 21 * | Idle (wfi) | On | On | On | Wait | Active | On | On | 22 * | Sleep | On | On | Stop | Stop | Preserved | On | On | 23 * | Deep Sleep | On | Stop | Stop | Stop | Power Down | On | On | 24 * | Stand-By | Off | Off | Off | Off | Off | Off | On | 25 * +--------------------------------------------------------------------------+ 27 * LFCLK - Low-Frequency Clock. Its frequency is fixed to 32kHz. [all …]
|
/Zephyr-latest/samples/basic/blinky/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 18 * A build error on this line means your board is unsupported. 19 * See the sample documentation for information on how to fix this. 21 static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios); 44 printf("LED state: %s\n", led_state ? "ON" : "OFF"); in main()
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/ |
D | main.c | 4 * 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() 71 printk("Powering off\n"); in thread_poweroff_standby_mode() 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() 117 button.port->name); in main() [all …]
|
/Zephyr-latest/boards/beagle/beagleplay/ |
D | beagleplay_cc1352p7.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "beagleplay-cc1352p7-pinctrl.dtsi" 14 compatible = "beagle,beagleplay-cc1352p7"; 24 zephyr,shell-uart = &uart0; 30 compatible = "gpio-leds"; 32 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; 37 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; 43 * The BeaglePlay cc1352 has an on-board antenna switch (SKY13317-373LF) used to 44 * select the appropriate RF signal port based on the currently-used PHY. [all …]
|
/Zephyr-latest/soc/st/stm32/stm32u5x/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 6 DT_CHOSEN_STDBY_TIMER := st,lptim-stdby-timer 25 …default $(dt_path_enabled,/cpus/power-states/state3) && $(dt_chosen_enabled,$(DT_CHOSEN_STDBY_TIME… 27 Enable support for STM32 STOP3 low-power mode. 28 Based on the Cortex-M33 Deepsleep mode combined with peripheral clock gating. 32 SRAMs can be totally or partially switched off to further reduce consumption. 33 GPIOs are left floating and additional pull-up or pull-down can be applied
|