I resolved the issue and use correct values according to gpio banks:
matrix_keypad@0 {
                compatible = "gpio-matrix-keypad";
                debounce-delay-ms = <0x50>;
                col-scan-delay-us = <0x2>;
                keypad,num-rows = <4>;
                keypad,num-columns= <4>;
                row-gpios = <&gpio2 7 0x17
                             &gpio2 9 0x17
                             &gpio2 11 0x17
                             &gpio2 13 0x17>;
                col-gpios = <&gpio2 6 0x17
                             &gpio2 8 0x17
                             &gpio2 10 0x17
                             &gpio2 12 0x17>;
                linux,keymap = <
                                

                                /*row0*/
                                0x000000002 /* row 0 col 0 KEY_1 */
                                0x000100003 /*row  0 col 1 KEY_2 */
                                0x000200004 /*row 0 col  2 KEY_3 */
                                0x000300005 /*row 0 col  3 KEY_4 */

                                 /*row1*/
                                 0x01000005 /* row 1 col 0 KEY_4 */
                                 0x01010006 /* row 1 col 1 KEY_5 */
                                 0x01020007 /* row 1 col 2 KEY_6 */
                                 0x01030008 /* row 1 col 3 KEY_7 */

                                >;
}
Now It is working .. There are some issues with certain keys.. Row0 keys 
are working *But ROW1 keys are not working*.... * IS there anything wrong 
with my dts settings.*

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/28d75a6b-82c4-439f-929e-24384b36cb95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to