| // SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> |
| */ |
| |
| /dts-v1/; |
| |
| #include <dt-bindings/input/input.h> |
| |
| /include/ "nspire-classic.dtsi" |
| |
| &keypad { |
| linux,keymap = < |
| MATRIX_KEY(0, 0, 0x1c) |
| MATRIX_KEY(0, 1, 0x1c) |
| MATRIX_KEY(0, 2, 0x39) |
| MATRIX_KEY(0, 4, 0x2c) |
| MATRIX_KEY(0, 5, 0x34) |
| MATRIX_KEY(0, 6, 0x15) |
| MATRIX_KEY(0, 7, 0x0b) |
| MATRIX_KEY(0, 8, 0x2d) |
| MATRIX_KEY(1, 0, 0x33) |
| MATRIX_KEY(1, 1, 0x4e) |
| MATRIX_KEY(1, 2, 0x11) |
| MATRIX_KEY(1, 3, 0x04) |
| MATRIX_KEY(1, 4, 0x2f) |
| MATRIX_KEY(1, 5, 0x03) |
| MATRIX_KEY(1, 6, 0x16) |
| MATRIX_KEY(1, 7, 0x02) |
| MATRIX_KEY(1, 8, 0x14) |
| MATRIX_KEY(2, 0, 0x62) |
| MATRIX_KEY(2, 1, 0x0c) |
| MATRIX_KEY(2, 2, 0x1f) |
| MATRIX_KEY(2, 3, 0x07) |
| MATRIX_KEY(2, 4, 0x13) |
| MATRIX_KEY(2, 5, 0x06) |
| MATRIX_KEY(2, 6, 0x10) |
| MATRIX_KEY(2, 7, 0x05) |
| MATRIX_KEY(2, 8, 0x19) |
| MATRIX_KEY(3, 0, 0x27) |
| MATRIX_KEY(3, 1, 0x37) |
| MATRIX_KEY(3, 2, 0x18) |
| MATRIX_KEY(3, 3, 0x0a) |
| MATRIX_KEY(3, 4, 0x31) |
| MATRIX_KEY(3, 5, 0x09) |
| MATRIX_KEY(3, 6, 0x32) |
| MATRIX_KEY(3, 7, 0x08) |
| MATRIX_KEY(3, 8, 0x26) |
| MATRIX_KEY(4, 0, 0x28) |
| MATRIX_KEY(4, 1, 0x35) |
| MATRIX_KEY(4, 2, 0x25) |
| MATRIX_KEY(4, 4, 0x24) |
| MATRIX_KEY(4, 6, 0x17) |
| MATRIX_KEY(4, 8, 0x23) |
| MATRIX_KEY(5, 0, 0x28) |
| MATRIX_KEY(5, 2, 0x22) |
| MATRIX_KEY(5, 3, 0x1b) |
| MATRIX_KEY(5, 4, 0x21) |
| MATRIX_KEY(5, 5, 0x1a) |
| MATRIX_KEY(5, 6, 0x12) |
| MATRIX_KEY(5, 7, 0x6f) |
| MATRIX_KEY(5, 8, 0x20) |
| MATRIX_KEY(5, 9, 0x2a) |
| MATRIX_KEY(6, 1, 0x1c) |
| MATRIX_KEY(6, 2, 0x2e) |
| MATRIX_KEY(6, 3, 0x68) |
| MATRIX_KEY(6, 4, 0x30) |
| MATRIX_KEY(6, 5, 0x6d) |
| MATRIX_KEY(6, 6, 0x1e) |
| MATRIX_KEY(6, 7, 0x01) |
| MATRIX_KEY(6, 8, 0x2b) |
| MATRIX_KEY(6, 9, 0x0f) |
| MATRIX_KEY(7, 0, 0x67) |
| MATRIX_KEY(7, 2, 0x6a) |
| MATRIX_KEY(7, 4, 0x6c) |
| MATRIX_KEY(7, 6, 0x69) |
| MATRIX_KEY(7, 7, 0x0e) |
| MATRIX_KEY(7, 8, 0x1d) |
| MATRIX_KEY(7, 10, 0x0d) |
| >; |
| }; |
| |
| / { |
| model = "TI-NSPIRE Clickpad"; |
| compatible = "ti,nspire-clp"; |
| }; |