summaryrefslogtreecommitdiff
path: root/app/dts/behaviors/reset.dtsi
blob: e4ba56588cf88cd1da9b440ba0934e30dace480e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

#include <dt-bindings/zmk/reset.h>

/ {
	behaviors {
		/omit-if-no-ref/ reset: behavior_reset {
			compatible = "zmk,behavior-reset";
			label = "RESET";
			#binding-cells = <0>;
		};

		/omit-if-no-ref/ bootloader: behavior_reset_dfu {
			compatible = "zmk,behavior-reset";
			label = "BOOTLOAD";
			type = <RST_UF2>;
			#binding-cells = <0>;
		};
	};
};