2021-07-16 08:34:00 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "nice_nano.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2021-07-18 08:49:37 +10:00
|
|
|
chosen {
|
|
|
|
zmk,battery = &vbatt;
|
|
|
|
};
|
|
|
|
|
2021-07-16 08:34:00 +10:00
|
|
|
ext-power {
|
|
|
|
compatible = "zmk,ext-power-generic";
|
|
|
|
label = "EXT_POWER";
|
|
|
|
control-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
|
2022-01-04 00:14:38 +11:00
|
|
|
init-delay-ms = <50>;
|
2021-07-16 08:34:00 +10:00
|
|
|
};
|
|
|
|
|
2021-07-18 08:49:37 +10:00
|
|
|
vbatt: vbatt {
|
2021-07-25 14:41:03 +10:00
|
|
|
compatible = "zmk,battery-nrf-vddh";
|
2021-07-16 08:34:00 +10:00
|
|
|
label = "BATTERY";
|
|
|
|
};
|
|
|
|
};
|