aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am437x-gp-evm.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/am437x-gp-evm.dts')
-rw-r--r--arch/arm/boot/dts/am437x-gp-evm.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 0dc248d125b1..4eb72b803d6d 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -13,6 +13,7 @@
13#include "am4372.dtsi" 13#include "am4372.dtsi"
14#include <dt-bindings/pinctrl/am43xx.h> 14#include <dt-bindings/pinctrl/am43xx.h>
15#include <dt-bindings/pwm/pwm.h> 15#include <dt-bindings/pwm/pwm.h>
16#include <dt-bindings/gpio/gpio.h>
16 17
17/ { 18/ {
18 model = "TI AM437x GP EVM"; 19 model = "TI AM437x GP EVM";
@@ -24,6 +25,26 @@
24 brightness-levels = <0 51 53 56 62 75 101 152 255>; 25 brightness-levels = <0 51 53 56 62 75 101 152 255>;
25 default-brightness-level = <8>; 26 default-brightness-level = <8>;
26 }; 27 };
28
29 matrix_keypad: matrix_keypad@0 {
30 compatible = "gpio-matrix-keypad";
31 debounce-delay-ms = <5>;
32 col-scan-delay-us = <2>;
33
34 row-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
35 &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
36 &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
37
38 col-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
39 &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
40
41 linux,keymap = <0x00000201 /* P1 */
42 0x00010202 /* P2 */
43 0x01000067 /* UP */
44 0x0101006a /* RIGHT */
45 0x02000069 /* LEFT */
46 0x0201006c>; /* DOWN */
47 };
27}; 48};
28 49
29&am43xx_pinmux { 50&am43xx_pinmux {