ARM: dts: rockchip: add touchscreen node to veyron minnie
authorHeiko Stuebner <heiko.stuebner@collabora.com>
Wed, 2 Dec 2015 18:00:02 +0000 (19:00 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 3 Dec 2015 15:55:43 +0000 (16:55 +0100)
Minnie provides an elan,ekth3500 touchscreen over the display,
so add the necessary node to enable it.

Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com>
arch/arm/boot/dts/rk3288-veyron-minnie.dts

index 8fd8ef2c72dae55de1a1fa6004be38928b6f660f..e999df74c19ad39ae4de3d2cd97246f07432518d 100644 (file)
        clock-frequency = <400000>;
        i2c-scl-falling-time-ns = <50>;
        i2c-scl-rising-time-ns = <300>;
+
+       touchscreen@10 {
+               compatible = "elan,ekth3500";
+               reg = <0x10>;
+               interrupt-parent = <&gpio2>;
+               interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&touch_int &touch_rst>;
+               reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
+               vcc33-supply = <&vcc33_touch>;
+               vccio-supply = <&vcc33_touch>;
+       };
 };
 
 &rk808 {