Merge branch 'queue' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / stuib.dtsi
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
12 / {
13         soc-u9500 {
14                 i2c@80004000 {
15                         stmpe1601: stmpe1601@40 {
16                                 compatible = "st,stmpe1601";
17                                 reg = <0x40>;
18                                 interrupts = <26 0x2>;
19                                 interrupt-parent = <&gpio6>;
20                                 interrupt-controller;
21
22                                 wakeup-source;
23                                 st,autosleep-timeout = <1024>;
24
25                                 stmpe_keypad {
26                                         compatible = "st,stmpe-keypad";
27
28                                         debounce-interval = <64>;
29                                         st,scan-count = <8>;
30                                         st,no-autorepeat;
31
32                                         linux,keymap = <0x205006b
33                                                         0x4010074
34                                                         0x3050072
35                                                         0x1030004
36                                                         0x502006a
37                                                         0x500000a
38                                                         0x5008b
39                                                         0x706001c
40                                                         0x405000b
41                                                         0x6070003
42                                                         0x3040067
43                                                         0x303006c
44                                                         0x60400e7
45                                                         0x602009e
46                                                         0x4020073
47                                                         0x5050002
48                                                         0x4030069
49                                                         0x3020008>;
50                                 };
51                         };
52                 };
53
54                 i2c@80110000 {
55                         bu21013_tp@0x5c {
56                                 compatible = "rhom,bu21013_tp";
57                                 reg = <0x5c>;
58                                 touch-gpio = <&gpio2 20 0x4>;
59                                 avdd-supply = <&ab8500_ldo_aux1_reg>;
60
61                                 rhom,touch-max-x = <384>;
62                                 rhom,touch-max-y = <704>;
63                                 rhom,flip-y;
64                         };
65
66                         bu21013_tp@0x5d {
67                                 compatible = "rhom,bu21013_tp";
68                                 reg = <0x5d>;
69                                 touch-gpio = <&gpio2 20 0x4>;
70                                 avdd-supply = <&ab8500_ldo_aux1_reg>;
71
72                                 rhom,touch-max-x = <384>;
73                                 rhom,touch-max-y = <704>;
74                                 rhom,flip-y;
75                         };
76                 };
77         };
78 };