summaryrefslogtreecommitdiff
path: root/app/dts/behaviors/reset.dtsi
blob: cf363425227c770fe00778f6da659d75371efadc (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 {
		reset: behavior_reset {
			compatible = "zmk,behavior-reset";
			label = "RESET";
			#binding-cells = <0>;
		};

		bootloader: behavior_reset_dfu {
			compatible = "zmk,behavior-reset";
			label = "BOOTLOADER_RESET";
			type = <RST_UF2>;
			#binding-cells = <0>;
		};
	};
};