~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/sm8550-hdk.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*
  3  * Copyright (c) 2024 Linaro Limited
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include <dt-bindings/leds/common.h>
  9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 10 #include "sm8550.dtsi"
 11 #include "pm8010.dtsi"
 12 #include "pm8550.dtsi"
 13 #include "pm8550b.dtsi"
 14 #define PMK8550VE_SID 5
 15 #include "pm8550ve.dtsi"
 16 #include "pm8550vs.dtsi"
 17 #include "pmk8550.dtsi"
 18 #include "pmr735d_a.dtsi"
 19 
 20 / {
 21         model = "Qualcomm Technologies, Inc. SM8550 HDK";
 22         compatible = "qcom,sm8550-hdk", "qcom,sm8550";
 23         chassis-type = "embedded";
 24 
 25         aliases {
 26                 serial0 = &uart7;
 27                 serial1 = &uart14;
 28         };
 29 
 30         wcd938x: audio-codec {
 31                 compatible = "qcom,wcd9385-codec";
 32 
 33                 pinctrl-names = "default";
 34                 pinctrl-0 = <&wcd_default>;
 35 
 36                 qcom,micbias1-microvolt = <1800000>;
 37                 qcom,micbias2-microvolt = <1800000>;
 38                 qcom,micbias3-microvolt = <1800000>;
 39                 qcom,micbias4-microvolt = <1800000>;
 40                 qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
 41                 qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
 42                 qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
 43                 qcom,rx-device = <&wcd_rx>;
 44                 qcom,tx-device = <&wcd_tx>;
 45 
 46                 reset-gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
 47 
 48                 vdd-buck-supply = <&vreg_l15b_1p8>;
 49                 vdd-rxtx-supply = <&vreg_l15b_1p8>;
 50                 vdd-io-supply = <&vreg_l15b_1p8>;
 51                 vdd-mic-bias-supply = <&vreg_bob1>;
 52 
 53                 #sound-dai-cells = <1>;
 54         };
 55 
 56         chosen {
 57                 stdout-path = "serial0:115200n8";
 58         };
 59 
 60         hdmi-out {
 61                 compatible = "hdmi-connector";
 62                 type = "a";
 63 
 64                 port {
 65                         hdmi_connector_out: endpoint {
 66                                 remote-endpoint = <&lt9611_out>;
 67                         };
 68                 };
 69         };
 70 
 71         gpio-keys {
 72                 compatible = "gpio-keys";
 73 
 74                 pinctrl-0 = <&volume_up_n>;
 75                 pinctrl-names = "default";
 76 
 77                 key-volume-up {
 78                         label = "Volume Up";
 79                         linux,code = <KEY_VOLUMEUP>;
 80                         gpios = <&pm8550_gpios 6 GPIO_ACTIVE_LOW>;
 81                         debounce-interval = <15>;
 82                         linux,can-disable;
 83                         wakeup-source;
 84                 };
 85         };
 86 
 87         leds {
 88                 compatible = "gpio-leds";
 89 
 90                 led-0 {
 91                         function = LED_FUNCTION_BLUETOOTH;
 92                         color = <LED_COLOR_ID_BLUE>;
 93                         gpios = <&tlmm 159 GPIO_ACTIVE_HIGH>;
 94                         linux,default-trigger = "bluetooth-power";
 95                         default-state = "off";
 96                 };
 97 
 98                 led-1 {
 99                         function = LED_FUNCTION_INDICATOR;
100                         color = <LED_COLOR_ID_GREEN>;
101                         gpios = <&tlmm 160 GPIO_ACTIVE_HIGH>;
102                         default-state = "off";
103                         panic-indicator;
104                 };
105 
106                 led-2 {
107                         function = LED_FUNCTION_WLAN;
108                         color = <LED_COLOR_ID_ORANGE>;
109                         gpios = <&tlmm 162 GPIO_ACTIVE_HIGH>;
110                         linux,default-trigger = "phy0tx";
111                         default-state = "off";
112                 };
113         };
114 
115         pmic-glink {
116                 compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink";
117                 #address-cells = <1>;
118                 #size-cells = <0>;
119                 orientation-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
120 
121                 connector@0 {
122                         compatible = "usb-c-connector";
123                         reg = <0>;
124                         power-role = "dual";
125                         data-role = "dual";
126 
127                         ports {
128                                 #address-cells = <1>;
129                                 #size-cells = <0>;
130 
131                                 port@0 {
132                                         reg = <0>;
133 
134                                         pmic_glink_hs_in: endpoint {
135                                                 remote-endpoint = <&usb_1_dwc3_hs>;
136                                         };
137                                 };
138 
139                                 port@1 {
140                                         reg = <1>;
141 
142                                         pmic_glink_ss_in: endpoint {
143                                                 remote-endpoint = <&usb_dp_qmpphy_out>;
144                                         };
145                                 };
146 
147                                 port@2 {
148                                         reg = <2>;
149 
150                                         pmic_glink_sbu: endpoint {
151                                                 remote-endpoint = <&fsa4480_sbu_mux>;
152                                         };
153                                 };
154                         };
155                 };
156         };
157 
158         lt9611_1v2: regulator-lt9611-1v2 {
159                 compatible = "regulator-fixed";
160 
161                 regulator-name = "LT9611_1V2";
162                 regulator-min-microvolt = <1200000>;
163                 regulator-max-microvolt = <1200000>;
164 
165                 vin-supply = <&vph_pwr>;
166                 gpio = <&tlmm 152 GPIO_ACTIVE_HIGH>;
167 
168                 enable-active-high;
169         };
170 
171         lt9611_3v3: regulator-lt9611-3v3 {
172                 compatible = "regulator-fixed";
173 
174                 regulator-name = "LT9611_3V3";
175                 regulator-min-microvolt = <3300000>;
176                 regulator-max-microvolt = <3300000>;
177 
178                 vin-supply = <&vreg_bob_3v3>;
179                 gpio = <&tlmm 6 GPIO_ACTIVE_HIGH>;
180 
181                 enable-active-high;
182         };
183 
184         vph_pwr: regulator-vph-pwr {
185                 compatible = "regulator-fixed";
186 
187                 regulator-name = "vph_pwr";
188                 regulator-min-microvolt = <3700000>;
189                 regulator-max-microvolt = <3700000>;
190                 regulator-always-on;
191                 regulator-boot-on;
192         };
193 
194         vreg_bob_3v3: regulator-vreg-bob-3v3 {
195                 compatible = "regulator-fixed";
196 
197                 regulator-name = "VREG_BOB_3P3";
198                 regulator-min-microvolt = <3300000>;
199                 regulator-max-microvolt = <3300000>;
200 
201                 vin-supply = <&vph_pwr>;
202         };
203 
204         sound {
205                 compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard";
206                 model = "SM8550-HDK";
207                 audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
208                                 "SpkrRight IN", "WSA_SPK2 OUT",
209                                 "IN1_HPHL", "HPHL_OUT",
210                                 "IN2_HPHR", "HPHR_OUT",
211                                 "AMIC1", "MIC BIAS1",
212                                 "AMIC2", "MIC BIAS2",
213                                 "AMIC5", "MIC BIAS4",
214                                 "TX SWR_INPUT0", "ADC1_OUTPUT",
215                                 "TX SWR_INPUT1", "ADC2_OUTPUT",
216                                 "TX SWR_INPUT1", "ADC4_OUTPUT";
217 
218                 wcd-playback-dai-link {
219                         link-name = "WCD Playback";
220 
221                         cpu {
222                                 sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>;
223                         };
224 
225                         codec {
226                                 sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>;
227                         };
228 
229                         platform {
230                                 sound-dai = <&q6apm>;
231                         };
232                 };
233 
234                 wcd-capture-dai-link {
235                         link-name = "WCD Capture";
236 
237                         cpu {
238                                 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
239                         };
240 
241                         codec {
242                                 sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>;
243                         };
244 
245                         platform {
246                                 sound-dai = <&q6apm>;
247                         };
248                 };
249 
250                 wsa-dai-link {
251                         link-name = "WSA Playback";
252 
253                         cpu {
254                                 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
255                         };
256 
257                         codec {
258                                 sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>;
259                         };
260 
261                         platform {
262                                 sound-dai = <&q6apm>;
263                         };
264                 };
265 
266                 va-dai-link {
267                         link-name = "VA Capture";
268 
269                         cpu {
270                                 sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>;
271                         };
272 
273                         codec {
274                                 sound-dai = <&lpass_vamacro 0>;
275                         };
276 
277                         platform {
278                                 sound-dai = <&q6apm>;
279                         };
280                 };
281         };
282 
283         wcn7850-pmu {
284                 compatible = "qcom,wcn7850-pmu";
285 
286                 pinctrl-names = "default";
287                 pinctrl-0 = <&wlan_en>, <&bt_default>, <&pmk8550_sleep_clk>;
288 
289                 wlan-enable-gpios = <&tlmm 80 GPIO_ACTIVE_HIGH>;
290                 bt-enable-gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>;
291 
292                 vdd-supply = <&vreg_s5g_0p85>;
293                 vddio-supply = <&vreg_l15b_1p8>;
294                 vddaon-supply = <&vreg_s2g_0p85>;
295                 vdddig-supply = <&vreg_s4e_0p95>;
296                 vddrfa1p2-supply = <&vreg_s4g_1p25>;
297                 vddrfa1p8-supply = <&vreg_s6g_1p86>;
298 
299                 regulators {
300                         vreg_pmu_rfa_cmn: ldo0 {
301                                 regulator-name = "vreg_pmu_rfa_cmn";
302                         };
303 
304                         vreg_pmu_aon_0p59: ldo1 {
305                                 regulator-name = "vreg_pmu_aon_0p59";
306                         };
307 
308                         vreg_pmu_wlcx_0p8: ldo2 {
309                                 regulator-name = "vreg_pmu_wlcx_0p8";
310                         };
311 
312                         vreg_pmu_wlmx_0p85: ldo3 {
313                                 regulator-name = "vreg_pmu_wlmx_0p85";
314                         };
315 
316                         vreg_pmu_btcmx_0p85: ldo4 {
317                                 regulator-name = "vreg_pmu_btcmx_0p85";
318                         };
319 
320                         vreg_pmu_rfa_0p8: ldo5 {
321                                 regulator-name = "vreg_pmu_rfa_0p8";
322                         };
323 
324                         vreg_pmu_rfa_1p2: ldo6 {
325                                 regulator-name = "vreg_pmu_rfa_1p2";
326                         };
327 
328                         vreg_pmu_rfa_1p8: ldo7 {
329                                 regulator-name = "vreg_pmu_rfa_1p8";
330                         };
331 
332                         vreg_pmu_pcie_0p9: ldo8 {
333                                 regulator-name = "vreg_pmu_pcie_0p9";
334                         };
335 
336                         vreg_pmu_pcie_1p8: ldo9 {
337                                 regulator-name = "vreg_pmu_pcie_1p8";
338                         };
339                 };
340         };
341 };
342 
343 &apps_rsc {
344         regulators-0 {
345                 compatible = "qcom,pm8550-rpmh-regulators";
346 
347                 vdd-bob1-supply = <&vph_pwr>;
348                 vdd-bob2-supply = <&vph_pwr>;
349                 vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>;
350                 vdd-l2-l13-l14-supply = <&vreg_bob1>;
351                 vdd-l3-supply = <&vreg_s4g_1p25>;
352                 vdd-l5-l16-supply = <&vreg_bob1>;
353                 vdd-l6-l7-supply = <&vreg_bob1>;
354                 vdd-l8-l9-supply = <&vreg_bob1>;
355                 vdd-l11-supply = <&vreg_s4g_1p25>;
356                 vdd-l12-supply = <&vreg_s6g_1p86>;
357                 vdd-l15-supply = <&vreg_s6g_1p86>;
358                 vdd-l17-supply = <&vreg_bob2>;
359 
360                 qcom,pmic-id = "b";
361 
362                 vreg_bob1: bob1 {
363                         regulator-name = "vreg_bob1";
364                         regulator-min-microvolt = <3296000>;
365                         regulator-max-microvolt = <3960000>;
366                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367                 };
368 
369                 vreg_bob2: bob2 {
370                         regulator-name = "vreg_bob2";
371                         regulator-min-microvolt = <2720000>;
372                         regulator-max-microvolt = <3960000>;
373                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374                 };
375 
376                 vreg_l1b_1p8: ldo1 {
377                         regulator-name = "vreg_l1b_1p8";
378                         regulator-min-microvolt = <1800000>;
379                         regulator-max-microvolt = <1800000>;
380                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
381                         regulator-allow-set-load;
382                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
383                                                    RPMH_REGULATOR_MODE_HPM>;
384                 };
385 
386                 vreg_l2b_3p0: ldo2 {
387                         regulator-name = "vreg_l2b_3p0";
388                         regulator-min-microvolt = <3008000>;
389                         regulator-max-microvolt = <3008000>;
390                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391                         regulator-allow-set-load;
392                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
393                                                    RPMH_REGULATOR_MODE_HPM>;
394                 };
395 
396                 vreg_l5b_3p1: ldo5 {
397                         regulator-name = "vreg_l5b_3p1";
398                         regulator-min-microvolt = <3104000>;
399                         regulator-max-microvolt = <3104000>;
400                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401                         regulator-allow-set-load;
402                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
403                                                    RPMH_REGULATOR_MODE_HPM>;
404                 };
405 
406                 vreg_l6b_1p8: ldo6 {
407                         regulator-name = "vreg_l6b_1p8";
408                         regulator-min-microvolt = <1800000>;
409                         regulator-max-microvolt = <3008000>;
410                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
411                         regulator-allow-set-load;
412                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
413                                                    RPMH_REGULATOR_MODE_HPM>;
414                 };
415 
416                 vreg_l7b_1p8: ldo7 {
417                         regulator-name = "vreg_l7b_1p8";
418                         regulator-min-microvolt = <1800000>;
419                         regulator-max-microvolt = <3008000>;
420                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
421                         regulator-allow-set-load;
422                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
423                                                    RPMH_REGULATOR_MODE_HPM>;
424                 };
425 
426                 vreg_l8b_1p8: ldo8 {
427                         regulator-name = "vreg_l8b_1p8";
428                         regulator-min-microvolt = <1800000>;
429                         regulator-max-microvolt = <3008000>;
430                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
431                         regulator-allow-set-load;
432                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
433                                                    RPMH_REGULATOR_MODE_HPM>;
434                 };
435 
436                 vreg_l9b_2p9: ldo9 {
437                         regulator-name = "vreg_l9b_2p9";
438                         regulator-min-microvolt = <2960000>;
439                         regulator-max-microvolt = <3008000>;
440                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441                         regulator-allow-set-load;
442                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
443                                                    RPMH_REGULATOR_MODE_HPM>;
444                 };
445 
446                 vreg_l11b_1p2: ldo11 {
447                         regulator-name = "vreg_l11b_1p2";
448                         regulator-min-microvolt = <1200000>;
449                         regulator-max-microvolt = <1504000>;
450                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
451                         regulator-allow-set-load;
452                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
453                                                    RPMH_REGULATOR_MODE_HPM>;
454                 };
455 
456                 vreg_l12b_1p8: ldo12 {
457                         regulator-name = "vreg_l12b_1p8";
458                         regulator-min-microvolt = <1800000>;
459                         regulator-max-microvolt = <1800000>;
460                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
461                         regulator-allow-set-load;
462                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
463                                                    RPMH_REGULATOR_MODE_HPM>;
464                 };
465 
466                 vreg_l13b_3p0: ldo13 {
467                         regulator-name = "vreg_l13b_3p0";
468                         regulator-min-microvolt = <3000000>;
469                         regulator-max-microvolt = <3000000>;
470                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
471                         regulator-allow-set-load;
472                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
473                                                    RPMH_REGULATOR_MODE_HPM>;
474                 };
475 
476                 vreg_l14b_3p2: ldo14 {
477                         regulator-name = "vreg_l14b_3p2";
478                         regulator-min-microvolt = <3200000>;
479                         regulator-max-microvolt = <3200000>;
480                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
481                         regulator-allow-set-load;
482                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
483                                                    RPMH_REGULATOR_MODE_HPM>;
484                 };
485 
486                 vreg_l15b_1p8: ldo15 {
487                         regulator-name = "vreg_l15b_1p8";
488                         regulator-min-microvolt = <1800000>;
489                         regulator-max-microvolt = <1800000>;
490                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
491                         regulator-allow-set-load;
492                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
493                                                    RPMH_REGULATOR_MODE_HPM>;
494                 };
495 
496                 vreg_l16b_2p8: ldo16 {
497                         regulator-name = "vreg_l16b_2p8";
498                         regulator-min-microvolt = <2800000>;
499                         regulator-max-microvolt = <2800000>;
500                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
501                         regulator-allow-set-load;
502                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
503                                                    RPMH_REGULATOR_MODE_HPM>;
504                 };
505 
506                 vreg_l17b_2p5: ldo17 {
507                         regulator-name = "vreg_l17b_2p5";
508                         regulator-min-microvolt = <2504000>;
509                         regulator-max-microvolt = <2504000>;
510                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
511                         regulator-allow-set-load;
512                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
513                                                    RPMH_REGULATOR_MODE_HPM>;
514                 };
515         };
516 
517         regulators-1 {
518                 compatible = "qcom,pm8550vs-rpmh-regulators";
519 
520                 vdd-l1-supply = <&vreg_s4g_1p25>;
521                 vdd-l2-supply = <&vreg_s4e_0p95>;
522                 vdd-l3-supply = <&vreg_s4e_0p95>;
523 
524                 qcom,pmic-id = "c";
525 
526                 vreg_l3c_0p9: ldo3 {
527                         regulator-name = "vreg_l3c_0p9";
528                         regulator-min-microvolt = <880000>;
529                         regulator-max-microvolt = <912000>;
530                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
531                         regulator-allow-set-load;
532                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
533                                                    RPMH_REGULATOR_MODE_HPM>;
534                 };
535         };
536 
537         regulators-2 {
538                 compatible = "qcom,pm8550vs-rpmh-regulators";
539 
540                 vdd-l1-supply = <&vreg_s4e_0p95>;
541                 vdd-l2-supply = <&vreg_s4e_0p95>;
542                 vdd-l3-supply = <&vreg_s4e_0p95>;
543 
544                 qcom,pmic-id = "d";
545 
546                 vreg_l1d_0p88: ldo1 {
547                         regulator-name = "vreg_l1d_0p88";
548                         regulator-min-microvolt = <880000>;
549                         regulator-max-microvolt = <920000>;
550                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
551                         regulator-allow-set-load;
552                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
553                                                    RPMH_REGULATOR_MODE_HPM>;
554                 };
555 
556                 /* ldo2 supplies SM8550 VDD_LPI_MX */
557         };
558 
559         regulators-3 {
560                 compatible = "qcom,pm8550vs-rpmh-regulators";
561 
562                 vdd-l1-supply = <&vreg_s4e_0p95>;
563                 vdd-l2-supply = <&vreg_s4e_0p95>;
564                 vdd-l3-supply = <&vreg_s4g_1p25>;
565                 vdd-s4-supply = <&vph_pwr>;
566                 vdd-s5-supply = <&vph_pwr>;
567 
568                 qcom,pmic-id = "e";
569 
570                 vreg_s4e_0p95: smps4 {
571                         regulator-name = "vreg_s4e_0p95";
572                         regulator-min-microvolt = <904000>;
573                         regulator-max-microvolt = <984000>;
574                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
575                 };
576 
577                 vreg_s5e_1p08: smps5 {
578                         regulator-name = "vreg_s5e_1p08";
579                         regulator-min-microvolt = <1080000>;
580                         regulator-max-microvolt = <1120000>;
581                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
582                 };
583 
584                 vreg_l1e_0p88: ldo1 {
585                         regulator-name = "vreg_l1e_0p88";
586                         regulator-min-microvolt = <880000>;
587                         regulator-max-microvolt = <880000>;
588                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
589                         regulator-allow-set-load;
590                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
591                                                    RPMH_REGULATOR_MODE_HPM>;
592                 };
593 
594                 vreg_l2e_0p9: ldo2 {
595                         regulator-name = "vreg_l2e_0p9";
596                         regulator-min-microvolt = <904000>;
597                         regulator-max-microvolt = <970000>;
598                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
599                         regulator-allow-set-load;
600                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
601                                                    RPMH_REGULATOR_MODE_HPM>;
602                 };
603 
604                 vreg_l3e_1p2: ldo3 {
605                         regulator-name = "vreg_l3e_1p2";
606                         regulator-min-microvolt = <1200000>;
607                         regulator-max-microvolt = <1200000>;
608                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
609                         regulator-allow-set-load;
610                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
611                                                    RPMH_REGULATOR_MODE_HPM>;
612                 };
613         };
614 
615         regulators-4 {
616                 compatible = "qcom,pm8550ve-rpmh-regulators";
617 
618                 vdd-l1-supply = <&vreg_s4e_0p95>;
619                 vdd-l2-supply = <&vreg_s4e_0p95>;
620                 vdd-l3-supply = <&vreg_s4e_0p95>;
621                 vdd-s4-supply = <&vph_pwr>;
622 
623                 qcom,pmic-id = "f";
624 
625                 vreg_s4f_0p5: smps4 {
626                         regulator-name = "vreg_s4f_0p5";
627                         regulator-min-microvolt = <500000>;
628                         regulator-max-microvolt = <700000>;
629                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
630                 };
631 
632                 vreg_l1f_0p9: ldo1 {
633                         regulator-name = "vreg_l1f_0p9";
634                         regulator-min-microvolt = <912000>;
635                         regulator-max-microvolt = <912000>;
636                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
637                         regulator-allow-set-load;
638                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
639                                                    RPMH_REGULATOR_MODE_HPM>;
640                 };
641 
642                 vreg_l2f_0p88: ldo2 {
643                         regulator-name = "vreg_l2f_0p88";
644                         regulator-min-microvolt = <880000>;
645                         regulator-max-microvolt = <912000>;
646                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
647                         regulator-allow-set-load;
648                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
649                                                    RPMH_REGULATOR_MODE_HPM>;
650                 };
651 
652                 vreg_l3f_0p88: ldo3 {
653                         regulator-name = "vreg_l3f_0p88";
654                         regulator-min-microvolt = <880000>;
655                         regulator-max-microvolt = <912000>;
656                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
657                         regulator-allow-set-load;
658                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
659                                                    RPMH_REGULATOR_MODE_HPM>;
660                 };
661         };
662 
663         regulators-5 {
664                 compatible = "qcom,pm8550vs-rpmh-regulators";
665 
666                 vdd-l1-supply = <&vreg_s4g_1p25>;
667                 vdd-l2-supply = <&vreg_s4g_1p25>;
668                 vdd-l3-supply = <&vreg_s4g_1p25>;
669                 vdd-s1-supply = <&vph_pwr>;
670                 vdd-s2-supply = <&vph_pwr>;
671                 vdd-s3-supply = <&vph_pwr>;
672                 vdd-s4-supply = <&vph_pwr>;
673                 vdd-s5-supply = <&vph_pwr>;
674                 vdd-s6-supply = <&vph_pwr>;
675 
676                 qcom,pmic-id = "g";
677 
678                 vreg_s1g_1p25: smps1 {
679                         regulator-name = "vreg_s1g_1p25";
680                         regulator-min-microvolt = <1200000>;
681                         regulator-max-microvolt = <1300000>;
682                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
683                 };
684 
685                 vreg_s2g_0p85: smps2 {
686                         regulator-name = "vreg_s2g_0p85";
687                         regulator-min-microvolt = <800000>;
688                         regulator-max-microvolt = <1000000>;
689                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
690                 };
691 
692                 vreg_s3g_0p8: smps3 {
693                         regulator-name = "vreg_s3g_0p8";
694                         regulator-min-microvolt = <300000>;
695                         regulator-max-microvolt = <1004000>;
696                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
697                 };
698 
699                 vreg_s4g_1p25: smps4 {
700                         regulator-name = "vreg_s4g_1p25";
701                         regulator-min-microvolt = <1200000>;
702                         regulator-max-microvolt = <1352000>;
703                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
704                 };
705 
706                 vreg_s5g_0p85: smps5 {
707                         regulator-name = "vreg_s5g_0p85";
708                         regulator-min-microvolt = <500000>;
709                         regulator-max-microvolt = <1004000>;
710                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
711                 };
712 
713                 vreg_s6g_1p86: smps6 {
714                         regulator-name = "vreg_s6g_1p86";
715                         regulator-min-microvolt = <1800000>;
716                         regulator-max-microvolt = <2000000>;
717                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
718                 };
719 
720                 vreg_l1g_1p2: ldo1 {
721                         regulator-name = "vreg_l1g_1p2";
722                         regulator-min-microvolt = <1200000>;
723                         regulator-max-microvolt = <1200000>;
724                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
725                         regulator-allow-set-load;
726                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
727                                                    RPMH_REGULATOR_MODE_HPM>;
728                 };
729 
730                 vreg_l3g_1p2: ldo3 {
731                         regulator-name = "vreg_l3g_1p2";
732                         regulator-min-microvolt = <1200000>;
733                         regulator-max-microvolt = <1200000>;
734                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
735                         regulator-allow-set-load;
736                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
737                                                    RPMH_REGULATOR_MODE_HPM>;
738                 };
739         };
740 
741         regulators-6 {
742                 compatible = "qcom,pm8010-rpmh-regulators";
743 
744                 vdd-l1-l2-supply = <&vreg_s4g_1p25>;
745                 vdd-l3-l4-supply = <&vreg_bob2>;
746                 vdd-l5-supply = <&vreg_s6g_1p86>;
747                 vdd-l6-supply = <&vreg_s6g_1p86>;
748                 vdd-l7-supply = <&vreg_bob1>;
749 
750                 qcom,pmic-id = "m";
751 
752                 vreg_l1m_1p056: ldo1 {
753                         regulator-name = "vreg_l1m_1p056";
754                         regulator-min-microvolt = <1056000>;
755                         regulator-max-microvolt = <1056000>;
756                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
757                         regulator-allow-set-load;
758                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
759                                                    RPMH_REGULATOR_MODE_HPM>;
760                 };
761 
762                 vreg_l2m_1p056: ldo2 {
763                         regulator-name = "vreg_l2m_1p056";
764                         regulator-min-microvolt = <1056000>;
765                         regulator-max-microvolt = <1056000>;
766                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
767                         regulator-allow-set-load;
768                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
769                                                    RPMH_REGULATOR_MODE_HPM>;
770                 };
771 
772                 vreg_l3m_2p8: ldo3 {
773                         regulator-name = "vreg_l3m_2p8";
774                         regulator-min-microvolt = <2800000>;
775                         regulator-max-microvolt = <2800000>;
776                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
777                 };
778 
779                 vreg_l4m_2p8: ldo4 {
780                         regulator-name = "vreg_l4m_2p8";
781                         regulator-min-microvolt = <2800000>;
782                         regulator-max-microvolt = <2800000>;
783                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
784                 };
785 
786                 vreg_l5m_1p8: ldo5 {
787                         regulator-name = "vreg_l5m_1p8";
788                         regulator-min-microvolt = <1800000>;
789                         regulator-max-microvolt = <1800000>;
790                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
791                 };
792 
793                 vreg_l6m_1p8: ldo6 {
794                         regulator-name = "vreg_l6m_1p8";
795                         regulator-min-microvolt = <1800000>;
796                         regulator-max-microvolt = <1800000>;
797                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
798                 };
799 
800                 vreg_l7m_2p9: ldo7 {
801                         regulator-name = "vreg_l7m_2p9";
802                         regulator-min-microvolt = <2800000>;
803                         regulator-max-microvolt = <2904000>;
804                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
805                 };
806         };
807 
808         regulators-7 {
809                 compatible = "qcom,pm8010-rpmh-regulators";
810 
811                 vdd-l1-l2-supply = <&vreg_s4g_1p25>;
812                 vdd-l3-l4-supply = <&vreg_bob2>;
813                 vdd-l5-supply = <&vreg_s6g_1p86>;
814                 vdd-l6-supply = <&vreg_bob1>;
815                 vdd-l7-supply = <&vreg_bob1>;
816 
817                 qcom,pmic-id = "n";
818 
819                 vreg_l1n_1p1: ldo1 {
820                         regulator-name = "vreg_l1n_1p1";
821                         regulator-min-microvolt = <1104000>;
822                         regulator-max-microvolt = <1200000>;
823                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
824                         regulator-allow-set-load;
825                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
826                                                    RPMH_REGULATOR_MODE_HPM>;
827                 };
828 
829                 vreg_l2n_1p1: ldo2 {
830                         regulator-name = "vreg_l2n_1p1";
831                         regulator-min-microvolt = <1104000>;
832                         regulator-max-microvolt = <1200000>;
833                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
834                         regulator-allow-set-load;
835                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
836                                                    RPMH_REGULATOR_MODE_HPM>;
837                 };
838 
839                 vreg_l3n_2p8: ldo3 {
840                         regulator-name = "vreg_l3n_2p8";
841                         regulator-min-microvolt = <2800000>;
842                         regulator-max-microvolt = <3000000>;
843                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
844                 };
845 
846                 vreg_l4n_2p8: ldo4 {
847                         regulator-name = "vreg_l4n_2p8";
848                         regulator-min-microvolt = <2800000>;
849                         regulator-max-microvolt = <3300000>;
850                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
851                 };
852 
853                 vreg_l5n_1p8: ldo5 {
854                         regulator-name = "vreg_l5n_1p8";
855                         regulator-min-microvolt = <1800000>;
856                         regulator-max-microvolt = <1800000>;
857                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
858                 };
859 
860                 vreg_l6n_3p3: ldo6 {
861                         regulator-name = "vreg_l6n_3p3";
862                         regulator-min-microvolt = <2800000>;
863                         regulator-max-microvolt = <3304000>;
864                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
865                 };
866 
867                 vreg_l7n_2p96: ldo7 {
868                         regulator-name = "vreg_l7n_2p96";
869                         regulator-min-microvolt = <2800000>;
870                         regulator-max-microvolt = <2960000>;
871                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
872                 };
873         };
874 };
875 
876 &i2c0 {
877         clock-frequency = <400000>;
878         status = "okay";
879 
880         lt9611_codec: hdmi-bridge@2b {
881                 compatible = "lontium,lt9611uxc";
882                 reg = <0x2b>;
883 
884                 interrupts-extended = <&tlmm 8 IRQ_TYPE_EDGE_FALLING>;
885 
886                 reset-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>;
887 
888                 vdd-supply = <&lt9611_1v2>;
889                 vcc-supply = <&lt9611_3v3>;
890 
891                 pinctrl-0 = <&lt9611_irq_pin>, <&lt9611_rst_pin>;
892                 pinctrl-names = "default";
893 
894                 ports {
895                         #address-cells = <1>;
896                         #size-cells = <0>;
897 
898                         port@0 {
899                                 reg = <0>;
900 
901                                 lt9611_a: endpoint {
902                                         remote-endpoint = <&mdss_dsi0_out>;
903                                 };
904                         };
905 
906                         port@2 {
907                                 reg = <2>;
908 
909                                 lt9611_out: endpoint {
910                                         remote-endpoint = <&hdmi_connector_out>;
911                                 };
912                         };
913                 };
914         };
915 };
916 
917 &i2c_hub_2 {
918         status = "okay";
919 
920         typec-mux@42 {
921                 compatible = "fcs,fsa4480";
922                 reg = <0x42>;
923 
924                 vcc-supply = <&vreg_bob1>;
925 
926                 mode-switch;
927                 orientation-switch;
928 
929                 port {
930                         fsa4480_sbu_mux: endpoint {
931                                 remote-endpoint = <&pmic_glink_sbu>;
932                         };
933                 };
934         };
935 };
936 
937 &i2c_master_hub_0 {
938         status = "okay";
939 };
940 
941 &ipa {
942         qcom,gsi-loader = "self";
943         memory-region = <&ipa_fw_mem>;
944         firmware-name = "qcom/sm8550/ipa_fws.mbn";
945         status = "okay";
946 };
947 
948 &gpi_dma1 {
949         status = "okay";
950 };
951 
952 &gpu {
953         status = "okay";
954 
955         zap-shader {
956                 firmware-name = "qcom/sm8550/a740_zap.mbn";
957         };
958 };
959 
960 &lpass_tlmm {
961         spkr_1_sd_n_active: spkr-1-sd-n-active-state {
962                 pins = "gpio17";
963                 function = "gpio";
964                 drive-strength = <16>;
965                 bias-disable;
966                 output-low;
967         };
968 
969         spkr_2_sd_n_active: spkr-2-sd-n-active-state {
970                 pins = "gpio18";
971                 function = "gpio";
972                 drive-strength = <16>;
973                 bias-disable;
974                 output-low;
975         };
976 };
977 
978 &mdss {
979         status = "okay";
980 };
981 
982 &mdss_dsi0 {
983         vdda-supply = <&vreg_l3e_1p2>;
984         status = "okay";
985 };
986 
987 &mdss_dsi0_out {
988         remote-endpoint = <&lt9611_a>;
989         data-lanes = <0 1 2 3>;
990 };
991 
992 &mdss_dsi0_phy {
993         vdds-supply = <&vreg_l1e_0p88>;
994         status = "okay";
995 };
996 
997 &mdss_dp0 {
998         status = "okay";
999 };
1000 
1001 &mdss_dp0_out {
1002         data-lanes = <0 1>;
1003 };
1004 
1005 &pcie0 {
1006         wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
1007         perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
1008 
1009         pinctrl-0 = <&pcie0_default_state>;
1010         pinctrl-names = "default";
1011 
1012         status = "okay";
1013 };
1014 
1015 &pcieport0 {
1016         wifi@0 {
1017                 compatible = "pci17cb,1107";
1018                 reg = <0x10000 0x0 0x0 0x0 0x0>;
1019 
1020                 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1021                 vddaon-supply = <&vreg_pmu_aon_0p59>;
1022                 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1023                 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1024                 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1025                 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1026                 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1027                 vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
1028                 vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
1029         };
1030 };
1031 
1032 &pcie0_phy {
1033         vdda-phy-supply = <&vreg_l1e_0p88>;
1034         vdda-pll-supply = <&vreg_l3e_1p2>;
1035 
1036         status = "okay";
1037 };
1038 
1039 &pcie1 {
1040         wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
1041         perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
1042 
1043         pinctrl-0 = <&pcie1_default_state>;
1044         pinctrl-names = "default";
1045 
1046         status = "okay";
1047 };
1048 
1049 &pcie1_phy {
1050         vdda-phy-supply = <&vreg_l3c_0p9>;
1051         vdda-pll-supply = <&vreg_l3e_1p2>;
1052         vdda-qref-supply = <&vreg_l1e_0p88>;
1053 
1054         status = "okay";
1055 };
1056 
1057 &pm8550_gpios {
1058         sdc2_card_det_n: sdc2-card-det-state {
1059                 pins = "gpio12";
1060                 function = "normal";
1061                 input-enable;
1062                 output-disable;
1063                 bias-pull-up;
1064                 power-source = <1>; /* 1.8 V */
1065         };
1066 
1067         volume_up_n: volume-up-n-state {
1068                 pins = "gpio6";
1069                 function = "normal";
1070                 power-source = <1>;
1071                 bias-pull-up;
1072                 input-enable;
1073         };
1074 };
1075 
1076 /* The RGB signals are routed to 3 separate LEDs on the HDK8550 */
1077 &pm8550_pwm {
1078         #address-cells = <1>;
1079         #size-cells = <0>;
1080 
1081         status = "okay";
1082 
1083         led@1 {
1084                 reg = <1>;
1085                 function = LED_FUNCTION_STATUS;
1086                 color = <LED_COLOR_ID_RED>;
1087                 default-state = "off";
1088         };
1089 
1090         led@2 {
1091                 reg = <2>;
1092                 function = LED_FUNCTION_STATUS;
1093                 color = <LED_COLOR_ID_GREEN>;
1094                 default-state = "off";
1095         };
1096 
1097         led@3 {
1098                 reg = <3>;
1099                 function = LED_FUNCTION_STATUS;
1100                 color = <LED_COLOR_ID_BLUE>;
1101                 default-state = "off";
1102         };
1103 };
1104 
1105 &pm8550b_eusb2_repeater {
1106         vdd18-supply = <&vreg_l15b_1p8>;
1107         vdd3-supply = <&vreg_l5b_3p1>;
1108 };
1109 
1110 &pon_pwrkey {
1111         status = "okay";
1112 };
1113 
1114 &pon_resin {
1115         linux,code = <KEY_VOLUMEDOWN>;
1116 
1117         status = "okay";
1118 };
1119 
1120 &pmk8550_gpios {
1121         pmk8550_sleep_clk: sleep-clk-state {
1122                 pins = "gpio3";
1123                 function = "func1";
1124                 input-disable;
1125                 output-enable;
1126                 bias-disable;
1127                 power-source = <0>;
1128         };
1129 };
1130 
1131 &qupv3_id_0 {
1132         status = "okay";
1133 };
1134 
1135 &qupv3_id_1 {
1136         status = "okay";
1137 };
1138 
1139 &remoteproc_adsp {
1140         firmware-name = "qcom/sm8550/adsp.mbn",
1141                         "qcom/sm8550/adsp_dtb.mbn";
1142         status = "okay";
1143 };
1144 
1145 &remoteproc_cdsp {
1146         firmware-name = "qcom/sm8550/cdsp.mbn",
1147                         "qcom/sm8550/cdsp_dtb.mbn";
1148         status = "okay";
1149 };
1150 
1151 &remoteproc_mpss {
1152         firmware-name = "qcom/sm8550/modem.mbn",
1153                         "qcom/sm8550/modem_dtb.mbn";
1154         status = "okay";
1155 };
1156 
1157 &sdhc_2 {
1158         cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_HIGH>;
1159 
1160         pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>;
1161         pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>;
1162         pinctrl-names = "default", "sleep";
1163 
1164         vmmc-supply = <&vreg_l9b_2p9>;
1165         vqmmc-supply = <&vreg_l8b_1p8>;
1166 
1167         bus-width = <4>;
1168         no-sdio;
1169         no-mmc;
1170 
1171         status = "okay";
1172 };
1173 
1174 &sleep_clk {
1175         clock-frequency = <32000>;
1176 };
1177 
1178 &swr0 {
1179         status = "okay";
1180 
1181         /* WSA8845, Speaker North */
1182         north_spkr: speaker@0,0 {
1183                 compatible = "sdw20217020400";
1184                 reg = <0 0>;
1185 
1186                 pinctrl-0 = <&spkr_1_sd_n_active>;
1187                 pinctrl-names = "default";
1188 
1189                 powerdown-gpios = <&lpass_tlmm 17 GPIO_ACTIVE_LOW>;
1190 
1191                 vdd-1p8-supply = <&vreg_l15b_1p8>;
1192                 vdd-io-supply = <&vreg_l15b_1p8>;
1193 
1194                 #sound-dai-cells = <0>;
1195                 sound-name-prefix = "SpkrLeft";
1196                 qcom,port-mapping = <1 2 3 7 10 13>;
1197         };
1198 
1199         /* WSA8845, Speaker South */
1200         south_spkr: speaker@0,1 {
1201                 compatible = "sdw20217020400";
1202                 reg = <0 1>;
1203 
1204                 pinctrl-0 = <&spkr_2_sd_n_active>;
1205                 pinctrl-names = "default";
1206 
1207                 powerdown-gpios = <&lpass_tlmm 18 GPIO_ACTIVE_LOW>;
1208 
1209                 vdd-1p8-supply = <&vreg_l15b_1p8>;
1210                 vdd-io-supply = <&vreg_l15b_1p8>;
1211 
1212                 #sound-dai-cells = <0>;
1213                 sound-name-prefix = "SpkrRight";
1214                 qcom,port-mapping = <4 5 6 7 11 13>;
1215         };
1216 };
1217 
1218 &swr1 {
1219         status = "okay";
1220 
1221         /* WCD9385 RX */
1222         wcd_rx: codec@0,4 {
1223                 compatible = "sdw20217010d00";
1224                 reg = <0 4>;
1225 
1226                 /*
1227                  * WCD9385 RX Port 1 (HPH_L/R)      <=> SWR1 Port 1 (HPH_L/R)
1228                  * WCD9385 RX Port 2 (CLSH)         <=> SWR1 Port 2 (CLSH)
1229                  * WCD9385 RX Port 3 (COMP_L/R)     <=> SWR1 Port 3 (COMP_L/R)
1230                  * WCD9385 RX Port 4 (LO)           <=> SWR1 Port 4 (LO)
1231                  * WCD9385 RX Port 5 (DSD_L/R)      <=> SWR1 Port 5 (DSD_L/R)
1232                  */
1233                 qcom,rx-port-mapping = <1 2 3 4 5>;
1234         };
1235 };
1236 
1237 &swr2 {
1238         status = "okay";
1239 
1240         /* WCD9385 TX */
1241         wcd_tx: codec@0,3 {
1242                 compatible = "sdw20217010d00";
1243                 reg = <0 3>;
1244 
1245                 /*
1246                  * WCD9385 TX Port 1 (ADC1,2)             <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1247                  * WCD9385 TX Port 2 (ADC3,4)             <=> SWR2 Port 2 (TX SWR_INPUT 0,1,2,3)
1248                  * WCD9385 TX Port 3 (DMIC0,1,2,3 & MBHC) <=> SWR2 Port 3 (TX SWR_INPUT 4,5,6,7)
1249                  * WCD9385 TX Port 4 (DMIC4,5,6,7)        <=> SWR2 Port 4 (TX SWR_INPUT 8,9,10,11)
1250                  */
1251                 qcom,tx-port-mapping = <2 2 3 4>;
1252         };
1253 };
1254 
1255 &tlmm {
1256         /* Reserved I/Os for NFC */
1257         gpio-reserved-ranges = <32 8>;
1258 
1259         bt_default: bt-default-state {
1260                 bt-en-pins {
1261                         pins = "gpio81";
1262                         function = "gpio";
1263                         drive-strength = <16>;
1264                         bias-disable;
1265                 };
1266 
1267                 sw-ctrl-pins {
1268                         pins = "gpio82";
1269                         function = "gpio";
1270                         bias-pull-down;
1271                 };
1272         };
1273 
1274         lt9611_irq_pin: lt9611-irq-state {
1275                 pins = "gpio8";
1276                 function = "gpio";
1277                 bias-disable;
1278         };
1279 
1280         lt9611_rst_pin: lt9611-rst-state {
1281                 pins = "gpio7";
1282                 function = "gpio";
1283                 output-high;
1284         };
1285 
1286         wcd_default: wcd-reset-n-active-state {
1287                 pins = "gpio108";
1288                 function = "gpio";
1289                 drive-strength = <16>;
1290                 bias-disable;
1291                 output-low;
1292         };
1293 
1294         wlan_en: wlan-en-state {
1295                 pins = "gpio80";
1296                 function = "gpio";
1297                 drive-strength = <8>;
1298                 bias-pull-down;
1299         };
1300 };
1301 
1302 &uart7 {
1303         status = "okay";
1304 };
1305 
1306 &uart14 {
1307         status = "okay";
1308 
1309         bluetooth {
1310                 compatible = "qcom,wcn7850-bt";
1311 
1312                 vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
1313                 vddaon-supply = <&vreg_pmu_aon_0p59>;
1314                 vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
1315                 vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
1316                 vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
1317                 vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
1318                 vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
1319 
1320                 max-speed = <3200000>;
1321         };
1322 };
1323 
1324 &ufs_mem_hc {
1325         reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
1326 
1327         vcc-supply = <&vreg_l17b_2p5>;
1328         vcc-max-microamp = <1300000>;
1329         vccq-supply = <&vreg_l1g_1p2>;
1330         vccq-max-microamp = <1200000>;
1331         vdd-hba-supply = <&vreg_l3g_1p2>;
1332 
1333         status = "okay";
1334 };
1335 
1336 &ufs_mem_phy {
1337         vdda-phy-supply = <&vreg_l1d_0p88>;
1338         vdda-pll-supply = <&vreg_l3e_1p2>;
1339 
1340         status = "okay";
1341 };
1342 
1343 &usb_1 {
1344         status = "okay";
1345 };
1346 
1347 &usb_1_dwc3_hs {
1348         remote-endpoint = <&pmic_glink_hs_in>;
1349 };
1350 
1351 &usb_1_hsphy {
1352         vdd-supply = <&vreg_l1e_0p88>;
1353         vdda12-supply = <&vreg_l3e_1p2>;
1354 
1355         phys = <&pm8550b_eusb2_repeater>;
1356 
1357         status = "okay";
1358 };
1359 
1360 &usb_dp_qmpphy {
1361         vdda-phy-supply = <&vreg_l3e_1p2>;
1362         vdda-pll-supply = <&vreg_l3f_0p88>;
1363 
1364         status = "okay";
1365 };
1366 
1367 &usb_dp_qmpphy_out {
1368         remote-endpoint = <&pmic_glink_ss_in>;
1369 };
1370 
1371 &xo_board {
1372         clock-frequency = <76800000>;
1373 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php