Skip to content

Commit 88f0613

Browse files
akanisetticarlescufi
authored andcommitted
tests: drivers: gpio: gpio_basic_api: Added intel_adl_crb overlay
Added overlay to enable GPIO tests on intel_adl_crb board. Signed-off-by: Anisetti Avinash Krishna <[email protected]>
1 parent 0f796a4 commit 88f0613

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

boards/x86/intel_adl/intel_adl_crb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ram: 2048
88
supported:
99
- watchdog
1010
- pwm
11+
- gpio
1112
testing:
1213
timeout_multiplier: 4
1314
ignore_tags:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2023 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
/*
7+
* Connect loopback between GPP_B_14 and GPP_B_15.
8+
* BIOS settings to mark these two pins as GPIO
9+
* Under Intel Advanced Menu > PCH-IO Configuration
10+
* Enable Timed GPIO0 > Disable
11+
* Enable Timed GPIO1 > Disable
12+
* ISH Configuration > GP_6 > Unchecked [ ]
13+
* ISH Configuration > GP_7 > Unchecked [ ]
14+
*/
15+
/ {
16+
resources {
17+
compatible = "test-gpio-basic-api";
18+
19+
out-gpios = <&gpio_0_b 14 0>;
20+
in-gpios = <&gpio_0_b 15 0>;
21+
};
22+
};

0 commit comments

Comments
 (0)