Skip to content

Commit

Permalink
Add bootloader key to Zen
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Jan 19, 2024
1 parent 560fbc7 commit 8218632
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app/boards/arm/corneish_zen/corneish_zen.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,18 @@
RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8)
>;
};

bootloader_key_left: bootloader_key_left {
compatible = "zmk,boot-magic-key";
key-position = <0>;
jump-to-bootloader;
status = "disabled";
};
bootloader_key_right: bootloader_key_right {
compatible = "zmk,boot-magic-key";
key-position = <9>;
jump-to-bootloader;
status = "disabled";
};
};

&adc {
Expand Down
4 changes: 4 additions & 0 deletions app/boards/arm/corneish_zen/corneish_zen_v1_left.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
};
};

&bootloader_key_left {
status = "okay";
};

&pinctrl {
spi2_default: spi2_default {
group1 {
Expand Down
4 changes: 4 additions & 0 deletions app/boards/arm/corneish_zen/corneish_zen_v1_right.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
col-offset = <6>;
};

&bootloader_key_right {
status = "okay";
};

&pinctrl {
spi2_default: spi2_default {
group1 {
Expand Down
3 changes: 3 additions & 0 deletions app/boards/arm/corneish_zen/corneish_zen_v2_left.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
output-ohms = <1960000>;
full-ohms = <(1960000 + 810000)>;
};
};

&bootloader_key_left {
status = "okay";
};

&pinctrl {
Expand Down
4 changes: 4 additions & 0 deletions app/boards/arm/corneish_zen/corneish_zen_v2_right.dts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
col-offset = <6>;
};

&bootloader_key_right {
status = "okay";
};

&pinctrl {
spi0_default: spi0_default {
group1 {
Expand Down

0 comments on commit 8218632

Please sign in to comment.