diff options
Diffstat (limited to 'boards/shields/petejohanson_handwire/petejohanson_handwire.overlay')
-rw-r--r-- | boards/shields/petejohanson_handwire/petejohanson_handwire.overlay | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay b/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay new file mode 100644 index 0000000..678070e --- /dev/null +++ b/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay @@ -0,0 +1,12 @@ + +/ { + kscan { + compatible = "gpio-kscan"; + label = "Handwired GPIO KSCAN matrix"; + + row-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, + <&arduino_header 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + col-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>, + <&arduino_header 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + }; +}; |