1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> 4 */ 5 6 /dts-v1/; 7 8 #include <dt-bindings/input/input.h> 9 10 /include/ "nspire-classic.dtsi" 11 12 &keypad { 13 linux,keymap = < 14 MATRIX_KEY(0, 0, 0x1c) 15 MATRIX_KEY(0, 1, 0x1c) 16 MATRIX_KEY(0, 2, 0x39) 17 MATRIX_KEY(0, 4, 0x2c) 18 MATRIX_KEY(0, 5, 0x34) 19 MATRIX_KEY(0, 6, 0x15) 20 MATRIX_KEY(0, 7, 0x0b) 21 MATRIX_KEY(0, 8, 0x2d) 22 MATRIX_KEY(1, 0, 0x33) 23 MATRIX_KEY(1, 1, 0x4e) 24 MATRIX_KEY(1, 2, 0x11) 25 MATRIX_KEY(1, 3, 0x04) 26 MATRIX_KEY(1, 4, 0x2f) 27 MATRIX_KEY(1, 5, 0x03) 28 MATRIX_KEY(1, 6, 0x16) 29 MATRIX_KEY(1, 7, 0x02) 30 MATRIX_KEY(1, 8, 0x14) 31 MATRIX_KEY(2, 0, 0x62) 32 MATRIX_KEY(2, 1, 0x0c) 33 MATRIX_KEY(2, 2, 0x1f) 34 MATRIX_KEY(2, 3, 0x07) 35 MATRIX_KEY(2, 4, 0x13) 36 MATRIX_KEY(2, 5, 0x06) 37 MATRIX_KEY(2, 6, 0x10) 38 MATRIX_KEY(2, 7, 0x05) 39 MATRIX_KEY(2, 8, 0x19) 40 MATRIX_KEY(3, 0, 0x27) 41 MATRIX_KEY(3, 1, 0x37) 42 MATRIX_KEY(3, 2, 0x18) 43 MATRIX_KEY(3, 3, 0x0a) 44 MATRIX_KEY(3, 4, 0x31) 45 MATRIX_KEY(3, 5, 0x09) 46 MATRIX_KEY(3, 6, 0x32) 47 MATRIX_KEY(3, 7, 0x08) 48 MATRIX_KEY(3, 8, 0x26) 49 MATRIX_KEY(4, 0, 0x28) 50 MATRIX_KEY(4, 1, 0x35) 51 MATRIX_KEY(4, 2, 0x25) 52 MATRIX_KEY(4, 4, 0x24) 53 MATRIX_KEY(4, 6, 0x17) 54 MATRIX_KEY(4, 8, 0x23) 55 MATRIX_KEY(5, 0, 0x28) 56 MATRIX_KEY(5, 2, 0x22) 57 MATRIX_KEY(5, 3, 0x1b) 58 MATRIX_KEY(5, 4, 0x21) 59 MATRIX_KEY(5, 5, 0x1a) 60 MATRIX_KEY(5, 6, 0x12) 61 MATRIX_KEY(5, 7, 0x6f) 62 MATRIX_KEY(5, 8, 0x20) 63 MATRIX_KEY(5, 9, 0x2a) 64 MATRIX_KEY(6, 1, 0x1c) 65 MATRIX_KEY(6, 2, 0x2e) 66 MATRIX_KEY(6, 3, 0x68) 67 MATRIX_KEY(6, 4, 0x30) 68 MATRIX_KEY(6, 5, 0x6d) 69 MATRIX_KEY(6, 6, 0x1e) 70 MATRIX_KEY(6, 7, 0x01) 71 MATRIX_KEY(6, 8, 0x2b) 72 MATRIX_KEY(6, 9, 0x0f) 73 MATRIX_KEY(7, 0, 0x67) 74 MATRIX_KEY(7, 2, 0x6a) 75 MATRIX_KEY(7, 4, 0x6c) 76 MATRIX_KEY(7, 6, 0x69) 77 MATRIX_KEY(7, 7, 0x0e) 78 MATRIX_KEY(7, 8, 0x1d) 79 MATRIX_KEY(7, 10, 0x0d) 80 >; 81 }; 82 83 / { 84 model = "TI-NSPIRE Clickpad"; 85 compatible = "ti,nspire-clp"; 86 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.