From c68a6a11dbcec9c949a10da37c0d8f6acedfc120 Mon Sep 17 00:00:00 2001 From: xjh Date: Wed, 30 Jul 2014 08:43:23 +0800 Subject: [PATCH] rk312x: add TP at dts --- arch/arm/boot/dts/rk3126-sdk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3126-sdk.dts b/arch/arm/boot/dts/rk3126-sdk.dts index bf39a1604635..9a3eff802c7a 100755 --- a/arch/arm/boot/dts/rk3126-sdk.dts +++ b/arch/arm/boot/dts/rk3126-sdk.dts @@ -71,6 +71,17 @@ status = "okay"; }; }; +&i2c2 { + status = "okay"; + ts@01 { + compatible = "ct,vtl_ts"; + reg = <0x01>; + screen_max_x = <1280>; + screen_max_y = <800>; + irq_gpio_number = <&gpio1 GPIO_B0 IRQ_TYPE_LEVEL_LOW>; + rst_gpio_number = <&gpio2 GPIO_C1 GPIO_ACTIVE_HIGH>; + }; +}; &fb { rockchip,disp-mode = ; -- 2.34.1