blob: 754cecabea621e6b7d8c18a84d4fc4861baa7577 [file] [log] [blame]
/*
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/dts-v1/;
#include "msm8909-mtp.dtsi"
#include "msm8909w-gpu.dtsi"
#include "msm8909-pm8916.dtsi"
#include "msm8909-pm8916-mtp.dtsi"
#include "msm8909w.dtsi"
#include "msm8909w-memory.dtsi"
/ {
model = "Qualcomm Technologies, Inc. MSM8909W-PM8916 1GB MTP";
compatible = "qcom,msm8909-mtp", "qcom,msm8909", "qcom,mtp";
qcom,msm-id = <245 0>,
<258 0>,
<275 0>,
<300 0>;
qcom,board-id= <8 0x5>;
};
&soc {
i2c@78b9000 { /* BLSP1 QUP5 */
synaptics@20 {
synaptics,display-coords = <0 0 479 479>;
/delete-property/ synaptics,power-down;
/delete-property/ synaptics,disable-gpios;
synaptics,is_wake;
};
it7260@46 {
compatible = "ite,it7260_ts";
reg = <0x46>;
interrupt-parent = <&msm_gpio>;
interrupts = <13 0x2008>;
avdd-supply = <&pm8916_l17>;
vdd-supply = <&pm8916_l6>;
/* pins used by touchscreen */
pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
pinctrl-0 = <&ts_int_active &ts_ite_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_ite_reset_suspend>;
pinctrl-2 = <&ts_release>;
ite,reset-gpio = <&msm_gpio 12 0x00>;
ite,irq-gpio = <&msm_gpio 13 0x2008>;
ite,panel-coords = <0 0 320 320>;
ite,display-coords = <0 0 320 320>;
ite,reset-delay = <20>;
ite,num-fingers = <2>;
ite,wakeup;
ite,palm-detect-en;
ite,palm-detect-keycode = <142>;
ite,fw-name = "it7260_fw_050D0014.bin";
ite,cfg-name = "it7260_cfg_62011E01.bin";
ite,avdd-lpm-cur = <3000>;
};
};
qcom,msm-ssc-sensors {
compatible = "qcom,msm-ssc-sensors";
};
};
&i2c_1 {
status = "disabled";
};
&spi_0 {
status = "disabled";
};
&i2c_3 {
status = "disabled";
};
&blsp1_uart1 {
status = "ok";
pinctrl-names = "default";
pinctrl-0 = <&uart_console_sleep>;
};