xref: /linux/arch/arm/boot/dts/ti/omap/am571x-idk-touchscreen.dtso (revision bfb921b2a9d5d1123d1d10b196a39db629ddef87)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019-2022 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7/plugin/;
8
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
12&i2c1 {
13	#address-cells = <1>;
14	#size-cells = <0>;
15
16	touchscreen: edt-ft5506@38 {
17		compatible = "edt,edt-ft5506", "edt,edt-ft5x06";
18
19		reg = <0x38>;
20
21		interrupt-parent = <&gpio5>;
22		interrupts = <6 IRQ_TYPE_EDGE_FALLING>;
23
24		/* GPIO line is inverted before going to touch panel */
25		reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
26
27		touchscreen-size-x = <1920>;
28		touchscreen-size-y = <1200>;
29
30		wakeup-source;
31	};
32};
33