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 Jul 31, 2023
1 parent 7cf436e commit e056d28
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
11 changes: 10 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,16 @@
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,startup-bootloader-key";
key-position = <0>;
status = "disabled";
};
bootloader_key_right: bootloader_key_right {
compatible = "zmk,startup-bootloader-key";
key-position = <9>;
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 @@ -44,6 +44,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 @@ -52,6 +52,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 @@ -50,7 +50,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 @@ -60,6 +60,10 @@
col-offset = <6>;
};

&bootloader_key_right {
status = "okay";
};

&pinctrl {
spi0_default: spi0_default {
group1 {
Expand Down

0 comments on commit e056d28

Please sign in to comment.