2020-08-12 03:07:08 +10:00
|
|
|
/*
|
2020-08-22 18:51:01 +10:00
|
|
|
* Copyright (c) 2020 Ryan Cross
|
2020-08-12 03:07:08 +10:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sofle.dtsi"
|
|
|
|
|
|
|
|
&kscan0 {
|
|
|
|
col-gpios
|
|
|
|
= <&pro_micro_a 1 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro_a 0 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro_d 15 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro_d 14 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro_d 16 GPIO_ACTIVE_HIGH>
|
|
|
|
, <&pro_micro_d 10 GPIO_ACTIVE_HIGH>
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
|
|
|
&left_encoder {
|
|
|
|
status = "okay";
|
|
|
|
};
|