z-module-coquette/snippets/cq_mcuboot_key/coquette_mcuboot_key.overlay
2025-09-14 17:15:09 +01:00

25 lines
589 B
Text

/*
* Copyright (c) 2025 eden ariel and ember ana
*
* SPDX-License-Identifier: EUPL-1.2
*/
/ {
dfukeys {
compatible = "gpio-keys";
dfukey: dfukey {
gpios = <&coquette_ffc 23 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "mcuboot_enter";
zephyr,code = <INPUT_KEY_0>;
};
};
dfukeydrive: dfukeydrive {
compatible = "skji,mcuboot-matrix-drive";
gpios = <&coquette_ffc 17 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
};
aliases {
mcuboot-button0 = &dfukey;
drive13 = &dfukeydrive;
};
};