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

25 lines
427 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/;
2021-07-16 08:34:00 +10:00
#include "nice_nano.dtsi"
/ {
2020-10-23 16:57:32 +11:00
ext-power {
compatible = "zmk,ext-power-generic";
label = "EXT_POWER";
control-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
vbatt {
compatible = "zmk,battery-voltage-divider";
2020-10-28 07:08:18 +11:00
label = "BATTERY";
io-channels = <&adc 2>;
output-ohms = <2000000>;
full-ohms = <(2000000 + 806000)>;
};
};