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