arm64: dts: qcom: msm8916-samsung-a3u: add nodes for touchscreen
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / qcom / msm8916-samsung-a3u-eur.dts
index 086f07e..661f41a 100644 (file)
                       "0", "0", "1";
 };
 
+&blsp_i2c5 {
+       status = "okay";
+
+       touchscreen@20 {
+               compatible = "zinitix,bt541";
+
+               reg = <0x20>;
+               interrupt-parent = <&msmgpio>;
+               interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
+
+               touchscreen-size-x = <540>;
+               touchscreen-size-y = <960>;
+
+               vdd-supply = <&reg_vdd_tsp>;
+               vddo-supply = <&pm8916_l6>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&ts_int_default>;
+       };
+};
+
 &dsi0 {
        panel@0 {
                reg = <0>;
                drive-strength = <2>;
                bias-disable;
        };
+
+       ts_int_default: ts-int-default {
+               pins = "gpio13";
+               function = "gpio";
+
+               drive-strength = <2>;
+               bias-disable;
+       };
 };