2 * Copyright 2012 ST-Ericsson AB
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
11 * Device Tree for the TVK1281618 UIB
14 #include <dt-bindings/interrupt-controller/irq.h>
18 /* Add Synaptics touch screen, TC35893 keypad etc here */
21 compatible = "toshiba,tc35893";
23 interrupt-parent = <&gpio6>;
24 interrupts = <26 IRQ_TYPE_EDGE_RISING>;
25 pinctrl-names = "default";
26 pinctrl-0 = <&tc35893_tvk_mode>;
29 #interrupt-cells = <1>;
32 compatible = "toshiba,tc3589x-gpio";
36 #interrupt-cells = <2>;
41 compatible = "toshiba,tc3589x-keypad";
43 debounce-delay-ms = <4>;
44 keypad,num-columns = <8>;
45 keypad,num-rows = <8>;
48 linux,keymap = <0x0301006b
70 /* Pull up this GPIO pin */
72 tc35893_tvk_mode: tc35893_tvk {
74 ste,pins = "GPIO218_AH11";
75 ste,config = <&gpio_in_pu>;