2 * Author: Anthoine Bourgeois <anthoine.bourgois@gmail.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include "omap3-devkit8000-common.dtsi"
18 compatible = "panel-dpi";
21 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
25 remote-endpoint = <&dpi_lcd_out>;
33 dpi_lcd_out: endpoint@1 {
34 remote-endpoint = <&lcd_in>;
41 regulator-min-microvolt = <1800000>;
42 regulator-max-microvolt = <1800000>;
47 /* touch controller */
49 compatible = "ti,ads7846";
53 spi-max-frequency = <1500000>;
55 interrupt-parent = <&gpio1>;
56 interrupts = <27 0>; /* gpio_27 */
57 pendown-gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;
59 ti,x-min = /bits/ 16 <0x0>;
60 ti,x-max = /bits/ 16 <0x0fff>;
61 ti,y-min = /bits/ 16 <0x0>;
62 ti,y-max = /bits/ 16 <0x0fff>;
63 ti,x-plate-ohms = /bits/ 16 <180>;
64 ti,pressure-max = /bits/ 16 <255>;
65 ti,debounce-max = /bits/ 16 <10>;
66 ti,debounce-tol = /bits/ 16 <5>;
67 ti,debounce-rep = /bits/ 16 <1>;
68 ti,keep-vref-on = <1>;
69 ti,settle-delay-usec = /bits/ 16 <150>;