summaryrefslogtreecommitdiff
path: root/config/boards/arm/adv360/adv360_right.dts
diff options
context:
space:
mode:
Diffstat (limited to 'config/boards/arm/adv360/adv360_right.dts')
-rw-r--r--config/boards/arm/adv360/adv360_right.dts54
1 files changed, 54 insertions, 0 deletions
diff --git a/config/boards/arm/adv360/adv360_right.dts b/config/boards/arm/adv360/adv360_right.dts
new file mode 100644
index 0000000..afd38f3
--- /dev/null
+++ b/config/boards/arm/adv360/adv360_right.dts
@@ -0,0 +1,54 @@
+/*
+*
+* Copyright (c) 2021 Polarity Works
+* SPDX-License-Identifier: MIT
+*
+*/
+
+#include "adv360.dtsi"
+
+/{
+
+
+
+ kscan0: kscan {
+ compatible = "zmk,kscan-gpio-matrix";
+ label = "KSCAN";
+
+ diode-direction = "col2row";
+ row-gpios
+ = <&gpio0 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ , <&gpio0 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ , <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ , <&gpio0 30 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ , <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ ;
+
+ col-gpios
+ = <&gpio1 14 GPIO_ACTIVE_HIGH>
+ , <&gpio0 12 GPIO_ACTIVE_HIGH>
+ , <&gpio1 9 GPIO_ACTIVE_HIGH>
+ , <&gpio0 7 GPIO_ACTIVE_HIGH>
+ , <&gpio1 11 GPIO_ACTIVE_HIGH>
+ , <&gpio1 10 GPIO_ACTIVE_HIGH>
+ , <&gpio1 13 GPIO_ACTIVE_HIGH>
+ , <&gpio1 15 GPIO_ACTIVE_HIGH>
+ , <&gpio0 3 GPIO_ACTIVE_HIGH>
+ , <&gpio0 2 GPIO_ACTIVE_HIGH>
+ , <&gpio0 28 GPIO_ACTIVE_HIGH>
+ ;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+ blue_led: led_0 {
+ gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
+ label = "Blue LED";
+ };
+ };
+
+};
+
+&default_transform {
+ col-offset = <11>;
+ };