2020-11-11 13:10:29 -08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-08-20 21:33:48 -07:00
|
|
|
#include <dt-bindings/zmk/reset.h>
|
|
|
|
|
2020-06-19 12:32:33 -07:00
|
|
|
/ {
|
2023-04-22 21:25:56 -07:00
|
|
|
behaviors {
|
2023-11-17 22:47:01 -08:00
|
|
|
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
|
|
|
|
sys_reset: sysreset {
|
2023-04-22 21:25:56 -07:00
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
2020-08-20 21:33:48 -07:00
|
|
|
|
2023-11-17 22:47:01 -08:00
|
|
|
// Behavior can be invoked on peripherals, so name must be <= 8 characters.
|
|
|
|
bootloader: bootload {
|
2023-04-22 21:25:56 -07:00
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
type = <RST_UF2>;
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
2020-06-19 12:32:33 -07:00
|
|
|
};
|