1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
4 #include "msm8998.dtsi"
6 #include "pmi8998.dtsi"
11 serial0 = &blsp2_uart1;
15 stdout-path = "serial0:115200n8";
18 vph_pwr: vph-pwr-regulator {
19 compatible = "regulator-fixed";
20 regulator-name = "vph_pwr";
32 compatible = "qcom,pm8005-regulators";
34 vdd_s1-supply = <&vph_pwr>;
36 pm8005_s1: s1 { /* VDD_GFX supply */
37 regulator-min-microvolt = <524000>;
38 regulator-max-microvolt = <1100000>;
39 regulator-enable-ramp-delay = <500>;
41 /* hack until we rig up the gpu consumer */
50 vdda-pll-supply = <&vreg_l12a_1p8>;
51 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
56 compatible = "qcom,rpm-pm8998-regulators";
58 vdd_s1-supply = <&vph_pwr>;
59 vdd_s2-supply = <&vph_pwr>;
60 vdd_s3-supply = <&vph_pwr>;
61 vdd_s4-supply = <&vph_pwr>;
62 vdd_s5-supply = <&vph_pwr>;
63 vdd_s6-supply = <&vph_pwr>;
64 vdd_s7-supply = <&vph_pwr>;
65 vdd_s8-supply = <&vph_pwr>;
66 vdd_s9-supply = <&vph_pwr>;
67 vdd_s10-supply = <&vph_pwr>;
68 vdd_s11-supply = <&vph_pwr>;
69 vdd_s12-supply = <&vph_pwr>;
70 vdd_s13-supply = <&vph_pwr>;
71 vdd_l1_l27-supply = <&vreg_s7a_1p025>;
72 vdd_l2_l8_l17-supply = <&vreg_s3a_1p35>;
73 vdd_l3_l11-supply = <&vreg_s7a_1p025>;
74 vdd_l4_l5-supply = <&vreg_s7a_1p025>;
75 vdd_l6-supply = <&vreg_s5a_2p04>;
76 vdd_l7_l12_l14_l15-supply = <&vreg_s5a_2p04>;
77 vdd_l9-supply = <&vreg_bob>;
78 vdd_l10_l23_l25-supply = <&vreg_bob>;
79 vdd_l13_l19_l21-supply = <&vreg_bob>;
80 vdd_l16_l28-supply = <&vreg_bob>;
81 vdd_l18_l22-supply = <&vreg_bob>;
82 vdd_l20_l24-supply = <&vreg_bob>;
83 vdd_l26-supply = <&vreg_s3a_1p35>;
84 vdd_lvs1_lvs2-supply = <&vreg_s4a_1p8>;
87 regulator-min-microvolt = <1352000>;
88 regulator-max-microvolt = <1352000>;
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <1800000>;
93 regulator-allow-set-load;
96 regulator-min-microvolt = <1904000>;
97 regulator-max-microvolt = <2040000>;
100 regulator-min-microvolt = <900000>;
101 regulator-max-microvolt = <1028000>;
104 regulator-min-microvolt = <880000>;
105 regulator-max-microvolt = <880000>;
108 regulator-min-microvolt = <1200000>;
109 regulator-max-microvolt = <1200000>;
112 regulator-min-microvolt = <1000000>;
113 regulator-max-microvolt = <1000000>;
116 regulator-min-microvolt = <800000>;
117 regulator-max-microvolt = <800000>;
120 regulator-min-microvolt = <1808000>;
121 regulator-max-microvolt = <1808000>;
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
128 regulator-min-microvolt = <1200000>;
129 regulator-max-microvolt = <1200000>;
132 regulator-min-microvolt = <1808000>;
133 regulator-max-microvolt = <2960000>;
136 regulator-min-microvolt = <1808000>;
137 regulator-max-microvolt = <2960000>;
140 regulator-min-microvolt = <1000000>;
141 regulator-max-microvolt = <1000000>;
144 regulator-min-microvolt = <1800000>;
145 regulator-max-microvolt = <1800000>;
147 vreg_l13a_2p95: l13 {
148 regulator-min-microvolt = <1808000>;
149 regulator-max-microvolt = <2960000>;
151 vreg_l14a_1p88: l14 {
152 regulator-min-microvolt = <1880000>;
153 regulator-max-microvolt = <1880000>;
156 regulator-min-microvolt = <1800000>;
157 regulator-max-microvolt = <1800000>;
160 regulator-min-microvolt = <2704000>;
161 regulator-max-microvolt = <2704000>;
164 regulator-min-microvolt = <1304000>;
165 regulator-max-microvolt = <1304000>;
168 regulator-min-microvolt = <2704000>;
169 regulator-max-microvolt = <2704000>;
172 regulator-min-microvolt = <3008000>;
173 regulator-max-microvolt = <3008000>;
175 vreg_l20a_2p95: l20 {
176 regulator-min-microvolt = <2960000>;
177 regulator-max-microvolt = <2960000>;
178 regulator-allow-set-load;
180 vreg_l21a_2p95: l21 {
181 regulator-min-microvolt = <2960000>;
182 regulator-max-microvolt = <2960000>;
183 regulator-allow-set-load;
184 regulator-system-load = <800000>;
186 vreg_l22a_2p85: l22 {
187 regulator-min-microvolt = <2864000>;
188 regulator-max-microvolt = <2864000>;
191 regulator-min-microvolt = <3312000>;
192 regulator-max-microvolt = <3312000>;
194 vreg_l24a_3p075: l24 {
195 regulator-min-microvolt = <3088000>;
196 regulator-max-microvolt = <3088000>;
199 regulator-min-microvolt = <3104000>;
200 regulator-max-microvolt = <3312000>;
203 regulator-min-microvolt = <1200000>;
204 regulator-max-microvolt = <1200000>;
205 regulator-allow-set-load;
208 regulator-min-microvolt = <3008000>;
209 regulator-max-microvolt = <3008000>;
212 vreg_lvs1a_1p8: lvs1 {
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
217 vreg_lvs2a_1p8: lvs2 {
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
225 compatible = "qcom,rpm-pmi8998-regulators";
227 vdd_bob-supply = <&vph_pwr>;
230 regulator-min-microvolt = <3312000>;
231 regulator-max-microvolt = <3600000>;
237 gpio-reserved-ranges = <0 4>, <81 4>;
242 cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>;
244 vmmc-supply = <&vreg_l21a_2p95>;
245 vqmmc-supply = <&vreg_l13a_2p95>;
247 pinctrl-names = "default", "sleep";
248 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
249 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
253 vcc-supply = <&vreg_l20a_2p95>;
254 vccq-supply = <&vreg_l26a_1p2>;
255 vccq2-supply = <&vreg_s4a_1p8>;
256 vcc-max-microamp = <750000>;
257 vccq-max-microamp = <560000>;
258 vccq2-max-microamp = <750000>;
262 vdda-phy-supply = <&vreg_l1a_0p875>;
263 vdda-pll-supply = <&vreg_l2a_1p2>;
264 vddp-ref-clk-supply = <&vreg_l26a_1p2>;
265 vdda-phy-max-microamp = <51400>;
266 vdda-pll-max-microamp = <14600>;
267 vddp-ref-clk-max-microamp = <100>;
268 vddp-ref-clk-always-on;
276 dr_mode = "host"; /* Force to host until we have Type-C hooked up */
282 vdda-phy-supply = <&vreg_l1a_0p875>;
283 vdda-pll-supply = <&vreg_l2a_1p2>;