Commit | Line | Data |
---|---|---|
6934e004 LJ |
1 | /* |
2 | * Copyright 2012 ST-Ericsson AB | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
90c40257 LW |
12 | #include <dt-bindings/interrupt-controller/irq.h> |
13 | ||
6934e004 | 14 | / { |
b1ba1439 | 15 | soc { |
cb552703 LJ |
16 | i2c@80004000 { |
17 | stmpe1601: stmpe1601@40 { | |
18 | compatible = "st,stmpe1601"; | |
19 | reg = <0x40>; | |
90c40257 | 20 | interrupts = <26 IRQ_TYPE_EDGE_FALLING>; |
cb552703 LJ |
21 | interrupt-parent = <&gpio6>; |
22 | interrupt-controller; | |
23 | ||
24 | wakeup-source; | |
25 | st,autosleep-timeout = <1024>; | |
09277819 LJ |
26 | |
27 | stmpe_keypad { | |
28 | compatible = "st,stmpe-keypad"; | |
29 | ||
30 | debounce-interval = <64>; | |
31 | st,scan-count = <8>; | |
32 | st,no-autorepeat; | |
33 | ||
34 | linux,keymap = <0x205006b | |
35 | 0x4010074 | |
36 | 0x3050072 | |
37 | 0x1030004 | |
38 | 0x502006a | |
39 | 0x500000a | |
40 | 0x5008b | |
41 | 0x706001c | |
42 | 0x405000b | |
43 | 0x6070003 | |
44 | 0x3040067 | |
45 | 0x303006c | |
46 | 0x60400e7 | |
47 | 0x602009e | |
48 | 0x4020073 | |
49 | 0x5050002 | |
50 | 0x4030069 | |
51 | 0x3020008>; | |
52 | }; | |
cb552703 LJ |
53 | }; |
54 | }; | |
55 | ||
cbebba7d | 56 | i2c@80110000 { |
d594224a | 57 | bu21013_tp@5c { |
28521368 | 58 | compatible = "rohm,bu21013_tp"; |
cbebba7d LJ |
59 | reg = <0x5c>; |
60 | touch-gpio = <&gpio2 20 0x4>; | |
61 | avdd-supply = <&ab8500_ldo_aux1_reg>; | |
62 | ||
28521368 LW |
63 | rohm,touch-max-x = <384>; |
64 | rohm,touch-max-y = <704>; | |
65 | rohm,flip-y; | |
cbebba7d LJ |
66 | }; |
67 | ||
d594224a | 68 | bu21013_tp@5d { |
28521368 | 69 | compatible = "rohm,bu21013_tp"; |
cbebba7d LJ |
70 | reg = <0x5d>; |
71 | touch-gpio = <&gpio2 20 0x4>; | |
72 | avdd-supply = <&ab8500_ldo_aux1_reg>; | |
73 | ||
28521368 LW |
74 | rohm,touch-max-x = <384>; |
75 | rohm,touch-max-y = <704>; | |
76 | rohm,flip-y; | |
cbebba7d LJ |
77 | }; |
78 | }; | |
6934e004 LJ |
79 | }; |
80 | }; |