2 * Copyright (C) 2016 Amarula Solutions B.V.
3 * Copyright (C) 2016 Engicam S.r.l.
5 * This file is dual-licensed: you can use it either under the terms
6 * of the GPL or the X11 license, at your option. Note that this dual
7 * licensing only applies to this file, and not this project as a
10 * a) This file is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * version 2 as published by the Free Software Foundation.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
44 stmpe811: gpio-expander@44 {
45 compatible = "st,stmpe811";
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_stmpe>;
51 interrupt-parent = <&gpio1>;
52 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
54 #interrupt-cells = <2>;
57 compatible = "st,stmpe-ts";
63 st,touch-det-delay = <2>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_lcdif_dat
75 display = <&display0>;
79 bits-per-pixel = <16>;
83 native-mode = <&timing0>;
85 clock-frequency = <28000000>;
97 pixelclk-active = <0>;
104 pinctrl_lcdif_ctrl: lcdifctrlgrp {
106 MX6UL_PAD_LCD_CLK__LCDIF_CLK 0x79
107 MX6UL_PAD_LCD_ENABLE__LCDIF_ENABLE 0x79
108 MX6UL_PAD_LCD_HSYNC__LCDIF_HSYNC 0x79
109 MX6UL_PAD_LCD_VSYNC__LCDIF_VSYNC 0x79
113 pinctrl_lcdif_dat: lcdifdatgrp {
115 MX6UL_PAD_LCD_DATA00__LCDIF_DATA00 0x79
116 MX6UL_PAD_LCD_DATA01__LCDIF_DATA01 0x79
117 MX6UL_PAD_LCD_DATA02__LCDIF_DATA02 0x79
118 MX6UL_PAD_LCD_DATA03__LCDIF_DATA03 0x79
119 MX6UL_PAD_LCD_DATA04__LCDIF_DATA04 0x79
120 MX6UL_PAD_LCD_DATA05__LCDIF_DATA05 0x79
121 MX6UL_PAD_LCD_DATA06__LCDIF_DATA06 0x79
122 MX6UL_PAD_LCD_DATA07__LCDIF_DATA07 0x79
123 MX6UL_PAD_LCD_DATA08__LCDIF_DATA08 0x79
124 MX6UL_PAD_LCD_DATA09__LCDIF_DATA09 0x79
125 MX6UL_PAD_LCD_DATA10__LCDIF_DATA10 0x79
126 MX6UL_PAD_LCD_DATA11__LCDIF_DATA11 0x79
127 MX6UL_PAD_LCD_DATA12__LCDIF_DATA12 0x79
128 MX6UL_PAD_LCD_DATA13__LCDIF_DATA13 0x79
129 MX6UL_PAD_LCD_DATA14__LCDIF_DATA14 0x79
130 MX6UL_PAD_LCD_DATA15__LCDIF_DATA15 0x79
131 MX6UL_PAD_LCD_DATA16__LCDIF_DATA16 0x79
132 MX6UL_PAD_LCD_DATA17__LCDIF_DATA17 0x79
136 pinctrl_stmpe: stmpegrp {
138 MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x1b0b0