summaryrefslogtreecommitdiff
path: root/app/boards/arm/nrfmicro/nrfmicro_13.dts
diff options
context:
space:
mode:
Diffstat (limited to 'app/boards/arm/nrfmicro/nrfmicro_13.dts')
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_13.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/boards/arm/nrfmicro/nrfmicro_13.dts b/app/boards/arm/nrfmicro/nrfmicro_13.dts
index 95bd8ad..840014a 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_13.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_13.dts
@@ -26,6 +26,14 @@
};
};
+ vbatt {
+ compatible = "zmk,battery-voltage-divider";
+ label = "VOLTAGE_DIVIDER";
+ io-channels = <&adc 2>;
+ output-ohms = <2000000>;
+ full-ohms = <(2000000 + 820000)>;
+ };
+
};
&gpio0 {