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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*
  3  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 10 
 11 #include "x1e80100.dtsi"
 12 #include "x1e80100-pmics.dtsi"
 13 
 14 / {
 15         model = "Lenovo Yoga Slim 7x";
 16         compatible = "lenovo,yoga-slim7x", "qcom,x1e80100";
 17 
 18         pmic-glink {
 19                 compatible = "qcom,x1e80100-pmic-glink",
 20                              "qcom,sm8550-pmic-glink",
 21                              "qcom,pmic-glink";
 22                 #address-cells = <1>;
 23                 #size-cells = <0>;
 24                 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
 25                                     <&tlmm 123 GPIO_ACTIVE_HIGH>,
 26                                     <&tlmm 125 GPIO_ACTIVE_HIGH>;
 27 
 28                 /* Left-side rear port */
 29                 connector@0 {
 30                         compatible = "usb-c-connector";
 31                         reg = <0>;
 32                         power-role = "dual";
 33                         data-role = "dual";
 34 
 35                         ports {
 36                                 #address-cells = <1>;
 37                                 #size-cells = <0>;
 38 
 39                                 port@0 {
 40                                         reg = <0>;
 41 
 42                                         pmic_glink_ss0_hs_in: endpoint {
 43                                                 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
 44                                         };
 45                                 };
 46 
 47                                 port@1 {
 48                                         reg = <1>;
 49 
 50                                         pmic_glink_ss0_ss_in: endpoint {
 51                                                 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
 52                                         };
 53                                 };
 54                         };
 55                 };
 56 
 57                 /* Left-side front port */
 58                 connector@1 {
 59                         compatible = "usb-c-connector";
 60                         reg = <1>;
 61                         power-role = "dual";
 62                         data-role = "dual";
 63 
 64                         ports {
 65                                 #address-cells = <1>;
 66                                 #size-cells = <0>;
 67 
 68                                 port@0 {
 69                                         reg = <0>;
 70 
 71                                         pmic_glink_ss1_hs_in: endpoint {
 72                                                 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
 73                                         };
 74                                 };
 75 
 76                                 port@1 {
 77                                         reg = <1>;
 78 
 79                                         pmic_glink_ss1_ss_in: endpoint {
 80                                                 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
 81                                         };
 82                                 };
 83                         };
 84                 };
 85 
 86                 /* Right-side port */
 87                 connector@2 {
 88                         compatible = "usb-c-connector";
 89                         reg = <2>;
 90                         power-role = "dual";
 91                         data-role = "dual";
 92 
 93                         ports {
 94                                 #address-cells = <1>;
 95                                 #size-cells = <0>;
 96 
 97                                 port@0 {
 98                                         reg = <0>;
 99 
100                                         pmic_glink_ss2_hs_in: endpoint {
101                                                 remote-endpoint = <&usb_1_ss2_dwc3_hs>;
102                                         };
103                                 };
104 
105                                 port@1 {
106                                         reg = <1>;
107 
108                                         pmic_glink_ss2_ss_in: endpoint {
109                                                 remote-endpoint = <&usb_1_ss2_qmpphy_out>;
110                                         };
111                                 };
112                         };
113                 };
114         };
115 
116         reserved-memory {
117                 linux,cma {
118                         compatible = "shared-dma-pool";
119                         size = <0x0 0x8000000>;
120                         reusable;
121                         linux,cma-default;
122                 };
123         };
124 
125         sound {
126                 compatible = "qcom,x1e80100-sndcard";
127                 model = "X1E80100-LENOVO-Yoga-Slim7x";
128                 audio-routing = "WooferLeft IN", "WSA WSA_SPK1 OUT",
129                                 "TweeterLeft IN", "WSA WSA_SPK2 OUT",
130                                 "WooferRight IN", "WSA2 WSA_SPK2 OUT",
131                                 "TweeterRight IN", "WSA2 WSA_SPK2 OUT";
132 
133                 wsa-dai-link {
134                         link-name = "WSA Playback";
135 
136                         cpu {
137                                 sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
138                         };
139 
140                         codec {
141                                 sound-dai = <&left_woofer>, <&left_tweeter>,
142                                             <&swr0 0>, <&lpass_wsamacro 0>,
143                                             <&right_woofer>, <&right_tweeter>,
144                                             <&swr3 0>, <&lpass_wsa2macro 0>;
145                         };
146 
147                         platform {
148                                 sound-dai = <&q6apm>;
149                         };
150                 };
151 
152                 va-dai-link {
153                         link-name = "VA Capture";
154 
155                         cpu {
156                                 sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>;
157                         };
158 
159                         codec {
160                                 sound-dai = <&lpass_vamacro 0>;
161                         };
162 
163                         platform {
164                                 sound-dai = <&q6apm>;
165                         };
166                 };
167         };
168 
169         vph_pwr: vph-pwr-regulator {
170                 compatible = "regulator-fixed";
171 
172                 regulator-name = "vph_pwr";
173                 regulator-min-microvolt = <3700000>;
174                 regulator-max-microvolt = <3700000>;
175 
176                 regulator-always-on;
177                 regulator-boot-on;
178         };
179 
180         vreg_edp_3p3: regulator-edp-3p3 {
181                 compatible = "regulator-fixed";
182 
183                 regulator-name = "VREG_EDP_3P3";
184                 regulator-min-microvolt = <3300000>;
185                 regulator-max-microvolt = <3300000>;
186 
187                 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
188                 enable-active-high;
189 
190                 pinctrl-0 = <&edp_reg_en>;
191                 pinctrl-names = "default";
192 
193                 regulator-always-on;
194                 regulator-boot-on;
195         };
196 
197         vreg_nvme: regulator-nvme {
198                 compatible = "regulator-fixed";
199 
200                 regulator-name = "VREG_NVME_3P3";
201                 regulator-min-microvolt = <3300000>;
202                 regulator-max-microvolt = <3300000>;
203 
204                 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
205                 enable-active-high;
206 
207                 pinctrl-0 = <&nvme_reg_en>;
208                 pinctrl-names = "default";
209         };
210 };
211 
212 &apps_rsc {
213         regulators-0 {
214                 compatible = "qcom,pm8550-rpmh-regulators";
215                 qcom,pmic-id = "b";
216 
217                 vdd-bob1-supply = <&vph_pwr>;
218                 vdd-bob2-supply = <&vph_pwr>;
219                 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
220                 vdd-l2-l13-l14-supply = <&vreg_bob1>;
221                 vdd-l5-l16-supply = <&vreg_bob1>;
222                 vdd-l6-l7-supply = <&vreg_bob2>;
223                 vdd-l8-l9-supply = <&vreg_bob1>;
224                 vdd-l12-supply = <&vreg_s5j_1p2>;
225                 vdd-l15-supply = <&vreg_s4c_1p8>;
226                 vdd-l17-supply = <&vreg_bob2>;
227 
228                 vreg_bob1: bob1 {
229                         regulator-name = "vreg_bob1";
230                         regulator-min-microvolt = <3008000>;
231                         regulator-max-microvolt = <3960000>;
232                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
233                 };
234 
235                 vreg_bob2: bob2 {
236                         regulator-name = "vreg_bob2";
237                         regulator-min-microvolt = <2504000>;
238                         regulator-max-microvolt = <3008000>;
239                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
240                 };
241 
242                 vreg_l1b_1p8: ldo1 {
243                         regulator-name = "vreg_l1b_1p8";
244                         regulator-min-microvolt = <1800000>;
245                         regulator-max-microvolt = <1800000>;
246                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
247                 };
248 
249                 vreg_l2b_3p0: ldo2 {
250                         regulator-name = "vreg_l2b_3p0";
251                         regulator-min-microvolt = <3072000>;
252                         regulator-max-microvolt = <3100000>;
253                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
254                 };
255 
256                 vreg_l8b_3p0: ldo8 {
257                         regulator-name = "vreg_l8b_3p0";
258                         regulator-min-microvolt = <3072000>;
259                         regulator-max-microvolt = <3072000>;
260                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
261                 };
262 
263                 vreg_l12b_1p2: ldo12 {
264                         regulator-name = "vreg_l12b_1p2";
265                         regulator-min-microvolt = <1200000>;
266                         regulator-max-microvolt = <1200000>;
267                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
268                 };
269 
270                 vreg_l14b_3p0: ldo14 {
271                         regulator-name = "vreg_l14b_3p0";
272                         regulator-min-microvolt = <3072000>;
273                         regulator-max-microvolt = <3072000>;
274                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275                 };
276 
277                 vreg_l15b_1p8: ldo15 {
278                         regulator-name = "vreg_l15b_1p8";
279                         regulator-min-microvolt = <1800000>;
280                         regulator-max-microvolt = <1800000>;
281                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282                 };
283 
284         };
285 
286         regulators-1 {
287                 compatible = "qcom,pm8550ve-rpmh-regulators";
288                 qcom,pmic-id = "c";
289 
290                 vdd-l1-supply = <&vreg_s5j_1p2>;
291                 vdd-l2-supply = <&vreg_s1f_0p7>;
292                 vdd-l3-supply = <&vreg_s1f_0p7>;
293                 vdd-s4-supply = <&vph_pwr>;
294 
295                 vreg_s4c_1p8: smps4 {
296                         regulator-name = "vreg_s4c_1p8";
297                         regulator-min-microvolt = <1856000>;
298                         regulator-max-microvolt = <2000000>;
299                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
300                 };
301 
302                 vreg_l1c_1p2: ldo1 {
303                         regulator-name = "vreg_l1c_1p2";
304                         regulator-min-microvolt = <1200000>;
305                         regulator-max-microvolt = <1200000>;
306                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
307                 };
308 
309                 vreg_l2c_0p8: ldo2 {
310                         regulator-name = "vreg_l2c_0p8";
311                         regulator-min-microvolt = <880000>;
312                         regulator-max-microvolt = <920000>;
313                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
314                 };
315 
316                 vreg_l3c_0p8: ldo3 {
317                         regulator-name = "vreg_l3c_0p8";
318                         regulator-min-microvolt = <880000>;
319                         regulator-max-microvolt = <920000>;
320                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
321                 };
322         };
323 
324         regulators-2 {
325                 compatible = "qcom,pmc8380-rpmh-regulators";
326                 qcom,pmic-id = "d";
327 
328                 vdd-l1-supply = <&vreg_s1f_0p7>;
329                 vdd-l2-supply = <&vreg_s1f_0p7>;
330                 vdd-l3-supply = <&vreg_s4c_1p8>;
331                 vdd-s1-supply = <&vph_pwr>;
332 
333                 vreg_l1d_0p8: ldo1 {
334                         regulator-name = "vreg_l1d_0p8";
335                         regulator-min-microvolt = <880000>;
336                         regulator-max-microvolt = <920000>;
337                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
338                 };
339 
340                 vreg_l2d_0p9: ldo2 {
341                         regulator-name = "vreg_l2d_0p9";
342                         regulator-min-microvolt = <912000>;
343                         regulator-max-microvolt = <920000>;
344                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
345                 };
346 
347                 vreg_l3d_1p8: ldo3 {
348                         regulator-name = "vreg_l3d_1p8";
349                         regulator-min-microvolt = <1800000>;
350                         regulator-max-microvolt = <1800000>;
351                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
352                 };
353         };
354 
355         regulators-3 {
356                 compatible = "qcom,pmc8380-rpmh-regulators";
357                 qcom,pmic-id = "e";
358 
359                 vdd-l2-supply = <&vreg_s1f_0p7>;
360                 vdd-l3-supply = <&vreg_s5j_1p2>;
361 
362                 vreg_l2e_0p8: ldo2 {
363                         regulator-name = "vreg_l2e_0p8";
364                         regulator-min-microvolt = <880000>;
365                         regulator-max-microvolt = <920000>;
366                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
367                 };
368 
369                 vreg_l3e_1p2: ldo3 {
370                         regulator-name = "vreg_l3e_1p2";
371                         regulator-min-microvolt = <1200000>;
372                         regulator-max-microvolt = <1200000>;
373                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
374                 };
375         };
376 
377         regulators-4 {
378                 compatible = "qcom,pmc8380-rpmh-regulators";
379                 qcom,pmic-id = "f";
380 
381                 vdd-l1-supply = <&vreg_s5j_1p2>;
382                 vdd-l2-supply = <&vreg_s5j_1p2>;
383                 vdd-l3-supply = <&vreg_s5j_1p2>;
384                 vdd-s1-supply = <&vph_pwr>;
385 
386                 vreg_s1f_0p7: smps1 {
387                         regulator-name = "vreg_s1f_0p7";
388                         regulator-min-microvolt = <700000>;
389                         regulator-max-microvolt = <1100000>;
390                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
391                 };
392 
393                 vreg_l1f_1p0: ldo1 {
394                         regulator-name = "vreg_l1f_1p0";
395                         regulator-min-microvolt = <1024000>;
396                         regulator-max-microvolt = <1024000>;
397                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
398                 };
399 
400                 vreg_l2f_1p0: ldo2 {
401                         regulator-name = "vreg_l2f_1p0";
402                         regulator-min-microvolt = <1024000>;
403                         regulator-max-microvolt = <1024000>;
404                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
405                 };
406 
407                 vreg_l3f_1p0: ldo3 {
408                         regulator-name = "vreg_l3f_1p0";
409                         regulator-min-microvolt = <1024000>;
410                         regulator-max-microvolt = <1024000>;
411                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
412                 };
413         };
414 
415         regulators-6 {
416                 compatible = "qcom,pm8550ve-rpmh-regulators";
417                 qcom,pmic-id = "i";
418 
419                 vdd-l1-supply = <&vreg_s4c_1p8>;
420                 vdd-l2-supply = <&vreg_s5j_1p2>;
421                 vdd-l3-supply = <&vreg_s1f_0p7>;
422                 vdd-s1-supply = <&vph_pwr>;
423                 vdd-s2-supply = <&vph_pwr>;
424 
425                 vreg_s1i_0p9: smps1 {
426                         regulator-name = "vreg_s1i_0p9";
427                         regulator-min-microvolt = <900000>;
428                         regulator-max-microvolt = <920000>;
429                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
430                 };
431 
432                 vreg_s2i_1p0: smps2 {
433                         regulator-name = "vreg_s2i_1p0";
434                         regulator-min-microvolt = <1000000>;
435                         regulator-max-microvolt = <1100000>;
436                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
437                 };
438 
439                 vreg_l1i_1p8: ldo1 {
440                         regulator-name = "vreg_l1i_1p8";
441                         regulator-min-microvolt = <1800000>;
442                         regulator-max-microvolt = <1800000>;
443                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
444                 };
445 
446                 vreg_l2i_1p2: ldo2 {
447                         regulator-name = "vreg_l2i_1p2";
448                         regulator-min-microvolt = <1200000>;
449                         regulator-max-microvolt = <1200000>;
450                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
451                 };
452 
453                 vreg_l3i_0p8: ldo3 {
454                         regulator-name = "vreg_l3i_0p8";
455                         regulator-min-microvolt = <880000>;
456                         regulator-max-microvolt = <920000>;
457                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
458                 };
459         };
460 
461         regulators-7 {
462                 compatible = "qcom,pm8550ve-rpmh-regulators";
463                 qcom,pmic-id = "j";
464 
465                 vdd-l1-supply = <&vreg_s1f_0p7>;
466                 vdd-l2-supply = <&vreg_s5j_1p2>;
467                 vdd-l3-supply = <&vreg_s1f_0p7>;
468                 vdd-s5-supply = <&vph_pwr>;
469 
470                 vreg_s5j_1p2: smps5 {
471                         regulator-name = "vreg_s5j_1p2";
472                         regulator-min-microvolt = <1256000>;
473                         regulator-max-microvolt = <1304000>;
474                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
475                 };
476 
477                 vreg_l1j_0p8: ldo1 {
478                         regulator-name = "vreg_l1j_0p8";
479                         regulator-min-microvolt = <880000>;
480                         regulator-max-microvolt = <920000>;
481                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
482                 };
483 
484                 vreg_l2j_1p2: ldo2 {
485                         regulator-name = "vreg_l2j_1p2";
486                         regulator-min-microvolt = <1200000>;
487                         regulator-max-microvolt = <1200000>;
488                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
489                 };
490 
491                 vreg_l3j_0p8: ldo3 {
492                         regulator-name = "vreg_l3j_0p8";
493                         regulator-min-microvolt = <880000>;
494                         regulator-max-microvolt = <920000>;
495                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
496                 };
497         };
498 };
499 
500 &gpu {
501         status = "okay";
502 
503         zap-shader {
504                 firmware-name = "qcom/x1e80100/LENOVO/83ED/qcdxkmsuc8380.mbn";
505         };
506 };
507 
508 &i2c0 {
509         clock-frequency = <400000>;
510 
511         status = "okay";
512 
513         touchpad@2c {
514                 compatible = "hid-over-i2c";
515                 reg = <0x2c>;
516 
517                 hid-descr-addr = <0x20>;
518                 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
519 
520                 pinctrl-0 = <&tpad_default>;
521                 pinctrl-names = "default";
522 
523                 wakeup-source;
524         };
525 
526         keyboard@3a {
527                 compatible = "hid-over-i2c";
528                 reg = <0x3a>;
529 
530                 hid-descr-addr = <0x1>;
531                 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
532 
533                 pinctrl-0 = <&kybd_default>;
534                 pinctrl-names = "default";
535 
536                 wakeup-source;
537         };
538 };
539 
540 &i2c8 {
541         clock-frequency = <400000>;
542 
543         status = "okay";
544 
545         touchscreen@14 {
546                 compatible = "hid-over-i2c";
547                 reg = <0x14>;
548 
549                 hid-descr-addr = <0x1>;
550                 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
551 
552                 pinctrl-0 = <&ts0_default>;
553                 pinctrl-names = "default";
554         };
555 };
556 
557 &lpass_tlmm {
558         spkr_01_sd_n_active: spkr-01-sd-n-active-state {
559                 pins = "gpio12";
560                 function = "gpio";
561                 drive-strength = <16>;
562                 bias-disable;
563                 output-low;
564         };
565 
566         spkr_23_sd_n_active: spkr-23-sd-n-active-state {
567                 pins = "gpio13";
568                 function = "gpio";
569                 drive-strength = <16>;
570                 bias-disable;
571                 output-low;
572         };
573 };
574 
575 &lpass_vamacro {
576         pinctrl-0 = <&dmic01_default>, <&dmic23_default>;
577         pinctrl-names = "default";
578 
579         vdd-micb-supply = <&vreg_l1b_1p8>;
580         qcom,dmic-sample-rate = <4800000>;
581 };
582 
583 &mdss {
584         status = "okay";
585 };
586 
587 &mdss_dp3 {
588         compatible = "qcom,x1e80100-dp";
589         /delete-property/ #sound-dai-cells;
590 
591         status = "okay";
592 
593         aux-bus {
594                 panel {
595                         compatible = "edp-panel";
596                         power-supply = <&vreg_edp_3p3>;
597 
598                         port {
599                                 edp_panel_in: endpoint {
600                                         remote-endpoint = <&mdss_dp3_out>;
601                                 };
602                         };
603                 };
604         };
605 
606         ports {
607                 port@1 {
608                         reg = <1>;
609 
610                         mdss_dp3_out: endpoint {
611                                 data-lanes = <0 1 2 3>;
612                                 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
613 
614                                 remote-endpoint = <&edp_panel_in>;
615                         };
616                 };
617         };
618 };
619 
620 &mdss_dp3_phy {
621         vdda-phy-supply = <&vreg_l3j_0p8>;
622         vdda-pll-supply = <&vreg_l2j_1p2>;
623 
624         status = "okay";
625 };
626 
627 &pcie4 {
628         status = "okay";
629 };
630 
631 &pcie4_phy {
632         vdda-phy-supply = <&vreg_l3j_0p8>;
633         vdda-pll-supply = <&vreg_l3e_1p2>;
634 
635         status = "okay";
636 };
637 
638 &pcie6a {
639         perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
640         wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
641 
642         vddpe-3v3-supply = <&vreg_nvme>;
643 
644         pinctrl-0 = <&pcie6a_default>;
645         pinctrl-names = "default";
646 
647         status = "okay";
648 };
649 
650 &pcie6a_phy {
651         vdda-phy-supply = <&vreg_l1d_0p8>;
652         vdda-pll-supply = <&vreg_l2j_1p2>;
653 
654         status = "okay";
655 };
656 
657 &qupv3_0 {
658         status = "okay";
659 };
660 
661 &qupv3_1 {
662         status = "okay";
663 };
664 
665 &qupv3_2 {
666         status = "okay";
667 };
668 
669 &remoteproc_adsp {
670         firmware-name = "qcom/x1e80100/LENOVO/83ED/qcadsp8380.mbn",
671                         "qcom/x1e80100/LENOVO/83ED/adsp_dtbs.elf";
672         status = "okay";
673 };
674 
675 &remoteproc_cdsp {
676         firmware-name = "qcom/x1e80100/LENOVO/83ED/qccdsp8380.mbn",
677                         "qcom/x1e80100/LENOVO/83ED/cdsp_dtbs.elf";
678 
679         status = "okay";
680 };
681 
682 &smb2360_0_eusb2_repeater {
683         vdd18-supply = <&vreg_l3d_1p8>;
684         vdd3-supply = <&vreg_l2b_3p0>;
685 };
686 
687 &smb2360_1_eusb2_repeater {
688         vdd18-supply = <&vreg_l3d_1p8>;
689         vdd3-supply = <&vreg_l14b_3p0>;
690 };
691 
692 &smb2360_2_eusb2_repeater {
693         vdd18-supply = <&vreg_l3d_1p8>;
694         vdd3-supply = <&vreg_l8b_3p0>;
695 };
696 
697 &swr0 {
698         status = "okay";
699 
700         pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>;
701         pinctrl-names = "default";
702 
703         /* WSA8845, Left Woofer */
704         left_woofer: speaker@0,0 {
705                 compatible = "sdw20217020400";
706                 reg = <0 0>;
707                 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
708                 #sound-dai-cells = <0>;
709                 sound-name-prefix = "WooferLeft";
710                 vdd-1p8-supply = <&vreg_l15b_1p8>;
711                 vdd-io-supply = <&vreg_l12b_1p2>;
712                 qcom,port-mapping = <1 2 3 7 10 13>;
713         };
714 
715         /* WSA8845, Left Tweeter */
716         left_tweeter: speaker@0,1 {
717                 compatible = "sdw20217020400";
718                 reg = <0 1>;
719                 reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>;
720                 #sound-dai-cells = <0>;
721                 sound-name-prefix = "TweeterLeft";
722                 vdd-1p8-supply = <&vreg_l15b_1p8>;
723                 vdd-io-supply = <&vreg_l12b_1p2>;
724                 qcom,port-mapping = <4 5 6 7 11 13>;
725         };
726 };
727 
728 
729 &swr3 {
730         status = "okay";
731 
732         pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>;
733         pinctrl-names = "default";
734 
735         /* WSA8845, Right Woofer */
736         right_woofer: speaker@0,0 {
737                 compatible = "sdw20217020400";
738                 reg = <0 0>;
739                 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
740                 #sound-dai-cells = <0>;
741                 sound-name-prefix = "WooferRight";
742                 vdd-1p8-supply = <&vreg_l15b_1p8>;
743                 vdd-io-supply = <&vreg_l12b_1p2>;
744                 qcom,port-mapping = <1 2 3 7 10 13>;
745         };
746 
747         /* WSA8845, Right Tweeter */
748         right_tweeter: speaker@0,1 {
749                 compatible = "sdw20217020400";
750                 reg = <0 1>;
751                 reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>;
752                 #sound-dai-cells = <0>;
753                 sound-name-prefix = "TweeterRight";
754                 vdd-1p8-supply = <&vreg_l15b_1p8>;
755                 vdd-io-supply = <&vreg_l12b_1p2>;
756                 qcom,port-mapping = <4 5 6 7 11 13>;
757         };
758 };
759 
760 &tlmm {
761         gpio-reserved-ranges = <34 2>, /* Unused */
762                                <44 4>, /* SPI (TPM) */
763                                <238 1>; /* UFS Reset */
764 
765         edp_reg_en: edp-reg-en-state {
766                 pins = "gpio70";
767                 function = "gpio";
768                 drive-strength = <16>;
769                 bias-disable;
770         };
771 
772         kybd_default: kybd-default-state {
773                 pins = "gpio67";
774                 function = "gpio";
775                 bias-disable;
776         };
777 
778         nvme_reg_en: nvme-reg-en-state {
779                 pins = "gpio18";
780                 function = "gpio";
781                 drive-strength = <2>;
782                 bias-disable;
783         };
784 
785         pcie6a_default: pcie2a-default-state {
786                 clkreq-n-pins {
787                         pins = "gpio153";
788                         function = "pcie6a_clk";
789                         drive-strength = <2>;
790                         bias-pull-up;
791                 };
792 
793                 perst-n-pins {
794                         pins = "gpio152";
795                         function = "gpio";
796                         drive-strength = <2>;
797                         bias-pull-down;
798                 };
799 
800                 wake-n-pins {
801                        pins = "gpio154";
802                        function = "gpio";
803                        drive-strength = <2>;
804                        bias-pull-up;
805                };
806         };
807 
808         tpad_default: tpad-default-state {
809                 pins = "gpio3";
810                 function = "gpio";
811                 bias-disable;
812         };
813 
814         ts0_default: ts0-default-state {
815                 int-n-pins {
816                         pins = "gpio51";
817                         function = "gpio";
818                         bias-disable;
819                 };
820 
821                 reset-n-pins {
822                         pins = "gpio48";
823                         function = "gpio";
824                         output-high;
825                         drive-strength = <16>;
826                 };
827         };
828 
829 };
830 
831 &usb_1_ss0_hsphy {
832         vdd-supply = <&vreg_l3j_0p8>;
833         vdda12-supply = <&vreg_l2j_1p2>;
834 
835         phys = <&smb2360_0_eusb2_repeater>;
836 
837         status = "okay";
838 };
839 
840 &usb_1_ss0_qmpphy {
841         vdda-phy-supply = <&vreg_l3e_1p2>;
842         vdda-pll-supply = <&vreg_l1j_0p8>;
843 
844         orientation-switch;
845 
846         status = "okay";
847 };
848 
849 &usb_1_ss0 {
850         status = "okay";
851 };
852 
853 &usb_1_ss0_dwc3 {
854         dr_mode = "host";
855 };
856 
857 &usb_1_ss0_dwc3_hs {
858         remote-endpoint = <&pmic_glink_ss0_hs_in>;
859 };
860 
861 &usb_1_ss0_qmpphy_out {
862         remote-endpoint = <&pmic_glink_ss0_ss_in>;
863 };
864 
865 &usb_1_ss1_hsphy {
866         vdd-supply = <&vreg_l3j_0p8>;
867         vdda12-supply = <&vreg_l2j_1p2>;
868 
869         phys = <&smb2360_1_eusb2_repeater>;
870 
871         status = "okay";
872 };
873 
874 &usb_1_ss1_qmpphy {
875         vdda-phy-supply = <&vreg_l3e_1p2>;
876         vdda-pll-supply = <&vreg_l2d_0p9>;
877 
878         orientation-switch;
879 
880         status = "okay";
881 };
882 
883 &usb_1_ss1 {
884         status = "okay";
885 };
886 
887 &usb_1_ss1_dwc3 {
888         dr_mode = "host";
889 };
890 
891 &usb_1_ss1_dwc3_hs {
892         remote-endpoint = <&pmic_glink_ss1_hs_in>;
893 };
894 
895 &usb_1_ss1_qmpphy_out {
896         remote-endpoint = <&pmic_glink_ss1_ss_in>;
897 };
898 
899 &usb_1_ss2_hsphy {
900         vdd-supply = <&vreg_l3j_0p8>;
901         vdda12-supply = <&vreg_l2j_1p2>;
902 
903         phys = <&smb2360_2_eusb2_repeater>;
904 
905         status = "okay";
906 };
907 
908 &usb_1_ss2_qmpphy {
909         vdda-phy-supply = <&vreg_l3e_1p2>;
910         vdda-pll-supply = <&vreg_l2d_0p9>;
911 
912         status = "okay";
913 };
914 
915 &usb_1_ss2 {
916         status = "okay";
917 };
918 
919 &usb_1_ss2_dwc3 {
920         dr_mode = "host";
921 };
922 
923 &usb_1_ss2_dwc3_hs {
924         remote-endpoint = <&pmic_glink_ss2_hs_in>;
925 };
926 
927 &usb_1_ss2_qmpphy_out {
928         remote-endpoint = <&pmic_glink_ss2_ss_in>;
929 };

~ [ 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