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