Add test and sample overlays for CY8CKIT-041S-MAX board: - GPIO basic API test using P1.2 and P1.3 pins - Button sample using P11.5 with pull-up configuration Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
27 lines
410 B
Plaintext
27 lines
410 B
Plaintext
/*
|
|
* Copyright (c) 2025 Infineon Technologies AG,
|
|
* or an affiliate of Infineon Technologies AG.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
sw0 = &user_btn;
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
|
|
user_btn: button_0 {
|
|
label = "SW_0";
|
|
gpios = <&gpio_prt11 5 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
zephyr,code = <INPUT_KEY_0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio_prt11 {
|
|
status = "okay";
|
|
};
|