Home
last modified time | relevance | path

Searched +full:dio +full:- +full:gpios (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/dts/bindings/misc/
Dzephyr,swdp-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 implementation by GPIO bit-banging.
9 Schematic using dual-supply bus transceiver and separate dout and dnoe pins
13 | +-------------+ |
14 +-------|vcca vccb|-----+
16 clk-gpios -------|a b|-------------- SWD CLK
18 noe-gpios -------|dir gnd|-----+
19 +-------------+ |
26 | +-------------+ |
27 +-------|vcca vccb|-----+
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Dgpio.dtsi4 * SPDX-License-Identifier: Apache-2.0
11 gpios = <&test_gpio 0 0>;
17 dio-gpios = <&test_gpio 0 0>;
22 compatible = "hc-sr04";
23 trigger-gpios = <&test_gpio 0 0>;
24 echo-gpios = <&test_gpio 1 0>;
/Zephyr-latest/samples/subsys/dap/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "zephyr,swdp-gpio";
12 clk-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
13 noe-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */
14 dio-gpios = <&arduino_header 8 GPIO_PULL_UP>; /* D2 */
15 port-write-cycles = <2>;
/Zephyr-latest/samples/subsys/dap/boards/
Dnrf52840dk_nrf52840.overlay4 * SPDX-License-Identifier: Apache-2.0
9 compatible = "zephyr,swdp-gpio";
11 clk-gpios = <&arduino_header 10 GPIO_ACTIVE_HIGH>; /* D4 */
12 dio-gpios = <&arduino_header 8 GPIO_PULL_UP>; /* D2 */
13 dout-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>; /* D3 */
14 dnoe-gpios = <&arduino_header 12 GPIO_ACTIVE_HIGH>; /* D6 */
15 noe-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>; /* D5 */
16 reset-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
17 port-write-cycles = <2>;
/Zephyr-latest/boards/shields/semtech_sx1272mb2das/
Dsemtech_sx1272mb2das.overlay4 * SPDX-License-Identifier: Apache-2.0
16 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
21 spi-max-frequency = <3000000>;
23 reset-gpios = <&arduino_header 0 GPIO_ACTIVE_HIGH>; /* A0 */
25 dio-gpios = <&arduino_header 8 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>, /* DIO0 is D2 */
30 power-amplifier-output = "rfo";
/Zephyr-latest/boards/shields/semtech_sx1276mb1mas/
Dsemtech_sx1276mb1mas.overlay4 * SPDX-License-Identifier: Apache-2.0
16 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
21 spi-max-frequency = <DT_FREQ_M(1)>;
23 reset-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>; /* A0 */
25 dio-gpios = <&arduino_header 8 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>, /* DIO0 is D2 */
32 rfo-enable-gpios = <&arduino_header 4 GPIO_ACTIVE_HIGH>; /* RXTX_EXT is A4 */
/Zephyr-latest/dts/bindings/lora/
Dsemtech,sx127x-base.yaml3 # SPDX-License-Identifier: Apache-2.0
5 include: spi-device.yaml
8 reset-gpios:
9 type: phandle-array
14 This signal is open-drain, active-high (SX1272/3) or
15 active-low (SX1276/7/8/9) as interpreted by the modem.
17 dio-gpios:
18 type: phandle-array
23 These signals are normally active-high.
25 power-amplifier-output:
[all …]
/Zephyr-latest/drivers/dp/
Dswdp_bitbang.c2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
9 * This file is based on SW_DP.c from CMSIS-DAP Source (Revision: V2.0.0)
10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware
11 * Copyright (c) 2013-2017, ARM Limited, All Rights Reserved
12 * SPDX-License-Identifier: Apache-2.0
16 /* Serial Wire Debug Port interface bit-bang driver */
44 struct gpio_dt_spec dio; member
69 * - CMSIS-DAP Command Specification, DAP_Transfer
70 * - ARM Debug Interface v5 Architecture Specification
[all …]
/Zephyr-latest/tests/drivers/build_all/lora/
Dsx1272.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>;
26 cs-gpios = <&test_gpio 0 0>,
34 spi-max-frequency = <3000000>;
36 reset-gpios = <&test_gpio 0 0>;
[all …]
/Zephyr-latest/dts/arm/acsip/
Ds76s.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <st/l0/stm32l073r(b-z)tx-pinctrl.dtsi>
13 pinctrl-0 = <&spi2_sck_pb13 &spi2_miso_pb14 &spi2_mosi_pb15>;
14 pinctrl-names = "default";
15 cs-gpios = <&gpiob 12 GPIO_ACTIVE_LOW>;
22 reset-gpios = <&gpiob 10 GPIO_ACTIVE_LOW>;
23 dio-gpios =
36 spi-max-frequency = <1000000>;
37 power-amplifier-output = "pa-boost";
/Zephyr-latest/boards/ti/common/
Dboard_antenna.c4 * SPDX-License-Identifier: Apache-2.0
8 * Implements the RF driver callback to configure the on-board antenna
52 DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(antenna_mux0), gpios, GPIO_DT_SPEC_GET_BY_IDX, (,))};
62 /* default pinctrl configuration: set all antenna mux control pins as GPIOs */ in board_antenna_init()
64 /* set all GPIOs to 0 (all RF paths disabled) */ in board_antenna_init()
72 * Custom TI RFCC26XX callback for switching the on-board antenna mux on radio setup.
80 /* Clear all antenna switch GPIOs (for all cases). */ in board_cc13xx_rf_callback()
92 switch (setupCommand->common.commandNo) { in board_cc13xx_rf_callback()
95 loDivider = RF_LODIVIDER_MASK & setupCommand->common.loDivider; in board_cc13xx_rf_callback()
98 loDivider = RF_LODIVIDER_MASK & setupCommand->prop_div.loDivider; in board_cc13xx_rf_callback()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Daosong,dht.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Aosong DHT (Digital-output Humidity and Temperature Sensor)
10 DHT22 replaces the thermistor with a DS18B20 1-wire thermometer.
16 include: sensor-device.yaml
19 dio-gpios:
20 type: phandle-array
/Zephyr-latest/dts/arm/atmel/
Dsamr34.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/lora/sx126x.h>
12 #include "samr34-pinctrl.dtsi"
16 port-c = &portc;
26 compatible = "atmel,sam0-gpio";
29 #atmel,pin-cells = <2>;
30 #gpio-cells = <2>;
31 gpio-controller;
37 /delete-node/ &dac;
41 compatible = "atmel,sam0-spi";
[all …]
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/
Dheltec_wifi_lora32_v2_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "heltec_wifi_lora32_v2-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 model = "Heltec Wi-Fi Lora32 V2 PROCPU";
18 uart-0 = &uart0;
19 i2c-0 = &i2c0;
27 compatible = "gpio-leds";
29 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
34 gpios = <&gpio0 21 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
[all …]
/Zephyr-latest/boards/96boards/wistrio/
D96b_wistrio.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
8 #include <st/l1/stm32l151Xb-a.dtsi>
9 #include <st/l1/stm32l151c(6-8-b)uxa-pinctrl.dtsi>
18 zephyr,shell-uart = &usart1;
24 compatible = "gpio-leds";
26 gpios = <&gpioa 12 GPIO_ACTIVE_LOW>;
30 gpios = <&gpiob 4 GPIO_ACTIVE_LOW>;
37 eeprom-0 = &eeprom;
42 rf_switch: rf-switch {
[all …]
/Zephyr-latest/boards/adafruit/feather_m0_lora/
Dadafruit_feather_m0_lora.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "adafruit_feather_m0_lora-pinctrl.dtsi"
15 compatible = "adafruit,feather-m0-lora", "atmel,samd21g18a",
20 zephyr,shell-uart = &sercom0;
23 zephyr,code-partition = &code_partition;
33 compatible = "gpio-leds";
35 gpios = <&porta 17 0>;
42 clock-frequency = <48000000>;
47 compatible = "atmel,sam0-uart";
[all …]
/Zephyr-latest/boards/lilygo/ttgo_lora32/
Dttgo_lora32_esp32_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "ttgo_lora32-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "lilygo,ttgo-lora32";
19 uart-0 = &uart0;
20 i2c-0 = &i2c0;
29 zephyr,shell-uart = &uart0;
31 zephyr,code-partition = &slot0_partition;
37 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/beagle/beagleconnect_freedom/
Dboard_antenna.c6 * SPDX-License-Identifier: Apache-2.0
10 * Implements the RF driver callback to configure the on-board antenna
51 DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(antenna_mux0), gpios, GPIO_DT_SPEC_GET_BY_IDX, (,))};
61 /* default pinctrl configuration: set all antenna mux control pins as GPIOs */ in board_antenna_init()
63 /* set all GPIOs to 0 (all RF paths disabled) */ in board_antenna_init()
71 * Custom TI RFCC26XX callback for switching the on-board antenna mux on radio setup.
79 /* Clear all antenna switch GPIOs (for all cases). */ in board_cc13xx_rf_callback()
91 switch (setupCommand->common.commandNo) { in board_cc13xx_rf_callback()
94 loDivider = RF_LODIVIDER_MASK & setupCommand->common.loDivider; in board_cc13xx_rf_callback()
97 loDivider = RF_LODIVIDER_MASK & setupCommand->prop_div.loDivider; in board_cc13xx_rf_callback()
[all …]
/Zephyr-latest/boards/st/b_l072z_lrwan1/
Db_l072z_lrwan1.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/l0/stm32l072c(b-z)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 model = "STMicroelectronics B-L072Z-LRWAN1 Discovery kit";
14 compatible = "st,stm32l072z-lrwan1";
18 zephyr,shell-uart = &usart2;
24 compatible = "gpio-leds";
26 gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
30 gpios = <&gpiob 5 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/ezurio/rm1xx_dvk/
Drm1xx_dvk.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
10 #include "rm1xx_dvk-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 zephyr,shell-uart = &uart0;
20 zephyr,bt-mon-uart = &uart0;
21 zephyr,bt-c2h-uart = &uart0;
24 zephyr,code-partition = &slot0_partition;
28 compatible = "gpio-keys";
30 gpios = <&gpio0 5 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
[all …]
/Zephyr-latest/boards/bytesatwork/bytesensi_l/
Dbytesensi_l.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
12 #include <zephyr/dt-bindings/gpio/gpio.h>
16 compatible = "bytesatwork,bytesensi-l";
22 zephyr,code-partition = &slot0_partition;
35 compatible = "fixed-partitions";
36 #address-cells = <1>;
37 #size-cells = <1>;
44 label = "image-0";
48 label = "image-1";
[all …]
/Zephyr-latest/drivers/lora/
Dsx127x.c5 * SPDX-License-Identifier: Apache-2.0
108 * Those macros must be in sync with 'power-amplifier-output' dts property.
125 BUILD_ASSERT(0, "None of rfo-enable-gpios, pa-boost-enable-gpios and "
126 "power-amplifier-output has been specified. "
127 "Look at semtech,sx127x-base.yaml to fix that.");
334 int dio = work - dev_data.dio_work; in sx127x_dio_work_handle() local
336 (*DioIrq[dio])(NULL); in sx127x_dio_work_handle()
344 pin = find_lsb_set(pins) - 1; in sx127x_irq_callback()
359 /* Setup DIO gpios */ in SX127xIoIrqInit()
367 sx127x_dios[i].port->name); in SX127xIoIrqInit()
[all …]