xref: /freebsd/sys/contrib/device-tree/src/arm/ti/omap/am572x-idk-touchscreen.dtso (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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 = <&gpio3>;
22		interrupts = <14 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