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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sdm850-lenovo-yoga-c630.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/qcom/sdm850-lenovo-yoga-c630.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/qcom/sdm850-lenovo-yoga-c630.dts (Version linux-6.5.13)


  1 // SPDX-License-Identifier: BSD-3-Clause            1 // SPDX-License-Identifier: BSD-3-Clause
  2 /*                                                  2 /*
  3  * Lenovo Yoga C630                                 3  * Lenovo Yoga C630
  4  *                                                  4  *
  5  * Copyright (c) 2019, Linaro Ltd.                  5  * Copyright (c) 2019, Linaro Ltd.
  6  */                                                 6  */
  7                                                     7 
  8 /dts-v1/;                                           8 /dts-v1/;
  9                                                     9 
 10 #include <dt-bindings/input/gpio-keys.h>           10 #include <dt-bindings/input/gpio-keys.h>
 11 #include <dt-bindings/input/input.h>               11 #include <dt-bindings/input/input.h>
 12 #include <dt-bindings/regulator/qcom,rpmh-regu     12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 13 #include <dt-bindings/sound/qcom,q6afe.h>          13 #include <dt-bindings/sound/qcom,q6afe.h>
 14 #include <dt-bindings/sound/qcom,q6asm.h>          14 #include <dt-bindings/sound/qcom,q6asm.h>
 15 #include "sdm850.dtsi"                             15 #include "sdm850.dtsi"
 16 #include "sdm845-wcd9340.dtsi"                     16 #include "sdm845-wcd9340.dtsi"
 17 #include "pm8998.dtsi"                             17 #include "pm8998.dtsi"
 18                                                    18 
 19 /*                                                 19 /*
 20  * Update following upstream (sdm845.dtsi) res     20  * Update following upstream (sdm845.dtsi) reserved
 21  * memory mappings for firmware loading to suc     21  * memory mappings for firmware loading to succeed
 22  * and enable the IPA device.                      22  * and enable the IPA device.
 23  */                                                23  */
 24 /delete-node/ &ipa_fw_mem;                         24 /delete-node/ &ipa_fw_mem;
 25 /delete-node/ &ipa_gsi_mem;                        25 /delete-node/ &ipa_gsi_mem;
 26 /delete-node/ &gpu_mem;                            26 /delete-node/ &gpu_mem;
 27 /delete-node/ &adsp_mem;                           27 /delete-node/ &adsp_mem;
 28 /delete-node/ &wlan_msa_mem;                       28 /delete-node/ &wlan_msa_mem;
 29                                                    29 
 30 / {                                                30 / {
 31         model = "Lenovo Yoga C630";                31         model = "Lenovo Yoga C630";
 32         compatible = "lenovo,yoga-c630", "qcom     32         compatible = "lenovo,yoga-c630", "qcom,sdm845";
 33         chassis-type = "convertible";              33         chassis-type = "convertible";
 34                                                    34 
 35         aliases {                                  35         aliases {
 36                 serial0 = &uart9;              !!  36                 hsuart0 = &uart6;
 37                 serial1 = &uart6;              << 
 38         };                                         37         };
 39                                                    38 
 40         gpio-keys {                                39         gpio-keys {
 41                 compatible = "gpio-keys";          40                 compatible = "gpio-keys";
 42                                                    41 
 43                 pinctrl-names = "default";         42                 pinctrl-names = "default";
 44                 pinctrl-0 = <&lid_pin_active>,     43                 pinctrl-0 = <&lid_pin_active>, <&mode_pin_active>;
 45                                                    44 
 46                 switch-lid {                       45                 switch-lid {
 47                         gpios = <&tlmm 124 GPI     46                         gpios = <&tlmm 124 GPIO_ACTIVE_HIGH>;
 48                         linux,input-type = <EV     47                         linux,input-type = <EV_SW>;
 49                         linux,code = <SW_LID>;     48                         linux,code = <SW_LID>;
 50                         wakeup-source;             49                         wakeup-source;
 51                         wakeup-event-action =      50                         wakeup-event-action = <EV_ACT_DEASSERTED>;
 52                 };                                 51                 };
 53                                                    52 
 54                 switch-mode {                      53                 switch-mode {
 55                         gpios = <&tlmm 95 GPIO     54                         gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>;
 56                         linux,input-type = <EV     55                         linux,input-type = <EV_SW>;
 57                         linux,code = <SW_TABLE     56                         linux,code = <SW_TABLET_MODE>;
 58                 };                                 57                 };
 59         };                                         58         };
 60                                                    59 
 61         /* Reserved memory changes for IPA */      60         /* Reserved memory changes for IPA */
 62         reserved-memory {                          61         reserved-memory {
 63                 wlan_msa_mem: memory@8c400000      62                 wlan_msa_mem: memory@8c400000 {
 64                         reg = <0 0x8c400000 0      63                         reg = <0 0x8c400000 0 0x100000>;
 65                         no-map;                    64                         no-map;
 66                 };                                 65                 };
 67                                                    66 
 68                 gpu_mem: memory@8c515000 {         67                 gpu_mem: memory@8c515000 {
 69                         reg = <0 0x8c515000 0      68                         reg = <0 0x8c515000 0 0x2000>;
 70                         no-map;                    69                         no-map;
 71                 };                                 70                 };
 72                                                    71 
 73                 ipa_fw_mem: memory@8c517000 {      72                 ipa_fw_mem: memory@8c517000 {
 74                         reg = <0 0x8c517000 0      73                         reg = <0 0x8c517000 0 0x5a000>;
 75                         no-map;                    74                         no-map;
 76                 };                                 75                 };
 77                                                    76 
 78                 adsp_mem: memory@8c600000 {        77                 adsp_mem: memory@8c600000 {
 79                         reg = <0 0x8c600000 0      78                         reg = <0 0x8c600000 0 0x1a00000>;
 80                         no-map;                    79                         no-map;
 81                 };                                 80                 };
 82         };                                         81         };
 83                                                    82 
 84         sw_edp_1p2: edp-1p2-regulator {        << 
 85                 compatible = "regulator-fixed" << 
 86                 regulator-name = "sw_edp_1p2"; << 
 87                                                << 
 88                 regulator-min-microvolt = <120 << 
 89                 regulator-max-microvolt = <120 << 
 90                                                << 
 91                 pinctrl-0 = <&sw_edp_1p2_en>;  << 
 92                 pinctrl-names = "default";     << 
 93                                                << 
 94                 gpio = <&pm8998_gpios 9 GPIO_A << 
 95                 enable-active-high;            << 
 96                                                << 
 97                 vin-supply = <&vreg_l2a_1p2>;  << 
 98         };                                     << 
 99                                                << 
100         sn65dsi86_refclk: sn65dsi86-refclk {       83         sn65dsi86_refclk: sn65dsi86-refclk {
101                 compatible = "fixed-clock";        84                 compatible = "fixed-clock";
102                 #clock-cells = <0>;                85                 #clock-cells = <0>;
103                                                    86 
104                 clock-frequency = <19200000>;      87                 clock-frequency = <19200000>;
105         };                                         88         };
106                                                    89 
107         vph_pwr: regulator-vph-pwr {           << 
108                 compatible = "regulator-fixed" << 
109                 regulator-name = "vph_pwr";    << 
110                 regulator-min-microvolt = <370 << 
111                 regulator-max-microvolt = <370 << 
112         };                                     << 
113                                                << 
114         vlcm_3v3: regulator-vlcm-3v3 {         << 
115                 compatible = "regulator-fixed" << 
116                 regulator-name = "vlcm_3v3";   << 
117                                                << 
118                 vin-supply = <&vph_pwr>;       << 
119                 regulator-min-microvolt = <330 << 
120                 regulator-max-microvolt = <330 << 
121                                                << 
122                 gpio = <&tlmm 88 GPIO_ACTIVE_H << 
123                 enable-active-high;            << 
124         };                                     << 
125                                                << 
126         backlight: backlight {                     90         backlight: backlight {
127                 compatible = "pwm-backlight";      91                 compatible = "pwm-backlight";
128                 pwms = <&sn65dsi86 1000000>;       92                 pwms = <&sn65dsi86 1000000>;
129                 enable-gpios = <&tlmm 11 GPIO_     93                 enable-gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
130         };                                         94         };
131 };                                                 95 };
132                                                    96 
133 &adsp_pas {                                        97 &adsp_pas {
134         firmware-name = "qcom/sdm850/LENOVO/81     98         firmware-name = "qcom/sdm850/LENOVO/81JL/qcadsp850.mbn";
135         status = "okay";                           99         status = "okay";
136 };                                                100 };
137                                                   101 
138 &apps_rsc {                                       102 &apps_rsc {
139         regulators-0 {                            103         regulators-0 {
140                 compatible = "qcom,pm8998-rpmh    104                 compatible = "qcom,pm8998-rpmh-regulators";
141                 qcom,pmic-id = "a";               105                 qcom,pmic-id = "a";
142                                                   106 
143                 vdd-l2-l8-l17-supply = <&vreg_    107                 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
144                 vdd-l7-l12-l14-l15-supply = <&    108                 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
145                                                   109 
146                 vreg_s2a_1p125: smps2 {           110                 vreg_s2a_1p125: smps2 {
147                 };                                111                 };
148                                                   112 
149                 vreg_s3a_1p35: smps3 {            113                 vreg_s3a_1p35: smps3 {
150                         regulator-min-microvol    114                         regulator-min-microvolt = <1352000>;
151                         regulator-max-microvol    115                         regulator-max-microvolt = <1352000>;
152                         regulator-initial-mode    116                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
153                 };                                117                 };
154                                                   118 
155                 vreg_s4a_1p8: smps4 {             119                 vreg_s4a_1p8: smps4 {
156                         regulator-min-microvol    120                         regulator-min-microvolt = <1800000>;
157                         regulator-max-microvol    121                         regulator-max-microvolt = <1800000>;
158                         regulator-initial-mode    122                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
159                 };                                123                 };
160                                                   124 
161                 vreg_s5a_2p04: smps5 {            125                 vreg_s5a_2p04: smps5 {
162                         regulator-min-microvol    126                         regulator-min-microvolt = <2040000>;
163                         regulator-max-microvol    127                         regulator-max-microvolt = <2040000>;
164                         regulator-initial-mode    128                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
165                 };                                129                 };
166                                                   130 
167                 vreg_s7a_1p025: smps7 {           131                 vreg_s7a_1p025: smps7 {
168                 };                                132                 };
169                                                   133 
170                 vdd_qusb_hs0:                     134                 vdd_qusb_hs0:
171                 vdda_hp_pcie_core:                135                 vdda_hp_pcie_core:
172                 vdda_mipi_csi0_0p9:               136                 vdda_mipi_csi0_0p9:
173                 vdda_mipi_csi1_0p9:               137                 vdda_mipi_csi1_0p9:
174                 vdda_mipi_csi2_0p9:               138                 vdda_mipi_csi2_0p9:
175                 vdda_mipi_dsi0_pll:               139                 vdda_mipi_dsi0_pll:
176                 vdda_mipi_dsi1_pll:               140                 vdda_mipi_dsi1_pll:
177                 vdda_qlink_lv:                    141                 vdda_qlink_lv:
178                 vdda_qlink_lv_ck:                 142                 vdda_qlink_lv_ck:
179                 vdda_qrefs_0p875:                 143                 vdda_qrefs_0p875:
180                 vdda_pcie_core:                   144                 vdda_pcie_core:
181                 vdda_pll_cc_ebi01:                145                 vdda_pll_cc_ebi01:
182                 vdda_pll_cc_ebi23:                146                 vdda_pll_cc_ebi23:
183                 vdda_sp_sensor:                   147                 vdda_sp_sensor:
184                 vdda_ufs1_core:                   148                 vdda_ufs1_core:
185                 vdda_ufs2_core:                   149                 vdda_ufs2_core:
186                 vdda_usb1_ss_core:                150                 vdda_usb1_ss_core:
187                 vdda_usb2_ss_core:                151                 vdda_usb2_ss_core:
188                 vreg_l1a_0p875: ldo1 {            152                 vreg_l1a_0p875: ldo1 {
189                         regulator-min-microvol    153                         regulator-min-microvolt = <880000>;
190                         regulator-max-microvol    154                         regulator-max-microvolt = <880000>;
191                         regulator-initial-mode    155                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
192                 };                                156                 };
193                                                   157 
194                 vddpx_10:                         158                 vddpx_10:
195                 vreg_l2a_1p2: ldo2 {              159                 vreg_l2a_1p2: ldo2 {
196                         regulator-min-microvol    160                         regulator-min-microvolt = <1200000>;
197                         regulator-max-microvol    161                         regulator-max-microvolt = <1200000>;
198                         regulator-initial-mode    162                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
199                         regulator-always-on;      163                         regulator-always-on;
200                 };                                164                 };
201                                                   165 
202                 vreg_l3a_1p0: ldo3 {              166                 vreg_l3a_1p0: ldo3 {
203                 };                                167                 };
204                                                   168 
205                 vdd_wcss_cx:                      169                 vdd_wcss_cx:
206                 vdd_wcss_mx:                      170                 vdd_wcss_mx:
207                 vdda_wcss_pll:                    171                 vdda_wcss_pll:
208                 vreg_l5a_0p8: ldo5 {              172                 vreg_l5a_0p8: ldo5 {
209                         regulator-min-microvol    173                         regulator-min-microvolt = <800000>;
210                         regulator-max-microvol    174                         regulator-max-microvolt = <800000>;
211                         regulator-initial-mode    175                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
212                 };                                176                 };
213                                                   177 
214                 vddpx_13:                         178                 vddpx_13:
215                 vreg_l6a_1p8: ldo6 {              179                 vreg_l6a_1p8: ldo6 {
216                         regulator-min-microvol    180                         regulator-min-microvolt = <1800000>;
217                         regulator-max-microvol    181                         regulator-max-microvolt = <1800000>;
218                         regulator-initial-mode    182                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
219                 };                                183                 };
220                                                   184 
221                 vreg_l7a_1p8: ldo7 {              185                 vreg_l7a_1p8: ldo7 {
222                         regulator-min-microvol    186                         regulator-min-microvolt = <1800000>;
223                         regulator-max-microvol    187                         regulator-max-microvolt = <1800000>;
224                         regulator-initial-mode    188                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
225                 };                                189                 };
226                                                   190 
227                 vreg_l8a_1p2: ldo8 {              191                 vreg_l8a_1p2: ldo8 {
228                 };                                192                 };
229                                                   193 
230                 vreg_l9a_1p8: ldo9 {              194                 vreg_l9a_1p8: ldo9 {
231                 };                                195                 };
232                                                   196 
233                 vreg_l10a_1p8: ldo10 {            197                 vreg_l10a_1p8: ldo10 {
234                 };                                198                 };
235                                                   199 
236                 vreg_l11a_1p0: ldo11 {            200                 vreg_l11a_1p0: ldo11 {
237                 };                                201                 };
238                                                   202 
239                 vdd_qfprom:                       203                 vdd_qfprom:
240                 vdd_qfprom_sp:                    204                 vdd_qfprom_sp:
241                 vdda_apc1_cs_1p8:                 205                 vdda_apc1_cs_1p8:
242                 vdda_gfx_cs_1p8:                  206                 vdda_gfx_cs_1p8:
243                 vdda_qrefs_1p8:                   207                 vdda_qrefs_1p8:
244                 vdda_qusb_hs0_1p8:                208                 vdda_qusb_hs0_1p8:
245                 vddpx_11:                         209                 vddpx_11:
246                 vreg_l12a_1p8: ldo12 {            210                 vreg_l12a_1p8: ldo12 {
247                         regulator-min-microvol    211                         regulator-min-microvolt = <1800000>;
248                         regulator-max-microvol    212                         regulator-max-microvolt = <1800000>;
249                         regulator-initial-mode    213                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250                 };                                214                 };
251                                                   215 
252                 vddpx_2:                          216                 vddpx_2:
253                 vreg_l13a_2p95: ldo13 {           217                 vreg_l13a_2p95: ldo13 {
254                 };                                218                 };
255                                                   219 
256                 vreg_l14a_1p88: ldo14 {           220                 vreg_l14a_1p88: ldo14 {
257                         regulator-min-microvol    221                         regulator-min-microvolt = <1880000>;
258                         regulator-max-microvol    222                         regulator-max-microvolt = <1880000>;
259                         regulator-initial-mode    223                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
260                         regulator-always-on;      224                         regulator-always-on;
261                 };                                225                 };
262                                                   226 
263                 vreg_l15a_1p8: ldo15 {            227                 vreg_l15a_1p8: ldo15 {
264                 };                                228                 };
265                                                   229 
266                 vreg_l16a_2p7: ldo16 {            230                 vreg_l16a_2p7: ldo16 {
267                 };                                231                 };
268                                                   232 
269                 vreg_l17a_1p3: ldo17 {            233                 vreg_l17a_1p3: ldo17 {
270                         regulator-min-microvol    234                         regulator-min-microvolt = <1304000>;
271                         regulator-max-microvol    235                         regulator-max-microvolt = <1304000>;
272                         regulator-initial-mode    236                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
273                 };                                237                 };
274                                                   238 
275                 vreg_l18a_2p7: ldo18 {            239                 vreg_l18a_2p7: ldo18 {
276                 };                                240                 };
277                                                   241 
278                 vreg_l19a_3p0: ldo19 {            242                 vreg_l19a_3p0: ldo19 {
279                         regulator-min-microvol    243                         regulator-min-microvolt = <3100000>;
280                         regulator-max-microvol    244                         regulator-max-microvolt = <3108000>;
281                         regulator-initial-mode    245                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282                 };                                246                 };
283                                                   247 
284                 vreg_l20a_2p95: ldo20 {           248                 vreg_l20a_2p95: ldo20 {
285                         regulator-min-microvol    249                         regulator-min-microvolt = <2960000>;
286                         regulator-max-microvol    250                         regulator-max-microvolt = <2960000>;
287                         regulator-initial-mode    251                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
288                 };                                252                 };
289                                                   253 
290                 vreg_l21a_2p95: ldo21 {           254                 vreg_l21a_2p95: ldo21 {
291                 };                                255                 };
292                                                   256 
293                 vreg_l22a_2p85: ldo22 {           257                 vreg_l22a_2p85: ldo22 {
294                 };                                258                 };
295                                                   259 
296                 vreg_l23a_3p3: ldo23 {            260                 vreg_l23a_3p3: ldo23 {
297                         regulator-min-microvol    261                         regulator-min-microvolt = <3300000>;
298                         regulator-max-microvol    262                         regulator-max-microvolt = <3312000>;
299                         regulator-initial-mode    263                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
300                 };                                264                 };
301                                                   265 
302                 vdda_qusb_hs0_3p1:                266                 vdda_qusb_hs0_3p1:
303                 vreg_l24a_3p075: ldo24 {          267                 vreg_l24a_3p075: ldo24 {
304                         regulator-min-microvol    268                         regulator-min-microvolt = <3075000>;
305                         regulator-max-microvol    269                         regulator-max-microvolt = <3083000>;
306                         regulator-initial-mode    270                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
307                 };                                271                 };
308                                                   272 
309                 vreg_l25a_3p3: ldo25 {            273                 vreg_l25a_3p3: ldo25 {
310                         regulator-min-microvol    274                         regulator-min-microvolt = <3104000>;
311                         regulator-max-microvol    275                         regulator-max-microvolt = <3112000>;
312                         regulator-initial-mode    276                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
313                 };                                277                 };
314                                                   278 
315                 vdda_hp_pcie_1p2:                 279                 vdda_hp_pcie_1p2:
316                 vdda_hv_ebi0:                     280                 vdda_hv_ebi0:
317                 vdda_hv_ebi1:                     281                 vdda_hv_ebi1:
318                 vdda_hv_ebi2:                     282                 vdda_hv_ebi2:
319                 vdda_hv_ebi3:                     283                 vdda_hv_ebi3:
320                 vdda_mipi_csi_1p25:               284                 vdda_mipi_csi_1p25:
321                 vdda_mipi_dsi0_1p2:               285                 vdda_mipi_dsi0_1p2:
322                 vdda_mipi_dsi1_1p2:               286                 vdda_mipi_dsi1_1p2:
323                 vdda_pcie_1p2:                    287                 vdda_pcie_1p2:
324                 vdda_ufs1_1p2:                    288                 vdda_ufs1_1p2:
325                 vdda_ufs2_1p2:                    289                 vdda_ufs2_1p2:
326                 vdda_usb1_ss_1p2:                 290                 vdda_usb1_ss_1p2:
327                 vdda_usb2_ss_1p2:                 291                 vdda_usb2_ss_1p2:
328                 vreg_l26a_1p2: ldo26 {            292                 vreg_l26a_1p2: ldo26 {
329                         regulator-min-microvol    293                         regulator-min-microvolt = <1200000>;
330                         regulator-max-microvol    294                         regulator-max-microvolt = <1208000>;
331                         regulator-initial-mode    295                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332                 };                                296                 };
333                                                   297 
334                 vreg_l28a_3p0: ldo28 {            298                 vreg_l28a_3p0: ldo28 {
335                 };                                299                 };
336                                                   300 
337                 vreg_lvs1a_1p8: lvs1 {            301                 vreg_lvs1a_1p8: lvs1 {
338                 };                                302                 };
339                                                   303 
340                 vreg_lvs2a_1p8: lvs2 {            304                 vreg_lvs2a_1p8: lvs2 {
341                 };                                305                 };
342         };                                        306         };
343 };                                                307 };
344                                                   308 
345 &cdsp_pas {                                       309 &cdsp_pas {
346         firmware-name = "qcom/sdm850/LENOVO/81    310         firmware-name = "qcom/sdm850/LENOVO/81JL/qccdsp850.mbn";
347         status = "okay";                          311         status = "okay";
348 };                                                312 };
349                                                   313 
350 &gcc {                                            314 &gcc {
351         protected-clocks = <GCC_QSPI_CORE_CLK>    315         protected-clocks = <GCC_QSPI_CORE_CLK>,
352                            <GCC_QSPI_CORE_CLK_    316                            <GCC_QSPI_CORE_CLK_SRC>,
353                            <GCC_QSPI_CNOC_PERI    317                            <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
354                            <GCC_LPASS_Q6_AXI_C    318                            <GCC_LPASS_Q6_AXI_CLK>,
355                            <GCC_LPASS_SWAY_CLK    319                            <GCC_LPASS_SWAY_CLK>;
356 };                                                320 };
357                                                   321 
358 &gmu {                                            322 &gmu {
359         status = "okay";                          323         status = "okay";
360 };                                                324 };
361                                                   325 
362 &gpu {                                            326 &gpu {
363         status = "okay";                          327         status = "okay";
364         zap-shader {                              328         zap-shader {
365                 memory-region = <&gpu_mem>;       329                 memory-region = <&gpu_mem>;
366                 firmware-name = "qcom/sdm850/L    330                 firmware-name = "qcom/sdm850/LENOVO/81JL/qcdxkmsuc850.mbn";
367         };                                        331         };
368 };                                                332 };
369                                                   333 
370 &i2c1 {                                           334 &i2c1 {
371         status = "okay";                          335         status = "okay";
372         clock-frequency = <400000>;               336         clock-frequency = <400000>;
373                                                << 
374         embedded-controller@70 {               << 
375                 compatible = "lenovo,yoga-c630 << 
376                 reg = <0x70>;                  << 
377                                                << 
378                 interrupts-extended = <&tlmm 2 << 
379                                                << 
380                 pinctrl-names = "default";     << 
381                 pinctrl-0 = <&ec_int_state>;   << 
382                                                << 
383                 #address-cells = <1>;          << 
384                 #size-cells = <0>;             << 
385                                                << 
386                 connector@0 {                  << 
387                         compatible = "usb-c-co << 
388                         reg = <0>;             << 
389                         power-role = "dual";   << 
390                         data-role = "host";    << 
391                                                << 
392                         ports {                << 
393                                 #address-cells << 
394                                 #size-cells =  << 
395                                                << 
396                                 port@0 {       << 
397                                         reg =  << 
398                                                << 
399                                         ucsi0_ << 
400                                                << 
401                                         };     << 
402                                 };             << 
403                                                << 
404                                 port@1 {       << 
405                                         reg =  << 
406                                                << 
407                                         ucsi0_ << 
408                                                << 
409                                         };     << 
410                                 };             << 
411                                                << 
412                                 port@2 {       << 
413                                         reg =  << 
414                                                << 
415                                         ucsi0_ << 
416                                         };     << 
417                                 };             << 
418                         };                     << 
419                 };                             << 
420                                                << 
421                 connector@1 {                  << 
422                         compatible = "usb-c-co << 
423                         reg = <1>;             << 
424                         power-role = "dual";   << 
425                         data-role = "host";    << 
426                                                << 
427                         /*                     << 
428                          * connected to the on << 
429                          * handled by the cont << 
430                          */                    << 
431                 };                             << 
432         };                                     << 
433 };                                                337 };
434                                                   338 
435 &i2c3 {                                           339 &i2c3 {
436         status = "okay";                          340         status = "okay";
437         clock-frequency = <400000>;               341         clock-frequency = <400000>;
438         /* Overwrite pinctrl-0 from sdm845.dts    342         /* Overwrite pinctrl-0 from sdm845.dtsi */
439         pinctrl-0 = <&qup_i2c3_default &i2c3_h    343         pinctrl-0 = <&qup_i2c3_default &i2c3_hid_active>;
440                                                   344 
441         tsel: hid@15 {                            345         tsel: hid@15 {
442                 compatible = "hid-over-i2c";      346                 compatible = "hid-over-i2c";
443                 reg = <0x15>;                     347                 reg = <0x15>;
444                 hid-descr-addr = <0x1>;           348                 hid-descr-addr = <0x1>;
445                                                   349 
446                 interrupts-extended = <&tlmm 3    350                 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
447         };                                        351         };
448                                                   352 
449         tsc2: hid@2c {                            353         tsc2: hid@2c {
450                 compatible = "hid-over-i2c";      354                 compatible = "hid-over-i2c";
451                 reg = <0x2c>;                     355                 reg = <0x2c>;
452                 hid-descr-addr = <0x20>;          356                 hid-descr-addr = <0x20>;
453                                                   357 
454                 interrupts-extended = <&tlmm 3    358                 interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_HIGH>;
455                                                << 
456                 wakeup-source;                 << 
457         };                                        359         };
458 };                                                360 };
459                                                   361 
460 &i2c5 {                                           362 &i2c5 {
461         status = "okay";                          363         status = "okay";
462         clock-frequency = <400000>;               364         clock-frequency = <400000>;
463                                                   365 
464         tsc1: hid@10 {                            366         tsc1: hid@10 {
465                 compatible = "hid-over-i2c";      367                 compatible = "hid-over-i2c";
466                 reg = <0x10>;                     368                 reg = <0x10>;
467                 hid-descr-addr = <0x1>;           369                 hid-descr-addr = <0x1>;
468                                                   370 
469                 interrupts-extended = <&tlmm 1    371                 interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
470                                                   372 
471                 pinctrl-names = "default";        373                 pinctrl-names = "default";
472                 pinctrl-0 = <&i2c5_hid_active>    374                 pinctrl-0 = <&i2c5_hid_active>;
473                                                << 
474                 wakeup-source;                 << 
475         };                                        375         };
476 };                                                376 };
477                                                   377 
478 &i2c10 {                                          378 &i2c10 {
479         status = "okay";                          379         status = "okay";
480         clock-frequency = <400000>;               380         clock-frequency = <400000>;
481                                                   381 
482         sn65dsi86: bridge@2c {                    382         sn65dsi86: bridge@2c {
483                 compatible = "ti,sn65dsi86";      383                 compatible = "ti,sn65dsi86";
484                 reg = <0x2c>;                     384                 reg = <0x2c>;
485                 pinctrl-names = "default";        385                 pinctrl-names = "default";
486                 pinctrl-0 = <&sn65dsi86_pin_ac    386                 pinctrl-0 = <&sn65dsi86_pin_active>;
487                                                   387 
488                 enable-gpios = <&tlmm 96 GPIO_    388                 enable-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
489                                                   389 
490                 vcca-supply = <&sw_edp_1p2>;   << 
491                 vcc-supply = <&sw_edp_1p2>;    << 
492                 vpll-supply = <&vreg_l14a_1p88    390                 vpll-supply = <&vreg_l14a_1p88>;
493                 vccio-supply = <&vreg_l14a_1p8    391                 vccio-supply = <&vreg_l14a_1p88>;
494                                                   392 
495                 clocks = <&sn65dsi86_refclk>;     393                 clocks = <&sn65dsi86_refclk>;
496                 clock-names = "refclk";           394                 clock-names = "refclk";
497                                                   395 
498                 no-hpd;                           396                 no-hpd;
499                 #pwm-cells = <1>;                 397                 #pwm-cells = <1>;
500                                                   398 
501                 ports {                           399                 ports {
502                         #address-cells = <1>;     400                         #address-cells = <1>;
503                         #size-cells = <0>;        401                         #size-cells = <0>;
504                                                   402 
505                         port@0 {                  403                         port@0 {
506                                 reg = <0>;        404                                 reg = <0>;
507                                 sn65dsi86_in_a    405                                 sn65dsi86_in_a: endpoint {
508                                         remote    406                                         remote-endpoint = <&mdss_dsi0_out>;
509                                 };                407                                 };
510                         };                        408                         };
511                                                   409 
512                         port@1 {                  410                         port@1 {
513                                 reg = <1>;        411                                 reg = <1>;
514                                 sn65dsi86_out:    412                                 sn65dsi86_out: endpoint {
515                                         remote    413                                         remote-endpoint = <&panel_in_edp>;
516                                 };                414                                 };
517                         };                        415                         };
518                 };                                416                 };
519                                                   417 
520                 aux-bus {                         418                 aux-bus {
521                         panel: panel {            419                         panel: panel {
522                                 compatible = "    420                                 compatible = "boe,nv133fhm-n61";
523                                 backlight = <&    421                                 backlight = <&backlight>;
524                                 power-supply = << 
525                                                   422 
526                                 port {            423                                 port {
527                                         panel_    424                                         panel_in_edp: endpoint {
528                                                   425                                                 remote-endpoint = <&sn65dsi86_out>;
529                                         };        426                                         };
530                                 };                427                                 };
531                         };                        428                         };
532                 };                                429                 };
533         };                                        430         };
534 };                                                431 };
535                                                   432 
536 &i2c11 {                                          433 &i2c11 {
537         status = "okay";                          434         status = "okay";
538         clock-frequency = <400000>;               435         clock-frequency = <400000>;
539                                                   436 
540         ecsh: hid@5c {                            437         ecsh: hid@5c {
541                 compatible = "hid-over-i2c";      438                 compatible = "hid-over-i2c";
542                 reg = <0x5c>;                     439                 reg = <0x5c>;
543                 hid-descr-addr = <0x1>;           440                 hid-descr-addr = <0x1>;
544                                                   441 
545                 interrupts-extended = <&tlmm 9    442                 interrupts-extended = <&tlmm 92 IRQ_TYPE_LEVEL_LOW>;
546                                                   443 
547                 pinctrl-names = "default";        444                 pinctrl-names = "default";
548                 pinctrl-0 = <&i2c11_hid_active    445                 pinctrl-0 = <&i2c11_hid_active>;
549                                                << 
550                 wakeup-source;                 << 
551         };                                        446         };
552 };                                                447 };
553                                                   448 
554 &ipa {                                            449 &ipa {
555         qcom,gsi-loader = "self";                 450         qcom,gsi-loader = "self";
556         memory-region = <&ipa_fw_mem>;            451         memory-region = <&ipa_fw_mem>;
557         firmware-name = "qcom/sdm850/LENOVO/81 << 
558         status = "okay";                          452         status = "okay";
559 };                                                453 };
560                                                   454 
561 &mdss {                                           455 &mdss {
562         status = "okay";                          456         status = "okay";
563 };                                                457 };
564                                                   458 
565 &mdss_dsi0 {                                      459 &mdss_dsi0 {
566         status = "okay";                          460         status = "okay";
567         vdda-supply = <&vreg_l26a_1p2>;           461         vdda-supply = <&vreg_l26a_1p2>;
568                                                   462 
569         ports {                                   463         ports {
570                 port@1 {                          464                 port@1 {
571                         endpoint {                465                         endpoint {
572                                 remote-endpoin    466                                 remote-endpoint = <&sn65dsi86_in_a>;
573                                 data-lanes = <    467                                 data-lanes = <0 1 2 3>;
574                         };                        468                         };
575                 };                                469                 };
576         };                                        470         };
577 };                                                471 };
578                                                   472 
579 &mdss_dsi0_phy {                                  473 &mdss_dsi0_phy {
580         status = "okay";                          474         status = "okay";
581         vdds-supply = <&vreg_l1a_0p875>;          475         vdds-supply = <&vreg_l1a_0p875>;
582 };                                                476 };
583                                                   477 
584 &mss_pil {                                        478 &mss_pil {
585         status = "okay";                          479         status = "okay";
586         firmware-name = "qcom/sdm850/LENOVO/81    480         firmware-name = "qcom/sdm850/LENOVO/81JL/qcdsp1v2850.mbn", "qcom/sdm850/LENOVO/81JL/qcdsp2850.mbn";
587 };                                                481 };
588                                                   482 
589 &pm8998_gpios {                                << 
590         /* This pin is pulled down by a fixed  << 
591         sw_edp_1p2_en: pm8998-gpio9-state {    << 
592                 pins = "gpio9";                << 
593                 function = "normal";           << 
594                 bias-disable;                  << 
595                 qcom,drive-strength = <0>;     << 
596         };                                     << 
597 };                                             << 
598                                                << 
599 &qup_i2c10_default {                              483 &qup_i2c10_default {
600         drive-strength = <2>;                     484         drive-strength = <2>;
601         bias-disable;                             485         bias-disable;
602 };                                                486 };
603                                                   487 
604 &qup_i2c12_default {                              488 &qup_i2c12_default {
605         drive-strength = <2>;                     489         drive-strength = <2>;
606         bias-disable;                             490         bias-disable;
607 };                                                491 };
608                                                   492 
609 &qupv3_id_0 {                                     493 &qupv3_id_0 {
610         status = "okay";                          494         status = "okay";
611 };                                                495 };
612                                                   496 
613 &qupv3_id_1 {                                     497 &qupv3_id_1 {
614         status = "okay";                          498         status = "okay";
615 };                                                499 };
616                                                   500 
617 &q6asmdai {                                       501 &q6asmdai {
618         dai@0 {                                   502         dai@0 {
619                 reg = <0>;                        503                 reg = <0>;
620         };                                        504         };
621                                                   505 
622         dai@1 {                                   506         dai@1 {
623                 reg = <1>;                        507                 reg = <1>;
624         };                                        508         };
625                                                   509 
626         dai@2 {                                   510         dai@2 {
627                 reg = <2>;                        511                 reg = <2>;
628         };                                        512         };
629 };                                                513 };
630                                                   514 
631 &sound {                                          515 &sound {
632         compatible = "lenovo,yoga-c630-sndcard    516         compatible = "lenovo,yoga-c630-sndcard", "qcom,sdm845-sndcard";
633         model = "Lenovo-YOGA-C630-13Q50";         517         model = "Lenovo-YOGA-C630-13Q50";
634                                                   518 
635         audio-routing =                           519         audio-routing =
636                 "RX_BIAS", "MCLK",                520                 "RX_BIAS", "MCLK",
637                 "AMIC2", "MIC BIAS2",             521                 "AMIC2", "MIC BIAS2",
638                 "SpkrLeft IN", "SPK1 OUT",        522                 "SpkrLeft IN", "SPK1 OUT",
639                 "SpkrRight IN", "SPK2 OUT",       523                 "SpkrRight IN", "SPK2 OUT",
640                 "MM_DL1",  "MultiMedia1 Playba    524                 "MM_DL1",  "MultiMedia1 Playback",
641                 "MM_DL3",  "MultiMedia3 Playba    525                 "MM_DL3",  "MultiMedia3 Playback",
642                 "MultiMedia2 Capture", "MM_UL2    526                 "MultiMedia2 Capture", "MM_UL2";
643                                                   527 
644         mm1-dai-link {                            528         mm1-dai-link {
645                 link-name = "MultiMedia1";        529                 link-name = "MultiMedia1";
646                 cpu {                             530                 cpu {
647                         sound-dai = <&q6asmdai    531                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA1>;
648                 };                                532                 };
649         };                                        533         };
650                                                   534 
651         mm2-dai-link {                            535         mm2-dai-link {
652                 link-name = "MultiMedia2";        536                 link-name = "MultiMedia2";
653                 cpu {                             537                 cpu {
654                         sound-dai = <&q6asmdai    538                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA2>;
655                 };                                539                 };
656         };                                        540         };
657                                                   541 
658         mm3-dai-link {                            542         mm3-dai-link {
659                 link-name = "MultiMedia3";        543                 link-name = "MultiMedia3";
660                 cpu {                             544                 cpu {
661                         sound-dai = <&q6asmdai    545                         sound-dai = <&q6asmdai  MSM_FRONTEND_DAI_MULTIMEDIA3>;
662                 };                                546                 };
663         };                                        547         };
664                                                   548 
665         slim-dai-link {                           549         slim-dai-link {
666                 link-name = "SLIM Playback";      550                 link-name = "SLIM Playback";
667                 cpu {                             551                 cpu {
668                         sound-dai = <&q6afedai    552                         sound-dai = <&q6afedai SLIMBUS_0_RX>;
669                 };                                553                 };
670                                                   554 
671                 platform {                        555                 platform {
672                         sound-dai = <&q6routin    556                         sound-dai = <&q6routing>;
673                 };                                557                 };
674                                                   558 
675                 codec {                           559                 codec {
676                         sound-dai = <&left_spk    560                         sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
677                 };                                561                 };
678         };                                        562         };
679                                                   563 
680         slimcap-dai-link {                        564         slimcap-dai-link {
681                 link-name = "SLIM Capture";       565                 link-name = "SLIM Capture";
682                 cpu {                             566                 cpu {
683                         sound-dai = <&q6afedai    567                         sound-dai = <&q6afedai SLIMBUS_0_TX>;
684                 };                                568                 };
685                                                   569 
686                 platform {                        570                 platform {
687                         sound-dai = <&q6routin    571                         sound-dai = <&q6routing>;
688                 };                                572                 };
689                                                   573 
690                 codec {                           574                 codec {
691                         sound-dai = <&wcd9340     575                         sound-dai = <&wcd9340 1>;
692                 };                                576                 };
693         };                                        577         };
694                                                   578 
695         slim-wcd-dai-link {                       579         slim-wcd-dai-link {
696                 link-name = "SLIM WCD Playback    580                 link-name = "SLIM WCD Playback";
697                 cpu {                             581                 cpu {
698                         sound-dai = <&q6afedai    582                         sound-dai = <&q6afedai SLIMBUS_1_RX>;
699                 };                                583                 };
700                                                   584 
701                 platform {                        585                 platform {
702                         sound-dai = <&q6routin    586                         sound-dai = <&q6routing>;
703                 };                                587                 };
704                                                   588 
705                 codec {                           589                 codec {
706                         sound-dai = <&wcd9340     590                         sound-dai = <&wcd9340 2>;
707                 };                                591                 };
708         };                                        592         };
709 };                                                593 };
710                                                   594 
711 &tlmm {                                           595 &tlmm {
712         gpio-reserved-ranges = <0 4>, <81 4>;     596         gpio-reserved-ranges = <0 4>, <81 4>;
713                                                   597 
714         sn65dsi86_pin_active: sn65dsi86-enable    598         sn65dsi86_pin_active: sn65dsi86-enable-state {
715                 pins = "gpio96";                  599                 pins = "gpio96";
716                 function = "gpio";                600                 function = "gpio";
717                 drive-strength = <2>;             601                 drive-strength = <2>;
718                 bias-disable;                     602                 bias-disable;
719         };                                        603         };
720                                                   604 
721         i2c3_hid_active: i2c2-hid-active-state    605         i2c3_hid_active: i2c2-hid-active-state {
722                 pins = "gpio37";                  606                 pins = "gpio37";
723                 function = "gpio";                607                 function = "gpio";
724                                                   608 
725                 bias-pull-up;                     609                 bias-pull-up;
726                 drive-strength = <2>;             610                 drive-strength = <2>;
727         };                                        611         };
728                                                   612 
729         i2c5_hid_active: i2c5-hid-active-state    613         i2c5_hid_active: i2c5-hid-active-state {
730                 pins = "gpio125";                 614                 pins = "gpio125";
731                 function = "gpio";                615                 function = "gpio";
732                                                   616 
733                 bias-pull-up;                     617                 bias-pull-up;
734                 drive-strength = <2>;             618                 drive-strength = <2>;
735         };                                        619         };
736                                                   620 
737         i2c11_hid_active: i2c11-hid-active-sta    621         i2c11_hid_active: i2c11-hid-active-state {
738                 pins = "gpio92";                  622                 pins = "gpio92";
739                 function = "gpio";                623                 function = "gpio";
740                                                   624 
741                 bias-pull-up;                     625                 bias-pull-up;
742                 drive-strength = <2>;             626                 drive-strength = <2>;
743         };                                        627         };
744                                                   628 
745         lid_pin_active: lid-pin-state {           629         lid_pin_active: lid-pin-state {
746                 pins = "gpio124";                 630                 pins = "gpio124";
747                 function = "gpio";                631                 function = "gpio";
748                                                   632 
749                 bias-disable;                     633                 bias-disable;
750         };                                        634         };
751                                                   635 
752         mode_pin_active: mode-pin-state {         636         mode_pin_active: mode-pin-state {
753                 pins = "gpio95";                  637                 pins = "gpio95";
754                 function = "gpio";                638                 function = "gpio";
755                                                   639 
756                 bias-disable;                     640                 bias-disable;
757         };                                        641         };
758                                                << 
759         ec_int_state: ec-int-state {           << 
760                 pins = "gpio20";               << 
761                 function = "gpio";             << 
762                                                << 
763                 bias-disable;                  << 
764         };                                     << 
765 };                                                642 };
766                                                   643 
767 &uart6 {                                          644 &uart6 {
768         pinctrl-names = "default";                645         pinctrl-names = "default";
769         pinctrl-0 = <&qup_uart6_4pin>;            646         pinctrl-0 = <&qup_uart6_4pin>;
770         status = "okay";                          647         status = "okay";
771                                                   648 
772         bluetooth {                               649         bluetooth {
773                 compatible = "qcom,wcn3990-bt"    650                 compatible = "qcom,wcn3990-bt";
774                                                   651 
775                 vddio-supply = <&vreg_s4a_1p8>    652                 vddio-supply = <&vreg_s4a_1p8>;
776                 vddxo-supply = <&vreg_l7a_1p8>    653                 vddxo-supply = <&vreg_l7a_1p8>;
777                 vddrf-supply = <&vreg_l17a_1p3    654                 vddrf-supply = <&vreg_l17a_1p3>;
778                 vddch0-supply = <&vreg_l25a_3p    655                 vddch0-supply = <&vreg_l25a_3p3>;
779                 vddch1-supply = <&vreg_l23a_3p    656                 vddch1-supply = <&vreg_l23a_3p3>;
780                 max-speed = <3200000>;            657                 max-speed = <3200000>;
781         };                                        658         };
782 };                                                659 };
783                                                   660 
784 &uart9 {                                       << 
785         status = "okay";                       << 
786 };                                             << 
787                                                << 
788 &ufs_mem_hc {                                     661 &ufs_mem_hc {
789         status = "okay";                          662         status = "okay";
790                                                   663 
791         reset-gpios = <&tlmm 150 GPIO_ACTIVE_L    664         reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
792                                                   665 
793         vcc-supply = <&vreg_l20a_2p95>;           666         vcc-supply = <&vreg_l20a_2p95>;
794         vcc-max-microamp = <600000>;              667         vcc-max-microamp = <600000>;
795 };                                                668 };
796                                                   669 
797 &ufs_mem_phy {                                    670 &ufs_mem_phy {
798         status = "okay";                          671         status = "okay";
799                                                   672 
800         vdda-phy-supply = <&vdda_ufs1_core>;      673         vdda-phy-supply = <&vdda_ufs1_core>;
801         vdda-pll-supply = <&vdda_ufs1_1p2>;       674         vdda-pll-supply = <&vdda_ufs1_1p2>;
802 };                                                675 };
803                                                   676 
804 &usb_1 {                                          677 &usb_1 {
805         status = "okay";                          678         status = "okay";
806 };                                                679 };
807                                                   680 
808 &usb_1_dwc3 {                                     681 &usb_1_dwc3 {
809         dr_mode = "host";                         682         dr_mode = "host";
810 };                                                683 };
811                                                   684 
812 &usb_1_dwc3_hs {                               << 
813         remote-endpoint = <&ucsi0_hs_in>;      << 
814 };                                             << 
815                                                << 
816 &usb_1_hsphy {                                    685 &usb_1_hsphy {
817         status = "okay";                          686         status = "okay";
818                                                   687 
819         vdd-supply = <&vdda_usb1_ss_core>;        688         vdd-supply = <&vdda_usb1_ss_core>;
820         vdda-pll-supply = <&vdda_qusb_hs0_1p8>    689         vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
821         vdda-phy-dpdm-supply = <&vdda_qusb_hs0    690         vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
822                                                   691 
823         qcom,imp-res-offset-value = <8>;          692         qcom,imp-res-offset-value = <8>;
824         qcom,hstx-trim-value = <QUSB2_V2_HSTX_    693         qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
825         qcom,preemphasis-level = <QUSB2_V2_PRE    694         qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
826         qcom,preemphasis-width = <QUSB2_V2_PRE    695         qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
827 };                                                696 };
828                                                   697 
829 &usb_1_qmpphy {                                   698 &usb_1_qmpphy {
830         status = "okay";                          699         status = "okay";
831                                                   700 
832         vdda-phy-supply = <&vdda_usb1_ss_1p2>;    701         vdda-phy-supply = <&vdda_usb1_ss_1p2>;
833         vdda-pll-supply = <&vdda_usb1_ss_core>    702         vdda-pll-supply = <&vdda_usb1_ss_core>;
834 };                                                703 };
835                                                   704 
836 &usb_1_qmpphy_out {                            << 
837         remote-endpoint = <&ucsi0_ss_in>;      << 
838 };                                             << 
839                                                << 
840 &usb_2 {                                          705 &usb_2 {
841         status = "okay";                          706         status = "okay";
842 };                                                707 };
843                                                   708 
844 &usb_2_dwc3 {                                     709 &usb_2_dwc3 {
845         dr_mode = "host";                         710         dr_mode = "host";
846 };                                                711 };
847                                                   712 
848 &usb_2_hsphy {                                    713 &usb_2_hsphy {
849         status = "okay";                          714         status = "okay";
850                                                   715 
851         vdd-supply = <&vdda_usb2_ss_core>;        716         vdd-supply = <&vdda_usb2_ss_core>;
852         vdda-pll-supply = <&vdda_qusb_hs0_1p8>    717         vdda-pll-supply = <&vdda_qusb_hs0_1p8>;
853         vdda-phy-dpdm-supply = <&vdda_qusb_hs0    718         vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>;
854                                                   719 
855         qcom,imp-res-offset-value = <8>;          720         qcom,imp-res-offset-value = <8>;
856         qcom,hstx-trim-value = <QUSB2_V2_HSTX_    721         qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
857 };                                                722 };
858                                                   723 
859 &usb_2_qmpphy {                                   724 &usb_2_qmpphy {
860         status = "okay";                          725         status = "okay";
861                                                   726 
862         vdda-phy-supply = <&vdda_usb2_ss_1p2>;    727         vdda-phy-supply = <&vdda_usb2_ss_1p2>;
863         vdda-pll-supply = <&vdda_usb2_ss_core>    728         vdda-pll-supply = <&vdda_usb2_ss_core>;
864 };                                                729 };
865                                                   730 
866 &venus {                                          731 &venus {
867         firmware-name = "qcom/sdm850/LENOVO/81    732         firmware-name = "qcom/sdm850/LENOVO/81JL/qcvss850.mbn";
868         status = "okay";                          733         status = "okay";
869 };                                                734 };
870                                                   735 
871 &wcd9340 {                                        736 &wcd9340 {
872         reset-gpios = <&tlmm 64 GPIO_ACTIVE_HI    737         reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
873         vdd-buck-supply = <&vreg_s4a_1p8>;        738         vdd-buck-supply = <&vreg_s4a_1p8>;
874         vdd-buck-sido-supply = <&vreg_s4a_1p8>    739         vdd-buck-sido-supply = <&vreg_s4a_1p8>;
875         vdd-tx-supply = <&vreg_s4a_1p8>;          740         vdd-tx-supply = <&vreg_s4a_1p8>;
876         vdd-rx-supply = <&vreg_s4a_1p8>;          741         vdd-rx-supply = <&vreg_s4a_1p8>;
877         vdd-io-supply = <&vreg_s4a_1p8>;          742         vdd-io-supply = <&vreg_s4a_1p8>;
878         qcom,mbhc-buttons-vthreshold-microvolt    743         qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>;
879         qcom,mbhc-headset-vthreshold-microvolt    744         qcom,mbhc-headset-vthreshold-microvolt = <1700000>;
880         qcom,mbhc-headphone-vthreshold-microvo    745         qcom,mbhc-headphone-vthreshold-microvolt = <50000>;
881                                                   746 
882         swm: soundwire@c85 {                   !! 747         swm: swm@c85 {
883                 left_spkr: speaker@0,3 {          748                 left_spkr: speaker@0,3 {
884                         compatible = "sdw10217    749                         compatible = "sdw10217211000";
885                         reg = <0 3>;              750                         reg = <0 3>;
886                         powerdown-gpios = <&wc    751                         powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_LOW>;
887                         #thermal-sensor-cells     752                         #thermal-sensor-cells = <0>;
888                         sound-name-prefix = "S    753                         sound-name-prefix = "SpkrLeft";
889                         #sound-dai-cells = <0>    754                         #sound-dai-cells = <0>;
890                 };                                755                 };
891                                                   756 
892                 right_spkr: speaker@0,4 {         757                 right_spkr: speaker@0,4 {
893                         compatible = "sdw10217    758                         compatible = "sdw10217211000";
894                         powerdown-gpios = <&wc    759                         powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_LOW>;
895                         reg = <0 4>;              760                         reg = <0 4>;
896                         #thermal-sensor-cells     761                         #thermal-sensor-cells = <0>;
897                         sound-name-prefix = "S    762                         sound-name-prefix = "SpkrRight";
898                         #sound-dai-cells = <0>    763                         #sound-dai-cells = <0>;
899                 };                                764                 };
900         };                                        765         };
901 };                                                766 };
902                                                   767 
903 &wifi {                                           768 &wifi {
904         status = "okay";                          769         status = "okay";
905                                                   770 
906         vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>    771         vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
907         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;      772         vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
908         vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;    773         vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
909         vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;    774         vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
910         vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;    775         vdd-3.3-ch1-supply = <&vreg_l23a_3p3>;
911                                                   776 
912         qcom,snoc-host-cap-8bit-quirk;            777         qcom,snoc-host-cap-8bit-quirk;
913         qcom,ath10k-calibration-variant = "Len << 
914 };                                                778 };
915                                                   779 
916 &crypto {                                         780 &crypto {
917         /* FIXME: qce_start triggers an SError    781         /* FIXME: qce_start triggers an SError */
918         status = "disabled";                   !! 782         status = "disable";
919 };                                                783 };
                                                      

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