File tree Expand file tree Collapse file tree 3 files changed +93
-0
lines changed
tests/drivers/comparator/gpio_loopback/boards Expand file tree Collapse file tree 3 files changed +93
-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
+ &acmphs_global {
19
+ status = "okay";
20
+
21
+ acmphs0 {
22
+ pinctrl-0 = <&acmphs_ivref0 &acmphs0_ivcmp0>;
23
+ pinctrl-names = "default";
24
+ interrupts = <90 12>;
25
+ interrupt-names = "hs";
26
+ reference-input-source = "ivref0";
27
+ compare-input-source = "ivcmp0";
28
+ noise-filter = <1>;
29
+ status = "okay";
30
+ };
31
+ };
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
+ &acmphs_global {
19
+ status = "okay";
20
+
21
+ acmphs0 {
22
+ pinctrl-0 = <&acmphs_ivref0 &acmphs0_ivcmp0>;
23
+ pinctrl-names = "default";
24
+ interrupts = <90 12>;
25
+ interrupt-names = "hs";
26
+ reference-input-source = "ivref0";
27
+ compare-input-source = "ivcmp0";
28
+ noise-filter = <1>;
29
+ status = "okay";
30
+ };
31
+ };
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 6 GPIO_ACTIVE_HIGH>;
15
+ };
16
+ };
17
+
18
+ &acmphs_global {
19
+ status = "okay";
20
+
21
+ acmphs0 {
22
+ pinctrl-0 = <&acmphs_ivref0 &acmphs0_ivcmp0>;
23
+ pinctrl-names = "default";
24
+ interrupts = <90 12>;
25
+ interrupt-names = "hs";
26
+ reference-input-source = "ivref0";
27
+ compare-input-source = "ivcmp0";
28
+ noise-filter = <1>;
29
+ status = "okay";
30
+ };
31
+ };
You can’t perform that action at this time.
0 commit comments