Skip to content

Commit a173fce

Browse files
AlvinPaul26kartben
authored andcommitted
tests: drivers: gpio: gpio_basic_api: Add support for kv260
Add gpio driver testcase support for kv260. The overlay will select the PS gpio bank to be tested. For running this testcase on kv260 PS gpio bank 3 has been chosen because it is EMIO and design is required to connect pins together. Signed-off-by: Paul Alvin <[email protected]>
1 parent d8e771d commit a173fce

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

boards/amd/kv260_r5/kv260_r5.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ flash: 32768
88
supported:
99
- i2c
1010
- eeprom
11+
- gpio
1112
testing:
1213
ignore_tags:
1314
- net
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (c) 2025 Advanced Micro Devices, Inc. (AMD)
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
loop {
9+
compatible = "test-gpio-basic-api";
10+
11+
out-gpios = <&psgpio_bank3 0 0>; /* GPIOPS BANK 3 PIN 0 */
12+
in-gpios = <&psgpio_bank3 1 0>; /* GPIOPS BANK 3 PIN 1 */
13+
};
14+
};

0 commit comments

Comments
 (0)