2022-03-24 04:38:14 -07:00
|
|
|
#include <behaviors.dtsi>
|
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <dt-bindings/zmk/kscan_mock.h>
|
|
|
|
|
|
|
|
/ {
|
2023-04-22 21:25:56 -07:00
|
|
|
chosen {
|
2023-06-20 09:31:55 -07:00
|
|
|
zephyr,console = &uart0;
|
2023-04-22 21:25:56 -07:00
|
|
|
zmk,kscan = &kscan;
|
|
|
|
};
|
2022-03-24 04:38:14 -07:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
kscan: kscan {
|
|
|
|
compatible = "zmk,kscan-mock";
|
2022-03-24 04:38:14 -07:00
|
|
|
|
2023-04-22 21:25:56 -07:00
|
|
|
rows = <2>;
|
|
|
|
columns = <2>;
|
|
|
|
exit-after;
|
|
|
|
};
|
2023-06-20 09:31:55 -07:00
|
|
|
|
|
|
|
uart0: uart {
|
|
|
|
status = "okay";
|
|
|
|
compatible = "zephyr,native-posix-uart";
|
|
|
|
/* Dummy current-speed entry to comply with serial
|
|
|
|
* DTS binding
|
|
|
|
*/
|
|
|
|
current-speed = <0>;
|
|
|
|
};
|
2022-03-24 04:38:14 -07:00
|
|
|
};
|