blob: e8c11bbe64dba4806cc08c6854c1a7c308751e03 [file] [log] [blame]
Nagireddy Annemddcf98f2019-10-10 19:38:31 +05301/*
Venkata Prahlad Valluru5cc52bd2019-12-31 15:10:20 +05302 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
Nagireddy Annemddcf98f2019-10-10 19:38:31 +05303 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14/dts-v1/;
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053015/plugin/;
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053016
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053017#include "sdm429-spyro-qrd-evt.dtsi"
Chandrasekhar Mattaparthyefadb362020-04-16 10:47:30 +053018#include "sdm429-bg-soc.dtsi"
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053019
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053020/ {
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053021 model = "Qualcomm Technologies, Inc. SDA429 QRD BG WTP Overlay";
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053022 compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053023 qcom,msm-id = <437 0x0>;
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053024 qcom,board-id = <0x00010b 8>;
25 qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
26};
27
Archit Saxenac1cbe022020-05-01 18:43:22 +053028&modem_mem {
29 reg = <0x0 0x86800000 0x0 0x1F00000>;
30};
31
32&adsp_fw_mem {
33 reg = <0x0 0x88700000 0x0 0x1500000>;
34};
35
36&wcnss_fw_mem {
37 reg = <0x0 0x89c00000 0x0 0x700000>;
38};
39
Venkata Prahlad Valluru5cc52bd2019-12-31 15:10:20 +053040&mdss_dsi0 {
41 qcom,dsi-pref-prim-pan = <&dsi_auo_416p_amoled_cmd>;
42 /delete-property/ vdd-supply;
Venkata Prahlad Valluru98af96a2020-03-20 20:59:42 +053043 pinctrl-names = "mdss_default", "mdss_sleep";
44 pinctrl-0 = <&mdss_te_active>;
45 pinctrl-1 = <&mdss_te_suspend>;
Venkata Prahlad Valluru5cc52bd2019-12-31 15:10:20 +053046 vddio-supply = <&L11A>;
47 qcom,platform-enable-gpio = <&pm660_gpios 12 0>;
48};
49
50&dsi_pm660_panel_pwr_supply {
51 /delete-node/ qcom,panel-supply-entry@0;
52};
53
Venkata Prahlad Valluruc5548312019-12-31 15:34:31 +053054&i2c_4 {
55 status = "ok";
56 tsc@24 {
57 status = "disabled";
58 };
59
60 raydium_ts@39 {
61 compatible = "raydium,raydium-ts";
62 reg = <0x39>;
63 interrupt-parent = <&tlmm>;
64 interrupts = <13 0x2008>;
65 vdd_ana-supply = <&pm660_l11>;
66 vcc_i2c-supply = <&pm660_l13>;
67 pinctrl-names = "pmx_ts_active","pmx_ts_suspend",
68 "pmx_ts_release";
69 pinctrl-0 = <&ts_int_active &ts_reset_active>;
70 pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
71 pinctrl-2 = <&ts_release>;
72 raydium,reset-gpio = <&tlmm 64 0x00>;
73 raydium,irq-gpio = <&tlmm 65 0x00>;
74 raydium,num-max-touches = <2>;
75 raydium,soft-reset-delay-ms = <50>;
76 raydium,hard-reset-delay-ms = <100>;
77 raydium,x_max = <416>;
78 raydium,y_max = <416>;
79 raydium,display-coords= <0 0 416 416>;
80 raydium,fw_id = <0x2202>;
81 };
82};
83
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053084&usb_otg {
85 HSUSB_3p3-supply = <&L16A>;
86};
87
88&msm_dig_codec {
89 cdc-vdd-digital-supply = <&pm660_l11>;
90};
91
92&ext_smart_pa {
93 dvdd-supply = <&pm660_l11>;
94};
95
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053096&firmware {
97 android {
98 fstab {
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053099 system {
100 status = "disabled";
101 };
Nagireddy Annemddcf98f2019-10-10 19:38:31 +0530102 };
103 };
104};
Chandrasekhar Mattaparthy139ab5c2020-02-26 19:25:33 +0530105
106&msm_gpu {
107 qcom,initial-pwrlevel = <0>;
108 qcom,gpu-pwrlevels {
109 qcom,gpu-pwrlevel@0 {
Chandrasekhar Mattaparthy89ecbb42020-03-24 10:58:01 +0530110 reg = <0>;
Chandrasekhar Mattaparthy139ab5c2020-02-26 19:25:33 +0530111 qcom,gpu-freq = <320000000>;
112 qcom,bus-freq = <2>;
113 qcom,bus-min = <2>;
114 qcom,bus-max = <2>;
115 };
116 qcom,gpu-pwrlevel@1{
117 reg = <1>;
118 qcom,gpu-freq = <19200000>;
119 qcom,bus-freq = <0>;
120 qcom,bus-min = <0>;
121 qcom,bus-max = <0>;
122 };
123 };
124};
125
126&msm_cpufreq {
127 qcom,cpufreq-table =
128 < 960000 >,
129 < 1305600 >,
130 < 1497600 >,
131 < 1708800 >;
132};
133
134&cpubw {
135 qcom,bw-tbl =
Chandrasekhar Mattaparthy139ab5c2020-02-26 19:25:33 +0530136 < 1611 /* 211.2 MHz */ >, /*Low SVS*/
Chandrasekhar Mattaparthy139ab5c2020-02-26 19:25:33 +0530137 < 2929 /* 384 MHz */ >, /* SVS */
Chandrasekhar Mattaparthy139ab5c2020-02-26 19:25:33 +0530138 < 5053 /* 662.4 MHz */ >, /* SVS+ */
139 < 5712 /* 748.8 MHz */ >; /* NOM */
140};