Daniel Tang | d907849 | 2013-06-11 18:40:18 +1000 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/boot/nspire-tp.dts |
| 3 | * |
| 4 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2, as |
| 8 | * published by the Free Software Foundation. |
| 9 | * |
| 10 | */ |
| 11 | /dts-v1/; |
| 12 | |
| 13 | /include/ "nspire-classic.dtsi" |
| 14 | |
| 15 | &keypad { |
| 16 | linux,keymap = < |
| 17 | 0x0000001c 0x0001001c 0x00040039 |
| 18 | 0x0005002c 0x00060015 0x0007000b |
| 19 | 0x0008000f 0x0100002d 0x01010011 |
| 20 | 0x0102002f 0x01030004 0x01040016 |
| 21 | 0x01050014 0x0106001f 0x01070002 |
| 22 | 0x010a006a 0x02000013 0x02010010 |
| 23 | 0x02020019 0x02030007 0x02040018 |
| 24 | 0x02050031 0x02060032 0x02070005 |
| 25 | 0x02080028 0x0209006c 0x03000026 |
| 26 | 0x03010025 0x03020024 0x0303000a |
| 27 | 0x03040017 0x03050023 0x03060022 |
| 28 | 0x03070008 0x03080035 0x03090069 |
| 29 | 0x04000021 0x04010012 0x04020020 |
| 30 | 0x0404002e 0x04050030 0x0406001e |
| 31 | 0x0407000d 0x04080037 0x04090067 |
| 32 | 0x05010038 0x0502000c 0x0503001b |
| 33 | 0x05040034 0x0505001a 0x05060006 |
| 34 | 0x05080027 0x0509000e 0x050a006f |
| 35 | 0x0600002b 0x0602004e 0x06030068 |
| 36 | 0x06040003 0x0605006d 0x06060009 |
| 37 | 0x06070001 0x0609000f 0x0708002a |
| 38 | 0x0709001d 0x070a0033 >; |
| 39 | }; |
| 40 | |
| 41 | / { |
| 42 | model = "TI-NSPIRE Touchpad"; |
| 43 | compatible = "ti,nspire-tp"; |
| 44 | }; |