diff options
author | Oleksij Rempel <[email protected]> | 2021-05-18 10:28:42 +0200 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2021-06-08 19:48:39 +0800 |
commit | e1428350340d426a61df927432c8bcc2812425ac (patch) | |
tree | 96c4b08c4505f876ebf3c0d92380909f21912113 | |
parent | 1c147690231b65a1e56840453cc8e2f92950e076 (diff) |
ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node
Add touchscreen support to the Protonic VT7 board.
Co-Developed-by: Robin van der Gracht <[email protected]>
Signed-off-by: Robin van der Gracht <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/imx6dl-prtvt7.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts index ae6da241f13e..428ed9f6bc17 100644 --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts @@ -223,6 +223,21 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi2>; status = "okay"; + + touchscreen@0 { + compatible = "ti,tsc2046"; + reg = <0>; + pinctrl-0 = <&pinctrl_tsc>; + pinctrl-names ="default"; + spi-max-frequency = <100000>; + interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>; + pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>; + touchscreen-max-pressure = <4095>; + ti,vref-delay-usecs = /bits/ 16 <100>; + ti,x-plate-ohms = /bits/ 16 <800>; + ti,y-plate-ohms = /bits/ 16 <300>; + wakeup-source; + }; }; &i2c1 { |