zmk/app/boards/arm/nice_nano/nice_nano_v2.dts

27 lines
515 B
Plaintext
Raw Normal View History

2021-07-15 15:34:00 -07:00
/*
* Copyright (c) 2021 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
/dts-v1/;
#include "nice_nano.dtsi"
/ {
chosen {
zmk,battery = &vbatt;
};
// Node name must match original "EXT_POWER" label to preserve user settings.
EXT_POWER {
compatible = "zmk,ext-power-generic";
control-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
init-delay-ms = <50>;
};
2021-07-15 15:34:00 -07:00
vbatt: vbatt {
compatible = "zmk,battery-nrf-vddh";
label = "BATTERY";
};
2021-07-15 15:34:00 -07:00
};