diff options
author | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 |
---|---|---|
committer | Carey <kcarey1@APC02S226SG8WM.local> | 2020-10-28 07:40:54 -0500 |
commit | 99ad9cbdefee94007511ec2e53437951cf0e4305 (patch) | |
tree | 168c9886965ad5e5f36f4fbbad55cd5f70c5124e /app/boards/arm/nrfmicro/nrfmicro_13.dts | |
parent | 6aae66782682ffcabf953d785308b83ee16fc3b6 (diff) | |
parent | cb922fd8a2a3eddcbece040ca3727d43b171ffe3 (diff) |
Merge https://github.com/zmkfirmware/zmk into refactor_kconfig
Diffstat (limited to 'app/boards/arm/nrfmicro/nrfmicro_13.dts')
-rw-r--r-- | app/boards/arm/nrfmicro/nrfmicro_13.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/boards/arm/nrfmicro/nrfmicro_13.dts b/app/boards/arm/nrfmicro/nrfmicro_13.dts index ef43946..5ae11ba 100644 --- a/app/boards/arm/nrfmicro/nrfmicro_13.dts +++ b/app/boards/arm/nrfmicro/nrfmicro_13.dts @@ -31,6 +31,18 @@ label = "EXT_POWER"; control-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; }; + + vbatt { + compatible = "zmk,battery-voltage-divider"; + label = "VOLTAGE_DIVIDER"; + io-channels = <&adc 2>; + output-ohms = <2000000>; + full-ohms = <(2000000 + 820000)>; + }; +}; + +&adc { + status = "okay"; }; &gpio0 { |