Home
last modified time | relevance | path

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

12345678910>>...19

/Zephyr-latest/boards/snps/em_starterkit/
Dboard.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
4 #include <zephyr/dt-bindings/input/input-event-codes.h>
23 compatible = "gpio-leds";
25 gpios = <&gpio1 0 0>;
26 label = "LED 0";
29 gpios = <&gpio1 1 0>;
30 label = "LED 1";
33 gpios = <&gpio1 2 0>;
34 label = "LED 2";
37 gpios = <&gpio1 3 0>;
[all …]
/Zephyr-latest/boards/snps/emsdp/
Dboard.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <zephyr/dt-bindings/input/input-event-codes.h>
22 compatible = "gpio-leds";
24 gpios = <&gpio1 0 0>;
25 label = "LED 0";
28 gpios = <&gpio1 1 0>;
29 label = "LED 1";
32 gpios = <&gpio1 2 0>;
33 label = "LED 2";
36 gpios = <&gpio1 3 0>;
[all …]
/Zephyr-latest/dts/bindings/input/
Dgpio-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
8 encoder connected to two GPIOs. The driver is normally idling until it sees a
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "gpio-qdec";
19 gpios = <&gpio0 14 (GPIO_PULL_UP | GPIO_ACTIVE_HIGH)>,
21 steps-per-period = <4>;
23 sample-time-us = <2000>;
24 idle-timeout-ms = <200>;
27 compatible: "gpio-qdec"
32 gpios:
[all …]
/Zephyr-latest/dts/bindings/led/
Dgpio-leds.yaml2 # SPDX-License-Identifier: Apache-2.0
5 This allows you to define a group of LEDs. Each LED in the group is
6 controlled by a GPIO. Each LED is defined in a child node of the
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,
30 - led_1 is pin 2 on gpio0. The LED is on when the pin is high,
[all …]
/Zephyr-latest/boards/digilent/arty_a7/dts/
Darty_a7_arm_designstart.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
9 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 zephyr,shell-uart = &uartlite0;
32 compatible = "gpio-leds";
34 gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
35 label = "LED LD0 RED";
38 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
39 label = "LED LD0 GREEN";
42 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/nordic/nrf54l20pdk/
Dnrf54l20pdk_nrf54l20-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "nrf54l20pdk_nrf54l20-pinctrl.dtsi"
11 compatible = "gpio-leds";
13 gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
14 label = "Green LED 0";
17 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
18 label = "Green LED 1";
21 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
22 label = "Green LED 2";
25 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/actinius/icarus_bee/
Dactinius_icarus_bee_common.dtsi2 * Copyright (c) 2021-2022 Actinius
4 * SPDX-License-Identifier: Apache-2.0
6 #include "actinius_icarus_bee_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 zephyr,shell-uart = &uart0;
16 zephyr,uart-mcumgr = &uart0;
20 compatible = "gpio-leds";
23 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
24 label = "Red LED";
28 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/nxp/twr_ke18f/
Dtwr_ke18f.dts2 * Copyright (c) 2019-2021 Vestas Wind Systems A/S
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/clock/kinetis_scg.h>
11 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #include "twr_ke18f-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
27 pwm-led0 = &orange_pwm_led;
28 pwm-led1 = &yellow_pwm_led;
29 pwm-led2 = &green_pwm_led;
[all …]
/Zephyr-latest/boards/nxp/frdm_mcxc242/
Dfrdm_mcxc242.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "frdm_mcxc242-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 model = "NXP FRDM-MCXC242 board";
21 pwm-led0 = &red_pwm_led;
22 pwm-led1 = &green_pwm_led;
23 pwm-led2 = &blue_pwm_led;
24 red-pwm-led = &red_pwm_led;
25 green-pwm-led = &green_pwm_led;
[all …]
/Zephyr-latest/boards/waveshare/nrf51_ble400/
Dnrf51_ble400.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf51_ble400-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 zephyr,shell-uart = &uart0;
19 zephyr,bt-mon-uart = &uart0;
20 zephyr,bt-c2h-uart = &uart0;
38 compatible = "gpio-leds";
40 gpios = <&gpio0 18 0>;
41 label = "Red LED 0";
[all …]
/Zephyr-latest/boards/nxp/frdm_mcxc444/
Dfrdm_mcxc444.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "frdm_mcxc444-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 model = "NXP FRDM-MCXC444 board";
21 pwm-led0 = &red_pwm_led;
22 pwm-led1 = &green_pwm_led;
23 pwm-led2 = &blue_pwm_led;
24 red-pwm-led = &red_pwm_led;
25 green-pwm-led = &green_pwm_led;
[all …]
/Zephyr-latest/boards/arduino/nano_33_ble/
Darduino_nano_33_ble-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
10 zephyr,shell-uart = &uart0;
11 zephyr,uart-mcumgr = &uart0;
12 zephyr,bt-mon-uart = &uart0;
13 zephyr,bt-c2h-uart = &uart0;
16 zephyr,code-partition = &code_partition;
21 compatible = "gpio-leds";
23 gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
24 label = "Red LED";
27 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/drivers/display/
DKconfig.nrf_led_matrix2 # SPDX-License-Identifier: Apache-2.0
5 bool "LED matrix driven by GPIOs"
11 Enable driver for a LED matrix with rows and columns driven by
12 GPIOs. The driver allows setting one of 256 levels of brightness
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"
19 (the latter value depends on the chosen pixel group size - the number
/Zephyr-latest/boards/actinius/icarus/
Dactinius_icarus_common.dtsi2 * Copyright (c) 2019-2022 Actinius
4 * SPDX-License-Identifier: Apache-2.0
6 #include "actinius_icarus_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 zephyr,shell-uart = &uart0;
16 zephyr,uart-mcumgr = &uart0;
20 compatible = "gpio-leds";
23 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
24 label = "Red LED";
28 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/nordic/nrf54l15dk/
Dnrf54l15dk_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "nrf54l15dk_nrf54l_05_10_15-pinctrl.dtsi"
11 compatible = "gpio-leds";
13 gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
14 label = "Green LED 0";
17 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
18 label = "Green LED 1";
21 gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
22 label = "Green LED 2";
25 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/efinix/titanium_ti60_f225/
Dtitanium_ti60_f225.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
13 compatible = "efinix,titanium-ti60-f225";
17 zephyr,shell-uart = &uart0;
26 compatible = "gpio-leds";
29 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
30 label = "Green LED 3";
35 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
36 label = "Red LED 2";
40 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/ambiq/apollo3p_evb/
Dapollo3p_evb.dts1 /dts-v1/;
4 #include "apollo3p_evb-pinctrl.dtsi"
5 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 zephyr,shell-uart = &uart0;
17 zephyr,uart-pipe = &uart0;
18 zephyr,flash-controller = &flash;
33 compatible = "gpio-leds";
35 gpios = <&gpio0_31 10 GPIO_ACTIVE_LOW>;
36 label = "LED 0";
39 gpios = <&gpio0_31 30 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/boards/makerdiary/nrf52840_mdk_usb_dongle/
Dnrf52840_mdk_usb_dongle.dts6 * SPDX-License-Identifier: Apache-2.0
9 /dts-v1/;
11 #include "nrf52840_mdk_usb_dongle-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
21 zephyr,code-partition = &slot0_partition;
26 compatible = "gpio-leds";
28 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
29 label = "Red LED 0";
32 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
33 label = "Green LED 0";
[all …]
/Zephyr-latest/boards/nxp/frdm_ke15z/
Dfrdm_ke15z.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "frdm_ke15z-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
29 zephyr,shell-uart = &lpuart1;
33 compatible = "gpio-leds";
35 gpios = <&gpiod 0 GPIO_ACTIVE_LOW>;
36 label = "RED LED";
39 gpios = <&gpiod 16 GPIO_ACTIVE_LOW>;
40 label = "GREEN LED";
[all …]
/Zephyr-latest/boards/electronut/nrf52840_papyr/
Dnrf52840_papyr.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "nrf52840_papyr-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "nordic,pca10056-dk";
19 zephyr,uart-mcumgr = &uart0;
20 zephyr,shell-uart = &uart0;
21 zephyr,bt-mon-uart = &uart0;
22 zephyr,bt-c2h-uart = &uart0;
27 compatible = "gpio-leds";
[all …]
/Zephyr-latest/boards/others/serpente/
Dserpente.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "serpente-pinctrl.dtsi"
18 zephyr,shell-uart = &sercom2;
21 zephyr,code-partition = &code_partition;
28 red-led = &red_led;
29 green-led = &green_led;
30 blue-led = &blue_led;
32 pwm-led0 = &red_pwm_led;
33 pwm-led1 = &green_pwm_led;
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/stop3/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
17 static const struct gpio_dt_spec led = variable
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()
28 __ASSERT_NO_MSG(gpio_is_ready_dt(&led)); in main()
31 gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE); in main()
33 /* Enable the pull-up/pull-down feature globally. in main()
42 gpio_pin_set(led.port, led.pin, (int)led_is_on); in main()
43 /* In STOP3, GPIOs are disabled. Only pull-up/pull-down can be enabled. in main()
[all …]
/Zephyr-latest/boards/nordic/nrf52840dongle/
Dnrf52840dongle_nrf52840.dts2 * Copyright (c) 2018-2023 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
10 #include "nrf52840dongle_nrf52840-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "nordic,nrf52840-dongle-nrf52840";
20 zephyr,code-partition = &slot0_partition;
25 compatible = "gpio-leds";
27 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
28 label = "Green LED 0";
[all …]
/Zephyr-latest/boards/m5stack/m5stack_atom_lite/
Dm5stack_atom_lite_procpu.dts6 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "m5stack_atom_lite-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 #include <zephyr/dt-bindings/led/led.h>
15 #include <zephyr/dt-bindings/led/worldsemi_ws2812c.h>
20 compatible = "m5stack,m5stack-atom-lite";
25 zephyr,shell-uart = &uart0;
27 zephyr,code-partition = &slot0_partition;
28 zephyr,bt-hci = &esp32_bt_hci;
[all …]
/Zephyr-latest/boards/ambiq/apollo3_evb/
Dapollo3_evb.dts1 /dts-v1/;
4 #include "apollo3_evb-pinctrl.dtsi"
5 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 zephyr,shell-uart = &uart0;
17 zephyr,uart-mcumgr = &uart0;
18 zephyr,uart-pipe = &uart0;
19 zephyr,flash-controller = &flash;
21 zephyr,code-partition = &slot0_partition;
31 bootloader-led0 = &led0;
32 mcuboot-led0 = &led0;
[all …]

12345678910>>...19