File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
tests/drivers/comparator/gpio_loopback/boards Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Renesas Electronics Corporation
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ #include <zephyr/dt-bindings/gpio/gpio.h>
7
+
8
+ / {
9
+ aliases {
10
+ test-comp = &acmphs0;
11
+ };
12
+
13
+ zephyr,user {
14
+ test-gpios = <&ioport6 0 GPIO_ACTIVE_HIGH>;
15
+ };
16
+ };
17
+
18
+ &pinctrl {
19
+ acmphs0_ivcmp0: acmphs0_ivcmp0 {
20
+ group1 {
21
+ /* CH0 IVCMP0 */
22
+ psels = <RA_PSEL(RA_PSEL_ACMPHS, 8, 5)>;
23
+ renesas,analog-enable;
24
+ };
25
+ };
26
+ };
27
+
28
+ &acmphs_global {
29
+ status = "okay";
30
+
31
+ acmphs0 {
32
+ pinctrl-0 = <&acmphs0_ivcmp0>;
33
+ pinctrl-names = "default";
34
+ interrupts = <90 12>;
35
+ interrupt-names = "hs";
36
+ reference-input-source = "ivref2";
37
+ compare-input-source = "ivcmp0";
38
+ noise-filter = <1>;
39
+ status = "okay";
40
+ };
41
+ };
You can’t perform that action at this time.
0 commit comments