feat(boards): Add battery sensor for Makerdiary M60 keyboard
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &cdc_acm_uart;
+ zmk,battery = &vbatt;
};
leds {
};
};
+ vbatt: vbatt {
+ compatible = "zmk,battery-voltage-divider";
+ label = "BATTERY";
+ io-channels = <&adc 0>;
+ output-ohms = <1000000>;
+ full-ohms = <(1000000 + 1000000)>;
+ };
+
};
&adc {
