forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnrf54h20dk_nrf54h20_cpuflpr.overlay
More file actions
56 lines (47 loc) · 970 Bytes
/
nrf54h20dk_nrf54h20_cpuflpr.overlay
File metadata and controls
56 lines (47 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Copyright (c) 2026 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
#include <zephyr/dt-bindings/pwm/pwm.h>
#include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h>
/* Test requires wire connection between:
* - PWM120 OUT[0] at P7.0
* - GPIO input at P1.09
*/
/ {
pwm_to_gpio_loopback: pwm_to_gpio_loopback {
compatible = "test-pwm-to-gpio-loopback";
pwms = <&pwm120 0 0 PWM_POLARITY_NORMAL>;
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
};
};
&pinctrl {
pwm_default: pwm_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 7, 0)>;
};
};
pwm_sleep: pwm_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 7, 0)>;
low-power-enable;
};
};
};
&gpio1 {
status = "okay";
};
&pwm120 {
status = "okay";
pinctrl-0 = <&pwm_default>;
pinctrl-1 = <&pwm_sleep>;
pinctrl-names = "default", "sleep";
memory-regions = <&dma_fast_region>;
};
&dma_fast_region {
status = "okay";
};
&pwm130 {
status = "disabled";
};