rk312x: add TP at dts
authorxjh <xujh@rock-chips.com>
Wed, 30 Jul 2014 00:43:23 +0000 (08:43 +0800)
committerxjh <xujh@rock-chips.com>
Wed, 30 Jul 2014 00:44:12 +0000 (08:44 +0800)
arch/arm/boot/dts/rk3126-sdk.dts

index bf39a1604635cf092bc9ecfe0a733cd17f55912a..9a3eff802c7a0a4be4e6785680a270e02fd4decb 100755 (executable)
                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 = <ONE_DUAL>;