blob: 4a3bde01a994f2e1ba5f6645a5c4379b6d4ec2d9 [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"
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053018
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053019/ {
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053020 model = "Qualcomm Technologies, Inc. SDA429 QRD BG WTP Overlay";
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053021 compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +053022 qcom,msm-id = <437 0x0>;
Nagireddy Annemddcf98f2019-10-10 19:38:31 +053023 qcom,board-id = <0x00010b 8>;
24 qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
25};
26
Ajit Kumar21a3d4152019-11-26 16:37:45 +053027&soc {
28
29 qcom,blackghost {
30 compatible = "qcom,pil-blackghost";
31 qcom,pil-force-shutdown;
32 qcom,firmware-name = "bg-wear";
33 /* GPIO inputs from blackghost */
Ajit Kumar77308932019-12-17 14:35:45 +053034 qcom,bg2ap-status-gpio = <&tlmm 44 0>;
35 qcom,bg2ap-errfatal-gpio = <&tlmm 72 0>;
Ajit Kumar21a3d4152019-11-26 16:37:45 +053036 /* GPIO output to blackghost */
Ajit Kumar77308932019-12-17 14:35:45 +053037 qcom,ap2bg-status-gpio = <&tlmm 61 0>;
38 qcom,ap2bg-errfatal-gpio = <&tlmm 62 0>;
Ajit Kumar21a3d4152019-11-26 16:37:45 +053039 };
40
41 qcom,msm-ssc-sensors {
42 compatible = "qcom,msm-ssc-sensors";
43 };
44
45 qcom,glink-bgcom-xprt-bg {
46 compatible = "qcom,glink-bgcom-xprt";
47 label = "bg";
48 qcom,qos-config = <&glink_qos_bg>;
49 qcom,ramp-time = <0x10>,
50 <0x20>,
51 <0x30>,
52 <0x40>;
53 };
54
55 glink_qos_bg: qcom,glink-qos-config-bg {
56 compatible = "qcom,glink-qos-config";
57 qcom,flow-info = <0x80 0x0>,
58 <0x70 0x1>,
59 <0x60 0x2>,
60 <0x50 0x3>;
61 qcom,mtu-size = <0x800>;
62 qcom,tput-stats-cycle = <0xa>;
63 };
64
65 qcom,glink_pkt {
66 compatible = "qcom,glinkpkt";
67
68 qcom,glinkpkt-bg-daemon {
69 qcom,glinkpkt-transport = "bgcom";
70 qcom,glinkpkt-edge = "bg";
71 qcom,glinkpkt-ch-name = "bg-daemon";
72 qcom,glinkpkt-dev-name = "glink_pkt_bg_daemon";
73 };
74
75 qcom,glinkpkt-bg-display-ctrl {
76 qcom,glinkpkt-transport = "bgcom";
77 qcom,glinkpkt-edge = "bg";
78 qcom,glinkpkt-ch-name = "display-ctrl";
79 qcom,glinkpkt-dev-name = "glink_pkt_bg_display_ctrl";
80 };
81
82 qcom,glinkpkt-bg-display-data {
83 qcom,glinkpkt-transport = "bgcom";
84 qcom,glinkpkt-edge = "bg";
85 qcom,glinkpkt-ch-name = "display-data";
86 qcom,glinkpkt-dev-name = "glink_pkt_bg_display_data";
87 };
88
89 qcom,glinkpkt-bg-rsb-ctrl {
90 qcom,glinkpkt-transport = "bgcom";
91 qcom,glinkpkt-edge = "bg";
92 qcom,glinkpkt-ch-name = "RSB_CTRL";
93 qcom,glinkpkt-dev-name = "glink_pkt_bg_rsb_ctrl";
94 };
95
96 qcom,glinkpkt-bg-sso-ctrl {
97 qcom,glinkpkt-transport = "bgcom";
98 qcom,glinkpkt-edge = "bg";
99 qcom,glinkpkt-ch-name = "sso-ctrl";
100 qcom,glinkpkt-dev-name = "glink_pkt_bg_sso_ctrl";
101 };
102
103 qcom,glinkpkt-bg-buzzer-ctrl {
104 qcom,glinkpkt-transport = "bgcom";
105 qcom,glinkpkt-edge = "bg";
106 qcom,glinkpkt-ch-name = "buzzer-ctrl";
107 qcom,glinkpkt-dev-name = "glink_pkt_bg_buzzer_ctrl";
108 };
109 };
110
Ajit Kumar77308932019-12-17 14:35:45 +0530111 spi_3: spi@78b7000 { /* BLSP1 QUP3*/
Ajit Kumar21a3d4152019-11-26 16:37:45 +0530112 status = "ok";
113 qcom,bg-spi {
114 compatible = "qcom,bg-spi";
115 reg = <0>;
116 spi-max-frequency = <16000000>;
Ajit Kumar77308932019-12-17 14:35:45 +0530117 interrupt-parent = <&tlmm>;
118 qcom,irq-gpio = <&tlmm 43 1>;
Ajit Kumar21a3d4152019-11-26 16:37:45 +0530119 };
120 };
121
Ajit Kumar77308932019-12-17 14:35:45 +0530122 i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */
123 status = "disabled";
124 };
125
Ajit Kumar21a3d4152019-11-26 16:37:45 +0530126 qcom,bg-rsb {
127 compatible = "qcom,bg-rsb";
128 vdd-ldo1-supply = <&pm660_l11>;
Chandrasekhar Mattaparthy5ae3bba2020-01-13 18:47:54 +0530129 qcom,bg-rsb-gpio = <&tlmm 40 1>;
130 qcom,rsb-use-msm-gpio;
Ajit Kumar21a3d4152019-11-26 16:37:45 +0530131 };
132
133 qcom,bg-daemon {
134 compatible = "qcom,bg-daemon";
135 qcom,bg-reset-gpio = <&pm660_gpios 5 0>;
136 ssr-reg1-supply = <&pm660_l3>;
137 ssr-reg2-supply = <&pm660_l9>;
138 };
139};
140
Venkata Prahlad Valluru5cc52bd2019-12-31 15:10:20 +0530141&mdss_dsi0 {
142 qcom,dsi-pref-prim-pan = <&dsi_auo_416p_amoled_cmd>;
143 /delete-property/ vdd-supply;
144 vddio-supply = <&L11A>;
145 qcom,platform-enable-gpio = <&pm660_gpios 12 0>;
146};
147
148&dsi_pm660_panel_pwr_supply {
149 /delete-node/ qcom,panel-supply-entry@0;
150};
151
Nagireddy Annemddcf98f2019-10-10 19:38:31 +0530152&usb_otg {
153 HSUSB_3p3-supply = <&L16A>;
154};
155
156&msm_dig_codec {
157 cdc-vdd-digital-supply = <&pm660_l11>;
158};
159
160&ext_smart_pa {
161 dvdd-supply = <&pm660_l11>;
162};
163
Nagireddy Annemddcf98f2019-10-10 19:38:31 +0530164&firmware {
165 android {
166 fstab {
Avaneesh Kumar Dwivedi70212fe2019-11-05 15:03:19 +0530167 system {
168 status = "disabled";
169 };
Nagireddy Annemddcf98f2019-10-10 19:38:31 +0530170 };
171 };
172};