Skip to content

Commit 3bdb92d

Browse files
committed
tests: gpio: boards: add overlay for GPIO test driver
Added the xg29_rb4412a.overlay for GPIO API 1-pin This overlay sets the configuration needed to validate the GPIO driver on the xg29_rb4412a board during test execution. Signed-off-by: S Mohamed Fiaz <[email protected]>
1 parent c2ded0d commit 3bdb92d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
led0 = &led0;
10+
};
11+
12+
leds {
13+
compatible = "gpio-leds";
14+
led0: led_0 {
15+
gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>;
16+
};
17+
};
18+
};
19+
20+
&gpioc {
21+
status = "okay";
22+
};

0 commit comments

Comments
 (0)