1/*
2 * Copyright 2023 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/pwm/pwm.h>
8
9/ {
10	pwm_loopback_0 {
11		compatible = "test-pwm-loopback";
12		/* Connect P8A pin 3 and P8A pin 6 */
13		pwms = <&emios0_pwm 0 0 PWM_POLARITY_NORMAL>,
14			<&emios0_pwm 1 0 PWM_POLARITY_NORMAL>;
15	};
16};
17
18&pinctrl {
19	emios0_default {
20		group2 {
21			pinmux = <PTB13_EMIOS_0_CH1_G_I>;
22			input-enable;
23		};
24	};
25};
26
27&emios0 {
28	emios0_pwm: pwm {
29		pinctrl-0 = <&emios0_default>;
30		pinctrl-names = "default";
31		status = "okay";
32
33		pwm_1 {
34			/delete-property/ period;
35			/delete-property/ polarity;
36			/delete-property/ duty-cycle;
37			prescaler = <16>;
38			pwm-mode = "SAIC";
39		};
40	};
41};
42