mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
741a6c4c59
The BU21013 touchscreen GPIOs have been pretty confused, correct them per board, and move the GPIO assignments up to the top level DTS file so we can control it from there, and avoid defining the GPIO assignments for non-ST UIB equipped boards. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
35 lines
838 B
Plaintext
35 lines
838 B
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
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "ste-hrefprev60.dtsi"
|
|
#include "ste-href-stuib.dtsi"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF (pre-v60) and ST UIB";
|
|
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
|
|
|
soc {
|
|
/* Reset line for the BU21013 touchscreen */
|
|
i2c@80110000 {
|
|
/* Only one of these will be used */
|
|
bu21013_tp@5c {
|
|
touch-gpio = <&gpio2 12 0x4>;
|
|
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
|
};
|
|
bu21013_tp@5d {
|
|
touch-gpio = <&gpio2 12 0x4>;
|
|
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
|
};
|
|
};
|
|
};
|
|
};
|