diff options
Diffstat (limited to 'arch/arm/boot/dts/am335x-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 9199456cfac4..8076e66f9367 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -110,6 +110,26 @@ | |||
110 | regulator-name = "lis3_reg"; | 110 | regulator-name = "lis3_reg"; |
111 | regulator-boot-on; | 111 | regulator-boot-on; |
112 | }; | 112 | }; |
113 | |||
114 | matrix_keypad: matrix_keypad@0 { | ||
115 | compatible = "gpio-matrix-keypad"; | ||
116 | debounce-delay-ms = <5>; | ||
117 | col-scan-delay-us = <2>; | ||
118 | |||
119 | row-gpios = <&gpio2 25 0 /* Bank1, pin25 */ | ||
120 | &gpio2 26 0 /* Bank1, pin26 */ | ||
121 | &gpio2 27 0>; /* Bank1, pin27 */ | ||
122 | |||
123 | col-gpios = <&gpio2 21 0 /* Bank1, pin21 */ | ||
124 | &gpio2 22 0>; /* Bank1, pin22 */ | ||
125 | |||
126 | linux,keymap = <0x0000008b /* MENU */ | ||
127 | 0x0100009e /* BACK */ | ||
128 | 0x02000069 /* LEFT */ | ||
129 | 0x0001006a /* RIGHT */ | ||
130 | 0x0101001c /* ENTER */ | ||
131 | 0x0201006c>; /* DOWN */ | ||
132 | }; | ||
113 | }; | 133 | }; |
114 | 134 | ||
115 | /include/ "tps65910.dtsi" | 135 | /include/ "tps65910.dtsi" |