feat(boards): Planck physical layout
This commit is contained in:
parent
026be009a6
commit
91e1a7cfef
1 changed files with 19 additions and 1 deletions
|
|
@ -9,6 +9,9 @@
|
||||||
#include <st/f3/stm32f303c(b-c)tx-pinctrl.dtsi>
|
#include <st/f3/stm32f303c(b-c)tx-pinctrl.dtsi>
|
||||||
#include <dt-bindings/zmk/matrix_transform.h>
|
#include <dt-bindings/zmk/matrix_transform.h>
|
||||||
|
|
||||||
|
#include <layouts/common/ortho_4x12/ortho_4x12.dtsi>
|
||||||
|
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "Plack PCD, rev6";
|
model = "Plack PCD, rev6";
|
||||||
compatible = "planck,rev6", "st,stm32f303";
|
compatible = "planck,rev6", "st,stm32f303";
|
||||||
|
|
@ -17,7 +20,7 @@
|
||||||
zephyr,sram = &sram0;
|
zephyr,sram = &sram0;
|
||||||
zephyr,flash = &flash0;
|
zephyr,flash = &flash0;
|
||||||
zmk,kscan = &kscan0;
|
zmk,kscan = &kscan0;
|
||||||
zmk,matrix-transform = &layout_grid_transform;
|
zmk,physical-layout = &layout_ortho_4x12_all1u;
|
||||||
};
|
};
|
||||||
|
|
||||||
kscan0: kscan {
|
kscan0: kscan {
|
||||||
|
|
@ -137,3 +140,18 @@ zephyr_udc0: &usb {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&layout_ortho_4x12_all1u {
|
||||||
|
status = "okay";
|
||||||
|
transform = <&layout_grid_transform>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&layout_ortho_4x12_1x2u {
|
||||||
|
status = "okay";
|
||||||
|
transform = <&layout_mit_transform>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&layout_ortho_4x12_2x2u {
|
||||||
|
status = "okay";
|
||||||
|
transform = <&layout_2x2u_transform>;
|
||||||
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue