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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.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) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4  * Copyright (c) 2024, Linaro Limited
  5  */
  6 
  7 /dts-v1/;
  8 
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/gpio-keys.h>
 11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 13 
 14 #include "x1e80100.dtsi"
 15 #include "x1e80100-pmics.dtsi"
 16 
 17 / {
 18         model = "Lenovo ThinkPad T14s Gen 6";
 19         compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100";
 20         chassis-type = "laptop";
 21 
 22         gpio-keys {
 23                 compatible = "gpio-keys";
 24 
 25                 pinctrl-0 = <&hall_int_n_default>;
 26                 pinctrl-names = "default";
 27 
 28                 switch-lid {
 29                         gpios = <&tlmm 92 GPIO_ACTIVE_LOW>;
 30                         linux,input-type = <EV_SW>;
 31                         linux,code = <SW_LID>;
 32                         wakeup-source;
 33                         wakeup-event-action = <EV_ACT_DEASSERTED>;
 34                 };
 35         };
 36 
 37         pmic-glink {
 38                 compatible = "qcom,x1e80100-pmic-glink",
 39                              "qcom,sm8550-pmic-glink",
 40                              "qcom,pmic-glink";
 41                 orientation-gpios = <&tlmm 121 GPIO_ACTIVE_HIGH>,
 42                                     <&tlmm 123 GPIO_ACTIVE_HIGH>;
 43                 #address-cells = <1>;
 44                 #size-cells = <0>;
 45 
 46                 /* Display-adjacent port */
 47                 connector@0 {
 48                         compatible = "usb-c-connector";
 49                         reg = <0>;
 50                         power-role = "dual";
 51                         data-role = "dual";
 52 
 53                         ports {
 54                                 #address-cells = <1>;
 55                                 #size-cells = <0>;
 56 
 57                                 port@0 {
 58                                         reg = <0>;
 59 
 60                                         pmic_glink_ss0_hs_in: endpoint {
 61                                                 remote-endpoint = <&usb_1_ss0_dwc3_hs>;
 62                                         };
 63                                 };
 64 
 65                                 port@1 {
 66                                         reg = <1>;
 67 
 68                                         pmic_glink_ss0_ss_in: endpoint {
 69                                                 remote-endpoint = <&usb_1_ss0_qmpphy_out>;
 70                                         };
 71                                 };
 72                         };
 73                 };
 74 
 75                 /* User-adjacent port */
 76                 connector@1 {
 77                         compatible = "usb-c-connector";
 78                         reg = <1>;
 79                         power-role = "dual";
 80                         data-role = "dual";
 81 
 82                         ports {
 83                                 #address-cells = <1>;
 84                                 #size-cells = <0>;
 85 
 86                                 port@0 {
 87                                         reg = <0>;
 88 
 89                                         pmic_glink_ss1_hs_in: endpoint {
 90                                                 remote-endpoint = <&usb_1_ss1_dwc3_hs>;
 91                                         };
 92                                 };
 93 
 94                                 port@1 {
 95                                         reg = <1>;
 96 
 97                                         pmic_glink_ss1_ss_in: endpoint {
 98                                                 remote-endpoint = <&usb_1_ss1_qmpphy_out>;
 99                                         };
100                                 };
101                         };
102                 };
103         };
104 
105         reserved-memory {
106                 linux,cma {
107                         compatible = "shared-dma-pool";
108                         size = <0x0 0x8000000>;
109                         reusable;
110                         linux,cma-default;
111                 };
112         };
113 
114         vreg_edp_3p3: regulator-edp-3p3 {
115                 compatible = "regulator-fixed";
116 
117                 regulator-name = "VREG_EDP_3P3";
118                 regulator-min-microvolt = <3300000>;
119                 regulator-max-microvolt = <3300000>;
120 
121                 gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
122                 enable-active-high;
123 
124                 pinctrl-0 = <&edp_reg_en>;
125                 pinctrl-names = "default";
126 
127                 regulator-boot-on;
128         };
129 
130         vreg_nvme: regulator-nvme {
131                 compatible = "regulator-fixed";
132 
133                 regulator-name = "VREG_NVME_3P3";
134                 regulator-min-microvolt = <3300000>;
135                 regulator-max-microvolt = <3300000>;
136 
137                 gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>;
138                 enable-active-high;
139 
140                 pinctrl-0 = <&nvme_reg_en>;
141                 pinctrl-names = "default";
142 
143                 regulator-boot-on;
144         };
145 
146         vph_pwr: regulator-vph-pwr {
147                 compatible = "regulator-fixed";
148 
149                 regulator-name = "vph_pwr";
150                 regulator-min-microvolt = <3700000>;
151                 regulator-max-microvolt = <3700000>;
152 
153                 regulator-always-on;
154                 regulator-boot-on;
155         };
156 };
157 
158 &apps_rsc {
159         regulators-0 {
160                 compatible = "qcom,pm8550-rpmh-regulators";
161                 qcom,pmic-id = "b";
162 
163                 vdd-bob1-supply = <&vph_pwr>;
164                 vdd-bob2-supply = <&vph_pwr>;
165                 vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
166                 vdd-l2-l13-l14-supply = <&vreg_bob1>;
167                 vdd-l5-l16-supply = <&vreg_bob1>;
168                 vdd-l6-l7-supply = <&vreg_bob2>;
169                 vdd-l8-l9-supply = <&vreg_bob1>;
170                 vdd-l12-supply = <&vreg_s5j_1p2>;
171                 vdd-l15-supply = <&vreg_s4c_1p8>;
172                 vdd-l17-supply = <&vreg_bob2>;
173 
174                 vreg_bob1: bob1 {
175                         regulator-name = "vreg_bob1";
176                         regulator-min-microvolt = <3008000>;
177                         regulator-max-microvolt = <3960000>;
178                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
179                 };
180 
181                 vreg_bob2: bob2 {
182                         regulator-name = "vreg_bob2";
183                         regulator-min-microvolt = <2504000>;
184                         regulator-max-microvolt = <3008000>;
185                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
186                 };
187 
188                 vreg_l2b_3p0: ldo2 {
189                         regulator-name = "vreg_l2b_3p0";
190                         regulator-min-microvolt = <3072000>;
191                         regulator-max-microvolt = <3072000>;
192                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
193                 };
194 
195                 vreg_l4b_1p8: ldo4 {
196                         regulator-name = "vreg_l4b_1p8";
197                         regulator-min-microvolt = <1800000>;
198                         regulator-max-microvolt = <1800000>;
199                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
200                 };
201 
202                 vreg_l6b_1p8: ldo6 {
203                         regulator-name = "vreg_l6b_1p8";
204                         regulator-min-microvolt = <1800000>;
205                         regulator-max-microvolt = <2960000>;
206                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
207                 };
208 
209                 vreg_l8b_3p0: ldo8 {
210                         regulator-name = "vreg_l8b_3p0";
211                         regulator-min-microvolt = <3072000>;
212                         regulator-max-microvolt = <3072000>;
213                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214                 };
215 
216                 vreg_l9b_2p9: ldo9 {
217                         regulator-name = "vreg_l9b_2p9";
218                         regulator-min-microvolt = <2960000>;
219                         regulator-max-microvolt = <2960000>;
220                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
221                 };
222 
223                 vreg_l10b_1p8: ldo10 {
224                         regulator-name = "vreg_l10b_1p8";
225                         regulator-min-microvolt = <1800000>;
226                         regulator-max-microvolt = <1800000>;
227                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
228                 };
229 
230                 vreg_l12b_1p2: ldo12 {
231                         regulator-name = "vreg_l12b_1p2";
232                         regulator-min-microvolt = <1200000>;
233                         regulator-max-microvolt = <1200000>;
234                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
235                 };
236 
237                 vreg_l13b_3p0: ldo13 {
238                         regulator-name = "vreg_l13b_3p0";
239                         regulator-min-microvolt = <3072000>;
240                         regulator-max-microvolt = <3072000>;
241                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
242                 };
243 
244                 vreg_l14b_3p0: ldo14 {
245                         regulator-name = "vreg_l14b_3p0";
246                         regulator-min-microvolt = <3072000>;
247                         regulator-max-microvolt = <3072000>;
248                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
249                 };
250 
251                 vreg_l15b_1p8: ldo15 {
252                         regulator-name = "vreg_l15b_1p8";
253                         regulator-min-microvolt = <1800000>;
254                         regulator-max-microvolt = <1800000>;
255                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
256                 };
257 
258                 vreg_l17b_2p5: ldo17 {
259                         regulator-name = "vreg_l17b_2p5";
260                         regulator-min-microvolt = <2504000>;
261                         regulator-max-microvolt = <2504000>;
262                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
263                 };
264         };
265 
266         regulators-1 {
267                 compatible = "qcom,pm8550ve-rpmh-regulators";
268                 qcom,pmic-id = "c";
269 
270                 vdd-l1-supply = <&vreg_s5j_1p2>;
271                 vdd-l2-supply = <&vreg_s1f_0p7>;
272                 vdd-l3-supply = <&vreg_s1f_0p7>;
273                 vdd-s4-supply = <&vph_pwr>;
274 
275                 vreg_s4c_1p8: smps4 {
276                         regulator-name = "vreg_s4c_1p8";
277                         regulator-min-microvolt = <1856000>;
278                         regulator-max-microvolt = <2000000>;
279                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280                 };
281 
282                 vreg_l1c_1p2: ldo1 {
283                         regulator-name = "vreg_l1c_1p2";
284                         regulator-min-microvolt = <1200000>;
285                         regulator-max-microvolt = <1200000>;
286                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
287                 };
288 
289                 vreg_l2c_0p8: ldo2 {
290                         regulator-name = "vreg_l2c_0p8";
291                         regulator-min-microvolt = <880000>;
292                         regulator-max-microvolt = <880000>;
293                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
294                 };
295 
296                 vreg_l3c_0p8: ldo3 {
297                         regulator-name = "vreg_l3c_0p8";
298                         regulator-min-microvolt = <912000>;
299                         regulator-max-microvolt = <912000>;
300                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
301                 };
302         };
303 
304         regulators-2 {
305                 compatible = "qcom,pmc8380-rpmh-regulators";
306                 qcom,pmic-id = "d";
307 
308                 vdd-l1-supply = <&vreg_s1f_0p7>;
309                 vdd-l2-supply = <&vreg_s1f_0p7>;
310                 vdd-l3-supply = <&vreg_s4c_1p8>;
311                 vdd-s1-supply = <&vph_pwr>;
312 
313                 vreg_l1d_0p8: ldo1 {
314                         regulator-name = "vreg_l1d_0p8";
315                         regulator-min-microvolt = <880000>;
316                         regulator-max-microvolt = <880000>;
317                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318                 };
319 
320                 vreg_l2d_0p9: ldo2 {
321                         regulator-name = "vreg_l2d_0p9";
322                         regulator-min-microvolt = <912000>;
323                         regulator-max-microvolt = <912000>;
324                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325                 };
326 
327                 vreg_l3d_1p8: ldo3 {
328                         regulator-name = "vreg_l3d_1p8";
329                         regulator-min-microvolt = <1800000>;
330                         regulator-max-microvolt = <1800000>;
331                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332                 };
333         };
334 
335         regulators-3 {
336                 compatible = "qcom,pmc8380-rpmh-regulators";
337                 qcom,pmic-id = "e";
338 
339                 vdd-l2-supply = <&vreg_s1f_0p7>;
340                 vdd-l3-supply = <&vreg_s5j_1p2>;
341 
342                 vreg_l2e_0p8: ldo2 {
343                         regulator-name = "vreg_l2e_0p8";
344                         regulator-min-microvolt = <880000>;
345                         regulator-max-microvolt = <880000>;
346                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347                 };
348 
349                 vreg_l3e_1p2: ldo3 {
350                         regulator-name = "vreg_l3e_1p2";
351                         regulator-min-microvolt = <1200000>;
352                         regulator-max-microvolt = <1200000>;
353                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
354                 };
355         };
356 
357         regulators-4 {
358                 compatible = "qcom,pmc8380-rpmh-regulators";
359                 qcom,pmic-id = "f";
360 
361                 vdd-l1-supply = <&vreg_s5j_1p2>;
362                 vdd-l2-supply = <&vreg_s5j_1p2>;
363                 vdd-l3-supply = <&vreg_s5j_1p2>;
364                 vdd-s1-supply = <&vph_pwr>;
365 
366                 vreg_s1f_0p7: smps1 {
367                         regulator-name = "vreg_s1f_0p7";
368                         regulator-min-microvolt = <700000>;
369                         regulator-max-microvolt = <1100000>;
370                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371                 };
372         };
373 
374         regulators-6 {
375                 compatible = "qcom,pm8550ve-rpmh-regulators";
376                 qcom,pmic-id = "i";
377 
378                 vdd-l1-supply = <&vreg_s4c_1p8>;
379                 vdd-l2-supply = <&vreg_s5j_1p2>;
380                 vdd-l3-supply = <&vreg_s1f_0p7>;
381                 vdd-s1-supply = <&vph_pwr>;
382                 vdd-s2-supply = <&vph_pwr>;
383 
384                 vreg_l1i_1p8: ldo1 {
385                         regulator-name = "vreg_l1i_1p8";
386                         regulator-min-microvolt = <1800000>;
387                         regulator-max-microvolt = <1800000>;
388                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389                 };
390 
391                 vreg_l2i_1p2: ldo2 {
392                         regulator-name = "vreg_l2i_1p2";
393                         regulator-min-microvolt = <1200000>;
394                         regulator-max-microvolt = <1200000>;
395                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
396                 };
397 
398                 vreg_l3i_0p8: ldo3 {
399                         regulator-name = "vreg_l3i_0p8";
400                         regulator-min-microvolt = <880000>;
401                         regulator-max-microvolt = <880000>;
402                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
403                 };
404         };
405 
406         regulators-7 {
407                 compatible = "qcom,pm8550ve-rpmh-regulators";
408                 qcom,pmic-id = "j";
409 
410                 vdd-l1-supply = <&vreg_s1f_0p7>;
411                 vdd-l2-supply = <&vreg_s5j_1p2>;
412                 vdd-l3-supply = <&vreg_s1f_0p7>;
413                 vdd-s5-supply = <&vph_pwr>;
414 
415                 vreg_s5j_1p2: smps5 {
416                         regulator-name = "vreg_s5j_1p2";
417                         regulator-min-microvolt = <1256000>;
418                         regulator-max-microvolt = <1304000>;
419                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
420                 };
421 
422                 vreg_l1j_0p8: ldo1 {
423                         regulator-name = "vreg_l1j_0p8";
424                         regulator-min-microvolt = <912000>;
425                         regulator-max-microvolt = <912000>;
426                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
427                 };
428 
429                 vreg_l2j_1p2: ldo2 {
430                         regulator-name = "vreg_l2j_1p2";
431                         regulator-min-microvolt = <1256000>;
432                         regulator-max-microvolt = <1256000>;
433                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
434                 };
435 
436                 vreg_l3j_0p8: ldo3 {
437                         regulator-name = "vreg_l3j_0p8";
438                         regulator-min-microvolt = <880000>;
439                         regulator-max-microvolt = <880000>;
440                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
441                 };
442         };
443 };
444 
445 &gpu {
446         status = "okay";
447 
448         zap-shader {
449                 firmware-name = "qcom/x1e80100/LENOVO/21N1/qcdxkmsuc8380.mbn";
450         };
451 };
452 
453 &i2c0 {
454         clock-frequency = <400000>;
455 
456         status = "okay";
457 
458         /* ELAN06E2 or ELAN06E3 */
459         touchpad@15 {
460                 compatible = "hid-over-i2c";
461                 reg = <0x15>;
462 
463                 hid-descr-addr = <0x1>;
464                 interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
465 
466                 pinctrl-0 = <&tpad_default>;
467                 pinctrl-names = "default";
468 
469                 wakeup-source;
470         };
471 
472         /* TODO: second-sourced SYNA8022 or SYNA8024 touchpad @ 0x2c */
473 
474         /* ELAN06F1 or SYNA06F2 */
475         keyboard@3a {
476                 compatible = "hid-over-i2c";
477                 reg = <0x3a>;
478 
479                 hid-descr-addr = <0x1>;
480                 interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>;
481 
482                 pinctrl-0 = <&kybd_default>;
483                 pinctrl-names = "default";
484 
485                 wakeup-source;
486         };
487 };
488 
489 &i2c8 {
490         clock-frequency = <400000>;
491 
492         status = "okay";
493 
494         /* ILIT2911 or GTCH1563 */
495         touchscreen@10 {
496                 compatible = "hid-over-i2c";
497                 reg = <0x10>;
498 
499                 hid-descr-addr = <0x1>;
500                 interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>;
501 
502                 pinctrl-0 = <&ts0_default>;
503                 pinctrl-names = "default";
504         };
505 
506         /* TODO: second-sourced touchscreen @ 0x41 */
507 };
508 
509 &mdss {
510         status = "okay";
511 };
512 
513 &mdss_dp3 {
514         compatible = "qcom,x1e80100-dp";
515         /delete-property/ #sound-dai-cells;
516 
517         status = "okay";
518 
519         aux-bus {
520                 panel {
521                         compatible = "edp-panel";
522                         enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>;
523                         power-supply = <&vreg_edp_3p3>;
524 
525                         pinctrl-0 = <&edp_bl_en>;
526                         pinctrl-names = "default";
527 
528                         port {
529                                 edp_panel_in: endpoint {
530                                         remote-endpoint = <&mdss_dp3_out>;
531                                 };
532                         };
533                 };
534         };
535 
536         ports {
537                 port@1 {
538                         reg = <1>;
539 
540                         mdss_dp3_out: endpoint {
541                                 data-lanes = <0 1 2 3>;
542                                 link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
543 
544                                 remote-endpoint = <&edp_panel_in>;
545                         };
546                 };
547         };
548 };
549 
550 &mdss_dp3_phy {
551         vdda-phy-supply = <&vreg_l3j_0p8>;
552         vdda-pll-supply = <&vreg_l2j_1p2>;
553 
554         status = "okay";
555 };
556 
557 &pcie4 {
558         perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
559         wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
560 
561         pinctrl-0 = <&pcie4_default>;
562         pinctrl-names = "default";
563 
564         status = "okay";
565 };
566 
567 &pcie4_phy {
568         vdda-phy-supply = <&vreg_l3i_0p8>;
569         vdda-pll-supply = <&vreg_l3e_1p2>;
570 
571         status = "okay";
572 };
573 
574 &pcie6a {
575         perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
576         wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
577 
578         vddpe-3v3-supply = <&vreg_nvme>;
579 
580         pinctrl-0 = <&pcie6a_default>;
581         pinctrl-names = "default";
582 
583         status = "okay";
584 };
585 
586 &pcie6a_phy {
587         vdda-phy-supply = <&vreg_l1d_0p8>;
588         vdda-pll-supply = <&vreg_l2j_1p2>;
589 
590         status = "okay";
591 };
592 
593 &pmc8380_3_gpios {
594         edp_bl_en: edp-bl-en-state {
595                 pins = "gpio4";
596                 function = "normal";
597                 power-source = <1>;
598                 input-disable;
599                 output-enable;
600         };
601 };
602 
603 &qupv3_0 {
604         status = "okay";
605 };
606 
607 &qupv3_1 {
608         status = "okay";
609 };
610 
611 &qupv3_2 {
612         status = "okay";
613 };
614 
615 &remoteproc_adsp {
616         firmware-name = "qcom/x1e80100/LENOVO/21N1/qcadsp8380.mbn",
617                         "qcom/x1e80100/LENOVO/21N1/adsp_dtbs.elf";
618 
619         status = "okay";
620 };
621 
622 &remoteproc_cdsp {
623         firmware-name = "qcom/x1e80100/LENOVO/21N1/qccdsp8380.mbn",
624                         "qcom/x1e80100/LENOVO/21N1/cdsp_dtbs.elf";
625 
626         status = "okay";
627 };
628 
629 &smb2360_0_eusb2_repeater {
630         vdd18-supply = <&vreg_l3d_1p8>;
631         vdd3-supply = <&vreg_l2b_3p0>;
632 };
633 
634 &smb2360_1_eusb2_repeater {
635         vdd18-supply = <&vreg_l3d_1p8>;
636         vdd3-supply = <&vreg_l14b_3p0>;
637 };
638 
639 &tlmm {
640         gpio-reserved-ranges = <34 2>, /* Unused */
641                                <44 4>, /* SPI (TPM) */
642                                <72 2>, /* Secure EC I2C connection (?) */
643                                <238 1>; /* UFS Reset */
644 
645         tpad_default: tpad-default-state {
646                 pins = "gpio3";
647                 function = "gpio";
648                 bias-pull-up;
649         };
650 
651         nvme_reg_en: nvme-reg-en-state {
652                 pins = "gpio18";
653                 function = "gpio";
654                 drive-strength = <2>;
655                 bias-disable;
656         };
657 
658         ts0_default: ts0-default-state {
659                 reset-n-pins {
660                         pins = "gpio48";
661                         function = "gpio";
662                         output-high;
663                         drive-strength = <16>;
664                 };
665 
666                 int-n-pins {
667                         pins = "gpio51";
668                         function = "gpio";
669                         bias-disable;
670                 };
671         };
672 
673         kybd_default: kybd-default-state {
674                 pins = "gpio67";
675                 function = "gpio";
676                 bias-disable;
677         };
678 
679         edp_reg_en: edp-reg-en-state {
680                 pins = "gpio70";
681                 function = "gpio";
682                 drive-strength = <16>;
683                 bias-disable;
684         };
685 
686         hall_int_n_default: hall-int-n-state {
687                 pins = "gpio92";
688                 function = "gpio";
689                 bias-disable;
690         };
691 
692         pcie4_default: pcie4-default-state {
693                 clkreq-n-pins {
694                         pins = "gpio147";
695                         function = "pcie4_clk";
696                         drive-strength = <2>;
697                         bias-pull-up;
698                 };
699 
700                 perst-n-pins {
701                         pins = "gpio146";
702                         function = "gpio";
703                         drive-strength = <2>;
704                         bias-disable;
705                 };
706 
707                 wake-n-pins {
708                         pins = "gpio148";
709                         function = "gpio";
710                         drive-strength = <2>;
711                         bias-pull-up;
712                 };
713         };
714 
715         pcie6a_default: pcie6a-default-state {
716                 clkreq-n-pins {
717                         pins = "gpio153";
718                         function = "pcie6a_clk";
719                         drive-strength = <2>;
720                         bias-pull-up;
721                 };
722 
723                 perst-n-pins {
724                         pins = "gpio152";
725                         function = "gpio";
726                         drive-strength = <2>;
727                         bias-disable;
728                 };
729 
730                 wake-n-pins {
731                         pins = "gpio154";
732                         function = "gpio";
733                         drive-strength = <2>;
734                         bias-pull-up;
735                 };
736         };
737 
738         wcd_default: wcd-reset-n-active-state {
739                 pins = "gpio191";
740                 function = "gpio";
741                 drive-strength = <16>;
742                 bias-disable;
743                 output-low;
744         };
745 };
746 
747 &usb_1_ss0_hsphy {
748         vdd-supply = <&vreg_l3j_0p8>;
749         vdda12-supply = <&vreg_l2j_1p2>;
750 
751         phys = <&smb2360_0_eusb2_repeater>;
752 
753         status = "okay";
754 };
755 
756 &usb_1_ss0_qmpphy {
757         vdda-phy-supply = <&vreg_l3e_1p2>;
758         vdda-pll-supply = <&vreg_l1j_0p8>;
759 
760         status = "okay";
761 };
762 
763 &usb_1_ss0 {
764         status = "okay";
765 };
766 
767 &usb_1_ss0_dwc3 {
768         dr_mode = "host";
769 };
770 
771 &usb_1_ss0_dwc3_hs {
772         remote-endpoint = <&pmic_glink_ss0_hs_in>;
773 };
774 
775 &usb_1_ss0_qmpphy_out {
776         remote-endpoint = <&pmic_glink_ss0_ss_in>;
777 };
778 
779 &usb_1_ss1_hsphy {
780         vdd-supply = <&vreg_l3j_0p8>;
781         vdda12-supply = <&vreg_l2j_1p2>;
782 
783         phys = <&smb2360_1_eusb2_repeater>;
784 
785         status = "okay";
786 };
787 
788 &usb_1_ss1_qmpphy {
789         vdda-phy-supply = <&vreg_l3e_1p2>;
790         vdda-pll-supply = <&vreg_l2d_0p9>;
791 
792         status = "okay";
793 };
794 
795 &usb_1_ss1 {
796         status = "okay";
797 };
798 
799 &usb_1_ss1_dwc3 {
800         dr_mode = "host";
801 };
802 
803 &usb_1_ss1_dwc3_hs {
804         remote-endpoint = <&pmic_glink_ss1_hs_in>;
805 };
806 
807 &usb_1_ss1_qmpphy_out {
808         remote-endpoint = <&pmic_glink_ss1_ss_in>;
809 };

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