0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Author: Anthoine Bourgeois <anthoine.bourgois@gmail.com>
0004 */
0005
0006 #include "omap3-devkit8000-common.dtsi"
0007 / {
0008 aliases {
0009 display0 = &lcd0;
0010 display1 = &dvi0;
0011 display2 = &tv0;
0012 };
0013
0014 lcd0: display {
0015 compatible = "panel-dpi";
0016 label = "lcd";
0017
0018 enable-gpios = <&twl_gpio 18 GPIO_ACTIVE_HIGH>;
0019
0020 port {
0021 lcd_in: endpoint {
0022 remote-endpoint = <&dpi_lcd_out>;
0023 };
0024 };
0025 };
0026 };
0027
0028 &dss {
0029 port {
0030 #address-cells = <1>;
0031 #size-cells = <0>;
0032 dpi_lcd_out: endpoint@1 {
0033 reg = <1>;
0034 remote-endpoint = <&lcd_in>;
0035 data-lines = <24>;
0036 };
0037 };
0038 };
0039
0040 &vio {
0041 regulator-min-microvolt = <1800000>;
0042 regulator-max-microvolt = <1800000>;
0043 };
0044
0045 &mcspi2 {
0046
0047 /* touch controller */
0048 ads7846@0 {
0049 compatible = "ti,ads7846";
0050 vcc-supply = <&vio>;
0051
0052 reg = <0>; /* CS0 */
0053 spi-max-frequency = <1500000>;
0054
0055 interrupt-parent = <&gpio1>;
0056 interrupts = <27 0>; /* gpio_27 */
0057 pendown-gpio = <&gpio1 27 GPIO_ACTIVE_HIGH>;
0058
0059 ti,x-min = /bits/ 16 <0x0>;
0060 ti,x-max = /bits/ 16 <0x0fff>;
0061 ti,y-min = /bits/ 16 <0x0>;
0062 ti,y-max = /bits/ 16 <0x0fff>;
0063 ti,x-plate-ohms = /bits/ 16 <180>;
0064 ti,pressure-max = /bits/ 16 <255>;
0065 ti,debounce-max = /bits/ 16 <10>;
0066 ti,debounce-tol = /bits/ 16 <5>;
0067 ti,debounce-rep = /bits/ 16 <1>;
0068 ti,keep-vref-on = <1>;
0069 ti,settle-delay-usec = /bits/ 16 <150>;
0070
0071 wakeup-source;
0072 };
0073 };