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