From c4d1a56ab403e581a0e9a3702b7e28d2d707b2ce Mon Sep 17 00:00:00 2001 From: kiprasdak Date: Sat, 16 Jul 2022 16:05:52 +0300 Subject: [PATCH] overlays & L_R.conf --- app/boards/shields/wing36/wing36_left.conf | 1 + app/boards/shields/wing36/wing36_left.overlay | 1 + app/boards/shields/wing36/wing36_right.conf | 1 + .../shields/wing36/wing36_right.overlay | 24 +++++++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 app/boards/shields/wing36/wing36_left.conf create mode 100644 app/boards/shields/wing36/wing36_left.overlay create mode 100644 app/boards/shields/wing36/wing36_right.conf create mode 100644 app/boards/shields/wing36/wing36_right.overlay diff --git a/app/boards/shields/wing36/wing36_left.conf b/app/boards/shields/wing36/wing36_left.conf new file mode 100644 index 00000000..dcb30ef6 --- /dev/null +++ b/app/boards/shields/wing36/wing36_left.conf @@ -0,0 +1 @@ +# wing36_left.conf \ No newline at end of file diff --git a/app/boards/shields/wing36/wing36_left.overlay b/app/boards/shields/wing36/wing36_left.overlay new file mode 100644 index 00000000..483db8ff --- /dev/null +++ b/app/boards/shields/wing36/wing36_left.overlay @@ -0,0 +1 @@ +#include "wing36.dtsi" \ No newline at end of file diff --git a/app/boards/shields/wing36/wing36_right.conf b/app/boards/shields/wing36/wing36_right.conf new file mode 100644 index 00000000..a6080a55 --- /dev/null +++ b/app/boards/shields/wing36/wing36_right.conf @@ -0,0 +1 @@ +# wing36_right.conf \ No newline at end of file diff --git a/app/boards/shields/wing36/wing36_right.overlay b/app/boards/shields/wing36/wing36_right.overlay new file mode 100644 index 00000000..f264812e --- /dev/null +++ b/app/boards/shields/wing36/wing36_right.overlay @@ -0,0 +1,24 @@ +#include "wing36.dtsi" + +&kscan0 { + input-gpios + = <&pro_micro 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 20 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 18 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 21 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 19 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + , <&pro_micro 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> + ; +}; \ No newline at end of file