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