55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
#include <zephyr/dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,boot-mode = &boot_mode0;
|
|
};
|
|
|
|
hid_dev_0: hid_dev_0 {
|
|
compatible = "zephyr,hid-device";
|
|
label = "HID_BOOT";
|
|
protocol-code = "keyboard";
|
|
in-report-size = <8>;
|
|
in-polling-period-us = <1000>;
|
|
out-report-size = <8>;
|
|
out-polling-period-us = <1000>;
|
|
};
|
|
|
|
hid_dev_1: hid_dev_1 {
|
|
compatible = "zephyr,hid-device";
|
|
label = "HID_NKRO";
|
|
protocol-code = "none";
|
|
in-report-size = <31>;
|
|
in-polling-period-us = <1000>;
|
|
out-report-size = <31>;
|
|
out-polling-period-us = <1000>;
|
|
};
|
|
|
|
raw_hid: hid_dev_2 {
|
|
compatible = "zephyr,hid-device";
|
|
label = "HID_RAW";
|
|
protocol-code = "none";
|
|
in-report-size = <64>;
|
|
in-polling-period-us = <1000>;
|
|
out-report-size = <64>;
|
|
out-polling-period-us = <1000>;
|
|
};
|
|
};
|
|
|
|
&zephyr_udc0 {
|
|
cdc_acm_uart0: cdc_acm_uart0 {
|
|
compatible = "zephyr,cdc-acm-uart";
|
|
label = "new_kbd CDC ACM";
|
|
};
|
|
};
|
|
|
|
&gpregret1 {
|
|
status = "okay";
|
|
|
|
boot_mode0: boot_mode@0 {
|
|
compatible = "zephyr,retention";
|
|
status = "okay";
|
|
reg = <0x0 0x1>;
|
|
};
|
|
};
|