zmk/app/dts/behaviors/reset.dtsi

24 lines
630 B
Text

/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <dt-bindings/zmk/reset.h>
/ {
behaviors {
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
/omit-if-no-ref/ sys_reset: sysreset {
compatible = "zmk,behavior-reset";
#binding-cells = <0>;
};
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
/omit-if-no-ref/ bootloader: bootload {
compatible = "zmk,behavior-reset";
type = <RST_UF2>;
#binding-cells = <0>;
};
};
};