/Zephyr-Core-3.6.0/boards/arm/ucans32k1sic/ |
D | ucans32k1sic.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 9 #include <zephyr/dt-bindings/input/input-event-codes.h> 10 #include <zephyr/dt-bindings/pwm/pwm.h> 12 #include "ucans32k1sic-pinctrl.dtsi" 22 zephyr,shell-uart = &lpuart1; 23 zephyr,uart-pipe = &lpuart1; 31 pwm-led0 = &led1_red_pwm; 32 pwm-led1 = &led1_green_pwm; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/twr_ke18f/ |
D | twr_ke18f.dts | 2 * 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-Core-3.6.0/dts/bindings/pwm/ |
D | nordic,nrf-sw-pwm.yaml | 1 description: nRFx S/W PWM 3 compatible: "nordic,nrf-sw-pwm" 5 include: [pwm-controller.yaml, base.yaml] 12 Reference to TIMER or RTC instance for generating PWM output signals 14 clock-prescaler: 18 Clock prescaler for RTC or TIMER used for generating PWM output signals. 20 RTC: needs to be set to 0, which gives 32768 Hz base clock for PWM 23 TIMER: 16 MHz / 2^prescaler base clock is used for PWM generation. 25 channel-gpios: 26 type: phandle-array [all …]
|
/Zephyr-Core-3.6.0/boards/riscv/rv32m1_vega/ |
D | rv32m1_vega.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include "rv32m1_vega-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 pwm-led0 = &blue_pwm_led; 16 pwm-led1 = &green_pwm_led; 17 pwm-led2 = &red_pwm_led; 18 blue-pwm-led = &blue_pwm_led; 19 green-pwm-led = &green_pwm_led; 20 red-pwm-led = &red_pwm_led; 30 compatible = "gpio-leds"; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/hexiwear_k64/ |
D | hexiwear_k64.dts | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 /dts-v1/; 6 #include <zephyr/dt-bindings/pwm/pwm.h> 7 #include "hexiwear_k64-pinctrl.dtsi" 17 pwm-led0 = &green_pwm_led; 18 red-pwm-led = &red_pwm_led; 19 green-pwm-led = &green_pwm_led; 20 blue-pwm-led = &blue_pwm_led; 28 zephyr,code-partition = &slot0_partition; 30 zephyr,shell-uart = &uart0; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/arduino_nano_33_ble/ |
D | arduino_nano_33_ble-common.dtsi | 4 * 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>; 27 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; 31 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/rddrone_fmuk66/ |
D | rddrone_fmuk66.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/pwm/pwm.h> 11 #include "rddrone_fmuk66-pinctrl.dtsi" 21 pwm-led0 = &red_pwm_led; 22 pwm-led1 = &green_pwm_led; 23 pwm-led2 = &blue_pwm_led; 25 red-pwm-led = &red_pwm_led; 26 green-pwm-led = &green_pwm_led; 27 blue-pwm-led = &blue_pwm_led; [all …]
|
/Zephyr-Core-3.6.0/boards/xtensa/esp_wrover_kit/ |
D | esp_wrover_kit.dts | 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "esp_wrover_kit-pinctrl.dtsi" 19 pwm-led0 = &pwm_led_red; 20 pwm-led1 = &pwm_led_green; 21 pwm-led2 = &pwm_led_blue; 22 red-pwm-led = &pwm_led_red; 23 green-pwm-led = &pwm_led_green; 24 blue-pwm-led = &pwm_led_blue; 25 uart-0 = &uart0; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nrf52840_mdk_usb_dongle/ |
D | nrf52840_mdk_usb_dongle.dts | 6 * 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> 20 zephyr,shell-uart = &uart0; 21 zephyr,uart-mcumgr = &uart0; 22 zephyr,bt-mon-uart = &uart0; 23 zephyr,bt-c2h-uart = &uart0; 26 zephyr,code-partition = &slot0_partition; 31 compatible = "gpio-leds"; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/actinius_icarus_bee/ |
D | actinius_icarus_bee_common.dtsi | 2 * 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>; 28 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; 33 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/mr_canhubk3/ |
D | mr_canhubk3.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include "mr_canhubk3-pinctrl.dtsi" 14 #include <zephyr/dt-bindings/sensor/qdec_nxp_s32.h> 17 model = "NXP MR-CANHUBK3"; 25 zephyr,code-partition = &code_partition; 27 zephyr,shell-uart = &lpuart2; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/az3166_iotdevkit/ |
D | az3166_iotdevkit.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f4/stm32f412r(e-g)tx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 pwm-led0 = &blue_pwm_led; 21 red-led = &red_led; 22 green-led = &green_led; 23 blue-led = &blue_led; 25 red-pwm-led = &red_pwm_led; 26 green-pwm-led = &green_pwm_led; [all …]
|
/Zephyr-Core-3.6.0/dts/bindings/display/ |
D | nordic,nrf-led-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Generic LED matrix driven by nRF SoC GPIOs 6 compatible: "nordic,nrf-led-matrix" 8 include: display-controller.yaml 11 row-gpios: 12 type: phandle-array 15 Array of GPIOs to be used as rows of the matrix. 17 col-gpios: 18 type: phandle-array 21 Array of GPIOs to be used as columns of the matrix. [all …]
|
/Zephyr-Core-3.6.0/boards/arm/serpente/ |
D | serpente.dts | 4 * 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-Core-3.6.0/boards/arm/gd32e507z_eval/ |
D | gd32e507z_eval.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "gd32e507z_eval-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 13 model = "GigaDevice GD32E507Z-EVAL"; 14 compatible = "gd,gd32e507z-eval"; 20 zephyr,shell-uart = &usart0; 24 compatible = "gpio-leds"; 26 gpios = <&gpiog 10 GPIO_ACTIVE_HIGH>; 29 gpios = <&gpiog 11 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/actinius_icarus/ |
D | actinius_icarus_common.dtsi | 2 * 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>; 28 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 33 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/frdm_kw41z/ |
D | frdm_kw41z.dts | 1 /* SPDX-License-Identifier: Apache-2.0 */ 3 /dts-v1/; 6 #include "frdm_kw41z-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 19 pwm-led0 = &blue_pwm_led; 20 pwm-led1 = &green_pwm_led; 21 pwm-led2 = &red_pwm_led; 22 blue-pwm-led = &blue_pwm_led; 23 green-pwm-led = &green_pwm_led; 24 red-pwm-led = &red_pwm_led; [all …]
|
/Zephyr-Core-3.6.0/samples/boards/bbc_microbit/sound/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/drivers/pwm.h> 22 static const struct pwm_dt_spec pwm = PWM_DT_SPEC_GET(DT_PATH(zephyr_user)); variable 28 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios); 29 static const struct gpio_dt_spec sw1_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw1), gpios); 32 BUILD_ASSERT(DT_SAME_NODE(DT_GPIO_CTLR(DT_ALIAS(sw0), gpios), DT_GPIO_CTLR(DT_ALIAS(sw1), gpios))); 39 pwm_set_dt(&pwm, period, period / 2U); in beep() 42 /* Disable the PWM */ in beep() 43 pwm_set_pulse_dt(&pwm, 0); in beep() 70 period -= PWM_USEC(50U); in button_pressed() [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nrf52832_mdk/ |
D | nrf52832_mdk.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include "nrf52832_mdk-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "nRF52832-MDK Micro Dev Kit"; 15 compatible = "nrf52832-mdk"; 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nrf52840dongle_nrf52840/ |
D | nrf52840dongle_nrf52840.dts | 2 * 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"; 19 zephyr,shell-uart = &cdc_acm_uart; 20 zephyr,uart-mcumgr = &cdc_acm_uart; 21 zephyr,bt-mon-uart = &cdc_acm_uart; 22 zephyr,bt-c2h-uart = &cdc_acm_uart; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/frdm_k22f/ |
D | frdm_k22f.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/pwm/pwm.h> 11 #include "frdm_k22f-pinctrl.dtsi" 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 24 pwm-led0 = &green_pwm_led; 25 green-pwm-led = &green_pwm_led; 26 blue-pwm-led = &blue_pwm_led; 27 red-pwm-led = &red_pwm_led; 35 zephyr,code-partition = &slot0_partition; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/gd32f403z_eval/ |
D | gd32f403z_eval.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "gd32f403z_eval-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 20 zephyr,shell-uart = &usart0; 21 zephyr,flash-controller = &fmc; 25 compatible = "gpio-leds"; 27 gpios = <&gpiof 0 GPIO_ACTIVE_HIGH>; 31 gpios = <&gpiof 1 GPIO_ACTIVE_HIGH>; 35 gpios = <&gpiof 2 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/stm32f411e_disco/ |
D | stm32f411e_disco.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f4/stm32f411v(c-e)tx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 13 model = "STMicroelectronics STM32F411E-DISCO board"; 14 compatible = "st,stm32f411e-disco"; 18 zephyr,shell-uart = &usart2; 19 zephyr,uart-mcumgr = &usart2; 22 zephyr,code-partition = &slot0_partition; 26 compatible = "gpio-leds"; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nucleo_f207zg/ |
D | nucleo_f207zg.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f2/stm32f207z(c-e-f-g)tx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "STMicroelectronics STM32F207ZG-NUCLEO board"; 15 compatible = "st,stm32f207zg-nucleo"; 19 zephyr,shell-uart = &usart3; 25 compatible = "gpio-leds"; 27 gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>; 31 gpios = <&gpiob 7 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-Core-3.6.0/boards/arm/nrf52840_papyr/ |
D | nrf52840_papyr.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include "nrf52840_papyr-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "nordic,pca10056-dk"; 17 zephyr,code-partition = &slot0_partition; 19 zephyr,uart-mcumgr = &uart0; 20 zephyr,shell-uart = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; [all …]
|