1/*
2 * Copyright (c) 2024 Nordic Semiconductor
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <nxp/kinetis/MKE17Z256VLL7-pinctrl.h>
8#include <zephyr/dt-bindings/gpio/gpio.h>
9
10/*
11 * PTA1 looped back to PTA0
12 */
13
14/ {
15	aliases {
16		test-comp = &cmp0;
17	};
18
19	zephyr,user {
20		test-gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>;
21	};
22};
23
24&gpioa {
25	status = "okay";
26};
27
28&pinctrl {
29	cmp0_default: cmp0_default {
30		group0 {
31			pinmux = <ACMP0_IN0_PTA0>;
32			drive-strength = "high";
33		};
34	};
35};
36
37&cmp0 {
38	pinctrl-0 = <&cmp0_default>;
39	pinctrl-names = "default";
40	status = "okay";
41
42	positive-mux-input = "IN0";
43	positive-port-input = "MUX";
44	negative-mux-input = "IN0";
45	negative-port-input = "DAC";
46
47	dac-vref-source = "VIN1";
48	dac-value = <128>;
49	dac-enable;
50};
51