Here we apply the STMPE Multi-Functional Device's node to the ST User Interface Board Device Tree file. It includes all of the properties required for correct device initialsation. Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright 2012 ST-Ericsson AB
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
/ {
|
|
soc-u9500 {
|
|
i2c@80004000 {
|
|
stmpe1601: stmpe1601@40 {
|
|
compatible = "st,stmpe1601";
|
|
reg = <0x40>;
|
|
interrupts = <26 0x4>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupt-controller;
|
|
|
|
wakeup-source;
|
|
st,autosleep-timeout = <1024>;
|
|
};
|
|
};
|
|
|
|
i2c@80110000 {
|
|
bu21013_tp@0x5c {
|
|
compatible = "rhom,bu21013_tp";
|
|
reg = <0x5c>;
|
|
touch-gpio = <&gpio2 20 0x4>;
|
|
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
|
|
|
rhom,touch-max-x = <384>;
|
|
rhom,touch-max-y = <704>;
|
|
rhom,flip-y;
|
|
};
|
|
|
|
bu21013_tp@0x5d {
|
|
compatible = "rhom,bu21013_tp";
|
|
reg = <0x5d>;
|
|
touch-gpio = <&gpio2 20 0x4>;
|
|
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
|
|
|
rhom,touch-max-x = <384>;
|
|
rhom,touch-max-y = <704>;
|
|
rhom,flip-y;
|
|
};
|
|
};
|
|
};
|
|
};
|