zmk: renamed goose to phiboard

This commit is contained in:
phiwan-dev 2025-07-20 15:36:34 +02:00
parent b3b04d9847
commit 5b394cd059
11 changed files with 70 additions and 70 deletions

View file

@ -0,0 +1,34 @@
#include "phiboard.dtsi"
/ {
chosen {
zmk,kscan = &kscan0;
};
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
diode-direction = "col2row";
col-gpios
= <&xiao_d 0 GPIO_ACTIVE_HIGH>
, <&xiao_d 1 GPIO_ACTIVE_HIGH>
, <&xiao_d 2 GPIO_ACTIVE_HIGH>
, <&xiao_d 3 GPIO_ACTIVE_HIGH>
, <&xiao_d 4 GPIO_ACTIVE_HIGH>
;
row-gpios
= <&xiao_d 5 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&xiao_d 6 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&xiao_d 10 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
, <&xiao_d 9 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>
;
};
};
&left_encoder {
status = "okay";
};