staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / arm64 / boot / dts / qcom / msm8998-mtp.dtsi
blob108667ce4f319e74f5f12592a0575ac7e054a124
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
4 #include "msm8998.dtsi"
5 #include "pm8998.dtsi"
6 #include "pmi8998.dtsi"
7 #include "pm8005.dtsi"
9 / {
10         aliases {
11                 serial0 = &blsp2_uart1;
12         };
14         chosen {
15                 stdout-path = "serial0:115200n8";
16         };
18         vph_pwr: vph-pwr-regulator {
19                 compatible = "regulator-fixed";
20                 regulator-name = "vph_pwr";
21                 regulator-always-on;
22                 regulator-boot-on;
23         };
26 &blsp2_uart1 {
27         status = "okay";
30 &pm8005_lsid1 {
31         pm8005-regulators {
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 */
42                         regulator-always-on;
43                 };
44         };
47 &qusb2phy {
48         status = "okay";
50         vdda-pll-supply = <&vreg_l12a_1p8>;
51         vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
54 &rpm_requests {
55         pm8998-regulators {
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>;
86                 vreg_s3a_1p35: s3 {
87                         regulator-min-microvolt = <1352000>;
88                         regulator-max-microvolt = <1352000>;
89                 };
90                 vreg_s4a_1p8: s4 {
91                         regulator-min-microvolt = <1800000>;
92                         regulator-max-microvolt = <1800000>;
93                         regulator-allow-set-load;
94                 };
95                 vreg_s5a_2p04: s5 {
96                         regulator-min-microvolt = <1904000>;
97                         regulator-max-microvolt = <2040000>;
98                 };
99                 vreg_s7a_1p025: s7 {
100                         regulator-min-microvolt = <900000>;
101                         regulator-max-microvolt = <1028000>;
102                 };
103                 vreg_l1a_0p875: l1 {
104                         regulator-min-microvolt = <880000>;
105                         regulator-max-microvolt = <880000>;
106                 };
107                 vreg_l2a_1p2: l2 {
108                         regulator-min-microvolt = <1200000>;
109                         regulator-max-microvolt = <1200000>;
110                 };
111                 vreg_l3a_1p0: l3 {
112                         regulator-min-microvolt = <1000000>;
113                         regulator-max-microvolt = <1000000>;
114                 };
115                 vreg_l5a_0p8: l5 {
116                         regulator-min-microvolt = <800000>;
117                         regulator-max-microvolt = <800000>;
118                 };
119                 vreg_l6a_1p8: l6 {
120                         regulator-min-microvolt = <1808000>;
121                         regulator-max-microvolt = <1808000>;
122                 };
123                 vreg_l7a_1p8: l7 {
124                         regulator-min-microvolt = <1800000>;
125                         regulator-max-microvolt = <1800000>;
126                 };
127                 vreg_l8a_1p2: l8 {
128                         regulator-min-microvolt = <1200000>;
129                         regulator-max-microvolt = <1200000>;
130                 };
131                 vreg_l9a_1p8: l9 {
132                         regulator-min-microvolt = <1808000>;
133                         regulator-max-microvolt = <2960000>;
134                 };
135                 vreg_l10a_1p8: l10 {
136                         regulator-min-microvolt = <1808000>;
137                         regulator-max-microvolt = <2960000>;
138                 };
139                 vreg_l11a_1p0: l11 {
140                         regulator-min-microvolt = <1000000>;
141                         regulator-max-microvolt = <1000000>;
142                 };
143                 vreg_l12a_1p8: l12 {
144                         regulator-min-microvolt = <1800000>;
145                         regulator-max-microvolt = <1800000>;
146                 };
147                 vreg_l13a_2p95: l13 {
148                         regulator-min-microvolt = <1808000>;
149                         regulator-max-microvolt = <2960000>;
150                 };
151                 vreg_l14a_1p88: l14 {
152                         regulator-min-microvolt = <1880000>;
153                         regulator-max-microvolt = <1880000>;
154                 };
155                 vreg_15a_1p8: l15 {
156                         regulator-min-microvolt = <1800000>;
157                         regulator-max-microvolt = <1800000>;
158                 };
159                 vreg_l16a_2p7: l16 {
160                         regulator-min-microvolt = <2704000>;
161                         regulator-max-microvolt = <2704000>;
162                 };
163                 vreg_l17a_1p3: l17 {
164                         regulator-min-microvolt = <1304000>;
165                         regulator-max-microvolt = <1304000>;
166                 };
167                 vreg_l18a_2p7: l18 {
168                         regulator-min-microvolt = <2704000>;
169                         regulator-max-microvolt = <2704000>;
170                 };
171                 vreg_l19a_3p0: l19 {
172                         regulator-min-microvolt = <3008000>;
173                         regulator-max-microvolt = <3008000>;
174                 };
175                 vreg_l20a_2p95: l20 {
176                         regulator-min-microvolt = <2960000>;
177                         regulator-max-microvolt = <2960000>;
178                         regulator-allow-set-load;
179                 };
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>;
185                 };
186                 vreg_l22a_2p85: l22 {
187                         regulator-min-microvolt = <2864000>;
188                         regulator-max-microvolt = <2864000>;
189                 };
190                 vreg_l23a_3p3: l23 {
191                         regulator-min-microvolt = <3312000>;
192                         regulator-max-microvolt = <3312000>;
193                 };
194                 vreg_l24a_3p075: l24 {
195                         regulator-min-microvolt = <3088000>;
196                         regulator-max-microvolt = <3088000>;
197                 };
198                 vreg_l25a_3p3: l25 {
199                         regulator-min-microvolt = <3104000>;
200                         regulator-max-microvolt = <3312000>;
201                 };
202                 vreg_l26a_1p2: l26 {
203                         regulator-min-microvolt = <1200000>;
204                         regulator-max-microvolt = <1200000>;
205                         regulator-allow-set-load;
206                 };
207                 vreg_l28_3p0: l28 {
208                         regulator-min-microvolt = <3008000>;
209                         regulator-max-microvolt = <3008000>;
210                 };
212                 vreg_lvs1a_1p8: lvs1 {
213                         regulator-min-microvolt = <1800000>;
214                         regulator-max-microvolt = <1800000>;
215                 };
217                 vreg_lvs2a_1p8: lvs2 {
218                         regulator-min-microvolt = <1800000>;
219                         regulator-max-microvolt = <1800000>;
220                 };
222         };
224         pmi8998-regulators {
225                 compatible = "qcom,rpm-pmi8998-regulators";
227                 vdd_bob-supply = <&vph_pwr>;
229                 vreg_bob: bob {
230                         regulator-min-microvolt = <3312000>;
231                         regulator-max-microvolt = <3600000>;
232                 };
233         };
236 &tlmm {
237         gpio-reserved-ranges = <0 4>, <81 4>;
240 &sdhc2 {
241         status = "okay";
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>;
252 &ufshc {
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>;
261 &ufsphy {
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;
271 &usb3 {
272         status = "okay";
275 &usb3_dwc3 {
276         dr_mode = "host"; /* Force to host until we have Type-C hooked up */
279 &usb3phy {
280         status = "okay";
282         vdda-phy-supply = <&vreg_l1a_0p875>;
283         vdda-pll-supply = <&vreg_l2a_1p2>;