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

27 lines
402 B
Text
Raw Normal View History

2021-07-16 08:34:00 +10:00
/*
* Copyright (c) 2021 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
/dts-v1/;
#include "nice_nano.dtsi"
/ {
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
};
vbatt: vbatt {
compatible = "zmk,battery-nrf-vddh";
2021-07-16 08:34:00 +10:00
label = "BATTERY";
};
};