1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> 4724ba675SRob Herring */ 5*12a26898SAndrew Davis 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8a9ab8b23SAndrew Davis#include <dt-bindings/input/input.h> 9a9ab8b23SAndrew Davis 10724ba675SRob Herring/include/ "nspire-classic.dtsi" 11724ba675SRob Herring 12724ba675SRob Herring&keypad { 13724ba675SRob Herring linux,keymap = < 14a9ab8b23SAndrew Davis MATRIX_KEY(0, 0, 0x1c) 15a9ab8b23SAndrew Davis MATRIX_KEY(0, 1, 0x1c) 16a9ab8b23SAndrew Davis MATRIX_KEY(0, 4, 0x39) 17a9ab8b23SAndrew Davis MATRIX_KEY(0, 5, 0x2c) 18a9ab8b23SAndrew Davis MATRIX_KEY(0, 6, 0x15) 19a9ab8b23SAndrew Davis MATRIX_KEY(0, 7, 0x0b) 20a9ab8b23SAndrew Davis MATRIX_KEY(0, 8, 0x0f) 21a9ab8b23SAndrew Davis MATRIX_KEY(1, 0, 0x2d) 22a9ab8b23SAndrew Davis MATRIX_KEY(1, 1, 0x11) 23a9ab8b23SAndrew Davis MATRIX_KEY(1, 2, 0x2f) 24a9ab8b23SAndrew Davis MATRIX_KEY(1, 3, 0x04) 25a9ab8b23SAndrew Davis MATRIX_KEY(1, 4, 0x16) 26a9ab8b23SAndrew Davis MATRIX_KEY(1, 5, 0x14) 27a9ab8b23SAndrew Davis MATRIX_KEY(1, 6, 0x1f) 28a9ab8b23SAndrew Davis MATRIX_KEY(1, 7, 0x02) 29a9ab8b23SAndrew Davis MATRIX_KEY(1, 10, 0x6a) 30a9ab8b23SAndrew Davis MATRIX_KEY(2, 0, 0x13) 31a9ab8b23SAndrew Davis MATRIX_KEY(2, 1, 0x10) 32a9ab8b23SAndrew Davis MATRIX_KEY(2, 2, 0x19) 33a9ab8b23SAndrew Davis MATRIX_KEY(2, 3, 0x07) 34a9ab8b23SAndrew Davis MATRIX_KEY(2, 4, 0x18) 35a9ab8b23SAndrew Davis MATRIX_KEY(2, 5, 0x31) 36a9ab8b23SAndrew Davis MATRIX_KEY(2, 6, 0x32) 37a9ab8b23SAndrew Davis MATRIX_KEY(2, 7, 0x05) 38a9ab8b23SAndrew Davis MATRIX_KEY(2, 8, 0x28) 39a9ab8b23SAndrew Davis MATRIX_KEY(2, 9, 0x6c) 40a9ab8b23SAndrew Davis MATRIX_KEY(3, 0, 0x26) 41a9ab8b23SAndrew Davis MATRIX_KEY(3, 1, 0x25) 42a9ab8b23SAndrew Davis MATRIX_KEY(3, 2, 0x24) 43a9ab8b23SAndrew Davis MATRIX_KEY(3, 3, 0x0a) 44a9ab8b23SAndrew Davis MATRIX_KEY(3, 4, 0x17) 45a9ab8b23SAndrew Davis MATRIX_KEY(3, 5, 0x23) 46a9ab8b23SAndrew Davis MATRIX_KEY(3, 6, 0x22) 47a9ab8b23SAndrew Davis MATRIX_KEY(3, 7, 0x08) 48a9ab8b23SAndrew Davis MATRIX_KEY(3, 8, 0x35) 49a9ab8b23SAndrew Davis MATRIX_KEY(3, 9, 0x69) 50a9ab8b23SAndrew Davis MATRIX_KEY(4, 0, 0x21) 51a9ab8b23SAndrew Davis MATRIX_KEY(4, 1, 0x12) 52a9ab8b23SAndrew Davis MATRIX_KEY(4, 2, 0x20) 53a9ab8b23SAndrew Davis MATRIX_KEY(4, 4, 0x2e) 54a9ab8b23SAndrew Davis MATRIX_KEY(4, 5, 0x30) 55a9ab8b23SAndrew Davis MATRIX_KEY(4, 6, 0x1e) 56a9ab8b23SAndrew Davis MATRIX_KEY(4, 7, 0x0d) 57a9ab8b23SAndrew Davis MATRIX_KEY(4, 8, 0x37) 58a9ab8b23SAndrew Davis MATRIX_KEY(4, 9, 0x67) 59a9ab8b23SAndrew Davis MATRIX_KEY(5, 1, 0x38) 60a9ab8b23SAndrew Davis MATRIX_KEY(5, 2, 0x0c) 61a9ab8b23SAndrew Davis MATRIX_KEY(5, 3, 0x1b) 62a9ab8b23SAndrew Davis MATRIX_KEY(5, 4, 0x34) 63a9ab8b23SAndrew Davis MATRIX_KEY(5, 5, 0x1a) 64a9ab8b23SAndrew Davis MATRIX_KEY(5, 6, 0x06) 65a9ab8b23SAndrew Davis MATRIX_KEY(5, 8, 0x27) 66a9ab8b23SAndrew Davis MATRIX_KEY(5, 9, 0x0e) 67a9ab8b23SAndrew Davis MATRIX_KEY(5, 10, 0x6f) 68a9ab8b23SAndrew Davis MATRIX_KEY(6, 0, 0x2b) 69a9ab8b23SAndrew Davis MATRIX_KEY(6, 2, 0x4e) 70a9ab8b23SAndrew Davis MATRIX_KEY(6, 3, 0x68) 71a9ab8b23SAndrew Davis MATRIX_KEY(6, 4, 0x03) 72a9ab8b23SAndrew Davis MATRIX_KEY(6, 5, 0x6d) 73a9ab8b23SAndrew Davis MATRIX_KEY(6, 6, 0x09) 74a9ab8b23SAndrew Davis MATRIX_KEY(6, 7, 0x01) 75a9ab8b23SAndrew Davis MATRIX_KEY(6, 9, 0x0f) 76a9ab8b23SAndrew Davis MATRIX_KEY(7, 8, 0x2a) 77a9ab8b23SAndrew Davis MATRIX_KEY(7, 9, 0x1d) 78a9ab8b23SAndrew Davis MATRIX_KEY(7, 10, 0x33) 79a9ab8b23SAndrew Davis >; 80724ba675SRob Herring}; 81724ba675SRob Herring 82724ba675SRob Herring/ { 83724ba675SRob Herring model = "TI-NSPIRE Touchpad"; 84724ba675SRob Herring compatible = "ti,nspire-tp"; 85724ba675SRob Herring}; 86