4d55e60adb
* Don'd omit unreferenced reset behaviors, so they are always available in split peripherals.
24 lines
408 B
Text
24 lines
408 B
Text
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <dt-bindings/zmk/reset.h>
|
|
|
|
/ {
|
|
behaviors {
|
|
reset: behavior_reset {
|
|
compatible = "zmk,behavior-reset";
|
|
label = "RESET";
|
|
#binding-cells = <0>;
|
|
};
|
|
|
|
bootloader: behavior_reset_dfu {
|
|
compatible = "zmk,behavior-reset";
|
|
label = "BOOTLOAD";
|
|
type = <RST_UF2>;
|
|
#binding-cells = <0>;
|
|
};
|
|
};
|
|
};
|