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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/qcm6490-idp.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  */
  5 
  6 /dts-v1/;
  7 
  8 /* PM7250B is configured to use SID8/9 */
  9 #define PM7250B_SID 8
 10 #define PM7250B_SID1 9
 11 
 12 #include <dt-bindings/input/linux-event-codes.h>
 13 #include <dt-bindings/leds/common.h>
 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 15 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 16 #include "sc7280.dtsi"
 17 #include "pm7250b.dtsi"
 18 #include "pm7325.dtsi"
 19 #include "pm8350c.dtsi"
 20 #include "pmk8350.dtsi"
 21 
 22 /delete-node/ &ipa_fw_mem;
 23 /delete-node/ &rmtfs_mem;
 24 /delete-node/ &adsp_mem;
 25 /delete-node/ &cdsp_mem;
 26 /delete-node/ &video_mem;
 27 /delete-node/ &wlan_ce_mem;
 28 /delete-node/ &wpss_mem;
 29 /delete-node/ &xbl_mem;
 30 
 31 / {
 32         model = "Qualcomm Technologies, Inc. QCM6490 IDP";
 33         compatible = "qcom,qcm6490-idp", "qcom,qcm6490";
 34         chassis-type = "embedded";
 35 
 36         aliases {
 37                 serial0 = &uart5;
 38         };
 39 
 40         pm8350c_pwm_backlight: backlight {
 41                 compatible = "pwm-backlight";
 42                 pwms = <&pm8350c_pwm 3 65535>;
 43                 enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>;
 44                 pinctrl-0 = <&pmic_lcd_bl_en>;
 45                 pinctrl-names = "default";
 46         };
 47 
 48         chosen {
 49                 stdout-path = "serial0:115200n8";
 50         };
 51 
 52         lcd_disp_bias: regulator-lcd-disp-bias {
 53                 compatible = "regulator-fixed";
 54                 regulator-name = "lcd_disp_bias";
 55                 regulator-min-microvolt = <5500000>;
 56                 regulator-max-microvolt = <5500000>;
 57                 gpio = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>;
 58                 enable-active-high;
 59                 pinctrl-0 = <&lcd_disp_bias_en>;
 60                 pinctrl-names = "default";
 61         };
 62 
 63         gpio-keys {
 64                 compatible = "gpio-keys";
 65 
 66                 pinctrl-0 = <&key_vol_up_default>;
 67                 pinctrl-names = "default";
 68 
 69                 key-volume-up {
 70                         label = "Volume_up";
 71                         gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>;
 72                         linux,code = <KEY_VOLUMEUP>;
 73                         wakeup-source;
 74                         debounce-interval = <15>;
 75                         linux,can-disable;
 76                 };
 77         };
 78 
 79         reserved-memory {
 80                 xbl_mem: xbl@80700000 {
 81                         reg = <0x0 0x80700000 0x0 0x100000>;
 82                         no-map;
 83                 };
 84 
 85                 cdsp_secure_heap_mem: cdsp-secure-heap@81800000 {
 86                         reg = <0x0 0x81800000 0x0 0x1e00000>;
 87                         no-map;
 88                 };
 89 
 90                 camera_mem: camera@84300000 {
 91                         reg = <0x0 0x84300000 0x0 0x500000>;
 92                         no-map;
 93                 };
 94 
 95                 wpss_mem: wpss@84800000 {
 96                         reg = <0x0 0x84800000 0x0 0x1900000>;
 97                         no-map;
 98                 };
 99 
100                 adsp_mem: adsp@86100000 {
101                         reg = <0x0 0x86100000 0x0 0x2800000>;
102                         no-map;
103                 };
104 
105                 cdsp_mem: cdsp@88900000 {
106                         reg = <0x0 0x88900000 0x0 0x1e00000>;
107                         no-map;
108                 };
109 
110                 video_mem: video@8a700000 {
111                         reg = <0x0 0x8a700000 0x0 0x700000>;
112                         no-map;
113                 };
114 
115                 cvp_mem: cvp@8ae00000 {
116                         reg = <0x0 0x8ae00000 0x0 0x500000>;
117                         no-map;
118                 };
119 
120                 ipa_fw_mem: ipa-fw@8b300000 {
121                         reg = <0x0 0x8b300000 0x0 0x10000>;
122                         no-map;
123                 };
124 
125                 ipa_gsi_mem: ipa-gsi@8b310000 {
126                         reg = <0x0 0x8b310000 0x0 0xa000>;
127                         no-map;
128                 };
129 
130                 gpu_microcode_mem: gpu-microcode@8b31a000 {
131                         reg = <0x0 0x8b31a000 0x0 0x2000>;
132                         no-map;
133                 };
134 
135                 mpss_mem: mpss@8b800000 {
136                         reg = <0x0 0x8b800000 0x0 0xf600000>;
137                         no-map;
138                 };
139 
140                 tz_stat_mem: tz-stat@c0000000 {
141                         reg = <0x0 0xc0000000 0x0 0x100000>;
142                         no-map;
143                 };
144 
145                 tags_mem: tags@c0100000 {
146                         reg = <0x0 0xc0100000 0x0 0x1200000>;
147                         no-map;
148                 };
149 
150                 qtee_mem: qtee@c1300000 {
151                         reg = <0x0 0xc1300000 0x0 0x500000>;
152                         no-map;
153                 };
154 
155                 trusted_apps_mem: trusted-apps@c1800000 {
156                         reg = <0x0 0xc1800000 0x0 0x1c00000>;
157                         no-map;
158                 };
159 
160                 debug_vm_mem: debug-vm@d0600000 {
161                         reg = <0x0 0xd0600000 0x0 0x100000>;
162                         no-map;
163                 };
164         };
165 
166         vph_pwr: vph-pwr-regulator {
167                 compatible = "regulator-fixed";
168                 regulator-name = "vph_pwr";
169                 regulator-min-microvolt = <3700000>;
170                 regulator-max-microvolt = <3700000>;
171         };
172 };
173 
174 &apps_rsc {
175         regulators-0 {
176                 compatible = "qcom,pm7325-rpmh-regulators";
177                 qcom,pmic-id = "b";
178 
179                 vdd-s1-supply = <&vph_pwr>;
180                 vdd-s2-supply = <&vph_pwr>;
181                 vdd-s3-supply = <&vph_pwr>;
182                 vdd-s4-supply = <&vph_pwr>;
183                 vdd-s5-supply = <&vph_pwr>;
184                 vdd-s6-supply = <&vph_pwr>;
185                 vdd-s7-supply = <&vph_pwr>;
186                 vdd-s8-supply = <&vph_pwr>;
187                 vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p972>;
188                 vdd-l2-l7-supply = <&vreg_bob_3p296>;
189                 vdd-l3-supply = <&vreg_s2b_0p876>;
190                 vdd-l5-supply = <&vreg_s2b_0p876>;
191                 vdd-l6-l9-l10-supply = <&vreg_s8b_1p272>;
192                 vdd-l8-supply = <&vreg_s7b_0p972>;
193                 vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p872>;
194                 vdd-l13-supply = <&vreg_s7b_0p972>;
195                 vdd-l14-l16-supply = <&vreg_s8b_1p272>;
196 
197                 vreg_s1b_1p872: smps1 {
198                         regulator-name = "vreg_s1b_1p872";
199                         regulator-min-microvolt = <1840000>;
200                         regulator-max-microvolt = <2040000>;
201                 };
202 
203                 vreg_s2b_0p876: smps2 {
204                         regulator-name = "vreg_s2b_0p876";
205                         regulator-min-microvolt = <570070>;
206                         regulator-max-microvolt = <1050000>;
207                 };
208 
209                 vreg_s7b_0p972: smps7 {
210                         regulator-name = "vreg_s7b_0p972";
211                         regulator-min-microvolt = <535000>;
212                         regulator-max-microvolt = <1120000>;
213                 };
214 
215                 vreg_s8b_1p272: smps8 {
216                         regulator-name = "vreg_s8b_1p272";
217                         regulator-min-microvolt = <1200000>;
218                         regulator-max-microvolt = <1500000>;
219                         regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>;
220                 };
221 
222                 vreg_l1b_0p912: ldo1 {
223                         regulator-name = "vreg_l1b_0p912";
224                         regulator-min-microvolt = <825000>;
225                         regulator-max-microvolt = <925000>;
226                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
227                 };
228 
229                 vreg_l2b_3p072: ldo2 {
230                         regulator-name = "vreg_l2b_3p072";
231                         regulator-min-microvolt = <2700000>;
232                         regulator-max-microvolt = <3544000>;
233                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
234                 };
235 
236                 vreg_l3b_0p504: ldo3 {
237                         regulator-name = "vreg_l3b_0p504";
238                         regulator-min-microvolt = <312000>;
239                         regulator-max-microvolt = <910000>;
240                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241                 };
242 
243                 vreg_l4b_0p752: ldo4 {
244                         regulator-name = "vreg_l4b_0p752";
245                         regulator-min-microvolt = <752000>;
246                         regulator-max-microvolt = <820000>;
247                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
248                 };
249 
250                 reg_l5b_0p752: ldo5 {
251                         regulator-name = "reg_l5b_0p752";
252                         regulator-min-microvolt = <552000>;
253                         regulator-max-microvolt = <832000>;
254                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
255                 };
256 
257                 vreg_l6b_1p2: ldo6 {
258                         regulator-name = "vreg_l6b_1p2";
259                         regulator-min-microvolt = <1140000>;
260                         regulator-max-microvolt = <1260000>;
261                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
262                 };
263 
264                 vreg_l7b_2p952: ldo7 {
265                         regulator-name = "vreg_l7b_2p952";
266                         regulator-min-microvolt = <2400000>;
267                         regulator-max-microvolt = <3544000>;
268                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
269                 };
270 
271                 vreg_l8b_0p904: ldo8 {
272                         regulator-name = "vreg_l8b_0p904";
273                         regulator-min-microvolt = <870000>;
274                         regulator-max-microvolt = <970000>;
275                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
276                 };
277 
278                 vreg_l9b_1p2: ldo9 {
279                         regulator-name = "vreg_l9b_1p2";
280                         regulator-min-microvolt = <1200000>;
281                         regulator-max-microvolt = <1304000>;
282                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
283                 };
284 
285                 vreg_l11b_1p504: ldo11 {
286                         regulator-name = "vreg_l11b_1p504";
287                         regulator-min-microvolt = <1504000>;
288                         regulator-max-microvolt = <2000000>;
289                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
290                 };
291 
292                 vreg_l12b_0p751: ldo12 {
293                         regulator-name = "vreg_l12b_0p751";
294                         regulator-min-microvolt = <751000>;
295                         regulator-max-microvolt = <824000>;
296                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
297                 };
298 
299                 vreg_l13b_0p53: ldo13 {
300                         regulator-name = "vreg_l13b_0p53";
301                         regulator-min-microvolt = <530000>;
302                         regulator-max-microvolt = <824000>;
303                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
304                 };
305 
306                 vreg_l14b_1p08: ldo14 {
307                         regulator-name = "vreg_l14b_1p08";
308                         regulator-min-microvolt = <1080000>;
309                         regulator-max-microvolt = <1304000>;
310                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
311                 };
312 
313                 vreg_l15b_0p765: ldo15 {
314                         regulator-name = "vreg_l15b_0p765";
315                         regulator-min-microvolt = <765000>;
316                         regulator-max-microvolt = <1020000>;
317                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
318                 };
319 
320                 vreg_l16b_1p1: ldo16 {
321                         regulator-name = "vreg_l16b_1p1";
322                         regulator-min-microvolt = <1100000>;
323                         regulator-max-microvolt = <1300000>;
324                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
325                 };
326 
327                 vreg_l17b_1p7: ldo17 {
328                         regulator-name = "vreg_l17b_1p7";
329                         regulator-min-microvolt = <1700000>;
330                         regulator-max-microvolt = <1900000>;
331                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
332                 };
333 
334                 vreg_l18b_1p8: ldo18 {
335                         regulator-name = "vreg_l18b_1p8";
336                         regulator-min-microvolt = <1800000>;
337                         regulator-max-microvolt = <2000000>;
338                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
339                 };
340 
341                 vreg_l19b_1p8: ldo19 {
342                         regulator-name = "vreg_l19b_1p8";
343                         regulator-min-microvolt = <1800000>;
344                         regulator-max-microvolt = <2000000>;
345                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
346                         regulator-allow-set-load;
347                         regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
348                                                    RPMH_REGULATOR_MODE_HPM>;
349                 };
350         };
351 
352         regulators-1 {
353                 compatible = "qcom,pm8350c-rpmh-regulators";
354                 qcom,pmic-id = "c";
355 
356                 vdd-s1-supply = <&vph_pwr>;
357                 vdd-s2-supply = <&vph_pwr>;
358                 vdd-s3-supply = <&vph_pwr>;
359                 vdd-s4-supply = <&vph_pwr>;
360                 vdd-s5-supply = <&vph_pwr>;
361                 vdd-s6-supply = <&vph_pwr>;
362                 vdd-s7-supply = <&vph_pwr>;
363                 vdd-s8-supply = <&vph_pwr>;
364                 vdd-s9-supply = <&vph_pwr>;
365                 vdd-s10-supply = <&vph_pwr>;
366                 vdd-l1-l12-supply = <&vreg_s1b_1p872>;
367                 vdd-l2-l8-supply = <&vreg_s1b_1p872>;
368                 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob_3p296>;
369                 vdd-l6-l9-l11-supply = <&vreg_bob_3p296>;
370                 vdd-l10-supply = <&vreg_s7b_0p972>;
371                 vdd-bob-supply = <&vph_pwr>;
372 
373                 vreg_s1c_2p19: smps1 {
374                         regulator-name = "vreg_s1c_2p19";
375                         regulator-min-microvolt = <2190000>;
376                         regulator-max-microvolt = <2210000>;
377                 };
378 
379                 vreg_s2c_0p752: smps2 {
380                         regulator-name = "vreg_s2c_0p752";
381                         regulator-min-microvolt = <750000>;
382                         regulator-max-microvolt = <800000>;
383                 };
384 
385                 vreg_s5c_0p752: smps5 {
386                         regulator-name = "vreg_s5c_0p752";
387                         regulator-min-microvolt = <465000>;
388                         regulator-max-microvolt = <1050000>;
389                 };
390 
391                 vreg_s7c_0p752: smps7 {
392                         regulator-name = "vreg_s7c_0p752";
393                         regulator-min-microvolt = <465000>;
394                         regulator-max-microvolt = <800000>;
395                 };
396 
397                 vreg_s9c_1p084: smps9 {
398                         regulator-name = "vreg_s9c_1p084";
399                         regulator-min-microvolt = <1010000>;
400                         regulator-max-microvolt = <1170000>;
401                 };
402 
403                 vreg_l1c_1p8: ldo1 {
404                         regulator-name = "vreg_l1c_1p8";
405                         regulator-min-microvolt = <1800000>;
406                         regulator-max-microvolt = <1980000>;
407                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
408                 };
409 
410                 vreg_l2c_1p62: ldo2 {
411                         regulator-name = "vreg_l2c_1p62";
412                         regulator-min-microvolt = <1620000>;
413                         regulator-max-microvolt = <1980000>;
414                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
415                 };
416 
417                 vreg_l3c_2p8: ldo3 {
418                         regulator-name = "vreg_l3c_2p8";
419                         regulator-min-microvolt = <2800000>;
420                         regulator-max-microvolt = <3540000>;
421                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
422                 };
423 
424                 vreg_l4c_1p62: ldo4 {
425                         regulator-name = "vreg_l4c_1p62";
426                         regulator-min-microvolt = <1620000>;
427                         regulator-max-microvolt = <3300000>;
428                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
429                 };
430 
431                 vreg_l5c_1p62: ldo5 {
432                         regulator-name = "vreg_l5c_1p62";
433                         regulator-min-microvolt = <1620000>;
434                         regulator-max-microvolt = <3300000>;
435                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
436                 };
437 
438                 vreg_l6c_2p96: ldo6 {
439                         regulator-name = "vreg_l6c_2p96";
440                         regulator-min-microvolt = <1650000>;
441                         regulator-max-microvolt = <3544000>;
442                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
443                 };
444 
445                 vreg_l7c_3p0: ldo7 {
446                         regulator-name = "vreg_l7c_3p0";
447                         regulator-min-microvolt = <3000000>;
448                         regulator-max-microvolt = <3544000>;
449                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
450                 };
451 
452                 vreg_l8c_1p62: ldo8 {
453                         regulator-name = "vreg_l8c_1p62";
454                         regulator-min-microvolt = <1620000>;
455                         regulator-max-microvolt = <2000000>;
456                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
457                 };
458 
459                 vreg_l9c_2p96: ldo9 {
460                         regulator-name = "vreg_l9c_2p96";
461                         regulator-min-microvolt = <2700000>;
462                         regulator-max-microvolt = <35440000>;
463                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
464                 };
465 
466                 vreg_l10c_0p88: ldo10 {
467                         regulator-name = "vreg_l10c_0p88";
468                         regulator-min-microvolt = <720000>;
469                         regulator-max-microvolt = <1050000>;
470                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
471                 };
472 
473                 vreg_l11c_2p8: ldo11 {
474                         regulator-name = "vreg_l11c_2p8";
475                         regulator-min-microvolt = <2800000>;
476                         regulator-max-microvolt = <3544000>;
477                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
478                 };
479 
480                 vreg_l12c_1p65: ldo12 {
481                         regulator-name = "vreg_l12c_1p65";
482                         regulator-min-microvolt = <1650000>;
483                         regulator-max-microvolt = <2000000>;
484                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
485                 };
486 
487                 vreg_l13c_2p7: ldo13 {
488                         regulator-name = "vreg_l13c_2p7";
489                         regulator-min-microvolt = <2700000>;
490                         regulator-max-microvolt = <3544000>;
491                         regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
492                 };
493 
494                 vreg_bob_3p296: bob {
495                         regulator-name = "vreg_bob_3p296";
496                         regulator-min-microvolt = <3008000>;
497                         regulator-max-microvolt = <3960000>;
498                 };
499         };
500 };
501 
502 &mdss {
503         status = "okay";
504 };
505 
506 &mdss_dsi {
507         vdda-supply = <&vreg_l6b_1p2>;
508         status = "okay";
509 
510         panel@0 {
511                 compatible = "novatek,nt36672e";
512                 reg = <0>;
513 
514                 reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>;
515 
516                 vddi-supply = <&vreg_l8c_1p62>;
517                 avdd-supply = <&lcd_disp_bias>;
518                 avee-supply = <&lcd_disp_bias>;
519 
520                 backlight = <&pm8350c_pwm_backlight>;
521 
522                 port {
523                         panel0_in: endpoint {
524                                 remote-endpoint = <&mdss_dsi0_out>;
525                         };
526                 };
527         };
528 };
529 
530 &mdss_dsi0_out {
531         remote-endpoint = <&panel0_in>;
532         data-lanes = <0 1 2 3>;
533 };
534 
535 &mdss_dsi_phy {
536         vdds-supply = <&vreg_l10c_0p88>;
537         status = "okay";
538 };
539 
540 &pm7250b_gpios {
541         lcd_disp_bias_en: lcd-disp-bias-en-state {
542                 pins = "gpio2";
543                 function = "func1";
544                 bias-disable;
545                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
546                 input-disable;
547                 output-enable;
548                 power-source = <0>;
549         };
550 };
551 
552 &pm8350c_gpios {
553         pmic_lcd_bl_en: pmic-lcd-bl-en-state {
554                 pins = "gpio7";
555                 function = "normal";
556                 bias-disable;
557                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
558                 output-low;
559                 power-source = <0>;
560         };
561 
562         pmic_lcd_bl_pwm: pmic-lcd-bl-pwm-state {
563                 pins = "gpio8";
564                 function = "func1";
565                 bias-disable;
566                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
567                 output-low;
568                 power-source = <0>;
569         };
570 };
571 
572 &pm7325_gpios {
573         key_vol_up_default: key-vol-up-state {
574                 pins = "gpio6";
575                 function = "normal";
576                 input-enable;
577                 bias-pull-up;
578                 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
579         };
580 };
581 
582 &pm8350c_pwm {
583         pinctrl-0 = <&pmic_lcd_bl_pwm>;
584         pinctrl-names = "default";
585         status = "okay";
586 
587         multi-led {
588                 color = <LED_COLOR_ID_RGB>;
589                 function = LED_FUNCTION_STATUS;
590 
591                 #address-cells = <1>;
592                 #size-cells = <0>;
593 
594                 led@1 {
595                         reg = <1>;
596                         color = <LED_COLOR_ID_RED>;
597                 };
598 
599                 led@2 {
600                         reg = <2>;
601                         color = <LED_COLOR_ID_GREEN>;
602                 };
603 
604                 led@3 {
605                         reg = <3>;
606                         color = <LED_COLOR_ID_BLUE>;
607                 };
608         };
609 };
610 
611 &pon_pwrkey {
612         status = "okay";
613 };
614 
615 &pon_resin {
616         linux,code = <KEY_VOLUMEDOWN>;
617         status = "okay";
618 };
619 
620 &qupv3_id_0 {
621         status = "okay";
622 };
623 
624 &remoteproc_adsp {
625         firmware-name = "qcom/qcm6490/adsp.mbn";
626         status = "okay";
627 };
628 
629 &remoteproc_cdsp {
630         firmware-name = "qcom/qcm6490/cdsp.mbn";
631         status = "okay";
632 };
633 
634 &remoteproc_mpss {
635         firmware-name = "qcom/qcm6490/modem.mbn";
636         status = "okay";
637 };
638 
639 &remoteproc_wpss {
640         firmware-name = "qcom/qcm6490/wpss.mbn";
641         status = "okay";
642 };
643 
644 &sdc2_clk {
645         bias-disable;
646         drive-strength = <16>;
647 };
648 
649 &sdc2_cmd {
650         bias-pull-up;
651         drive-strength = <10>;
652 };
653 
654 &sdc2_data {
655         bias-pull-up;
656         drive-strength = <10>;
657 };
658 
659 &sdhc_1 {
660         non-removable;
661         no-sd;
662         no-sdio;
663 
664         vmmc-supply = <&vreg_l7b_2p952>;
665         vqmmc-supply = <&vreg_l19b_1p8>;
666 
667         status = "okay";
668 };
669 
670 &sdhc_2 {
671         status = "okay";
672 
673         pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>, <&sd_cd>;
674         pinctrl-1 = <&sdc2_clk_sleep>, <&sdc2_cmd_sleep>, <&sdc2_data_sleep>, <&sd_cd>;
675 
676         vmmc-supply = <&vreg_l9c_2p96>;
677         vqmmc-supply = <&vreg_l6c_2p96>;
678 
679         cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>;
680 };
681 
682 &tlmm {
683         gpio-reserved-ranges = <32 2>, /* ADSP */
684                                <48 4>; /* NFC */
685 
686         sd_cd: sd-cd-state {
687                 pins = "gpio91";
688                 function = "gpio";
689                 bias-pull-up;
690         };
691 };
692 
693 &uart5 {
694         status = "okay";
695 };
696 
697 &usb_1 {
698         status = "okay";
699 };
700 
701 &usb_1_dwc3 {
702         /delete-property/ usb-role-switch;
703         dr_mode = "peripheral";
704 };
705 
706 &usb_1_hsphy {
707         vdda-pll-supply = <&vreg_l10c_0p88>;
708         vdda33-supply = <&vreg_l2b_3p072>;
709         vdda18-supply = <&vreg_l1c_1p8>;
710 
711         status = "okay";
712 };
713 
714 &usb_1_qmpphy {
715         vdda-phy-supply = <&vreg_l6b_1p2>;
716         vdda-pll-supply = <&vreg_l1b_0p912>;
717 
718         status = "okay";
719 };
720 
721 &wifi {
722         memory-region = <&wlan_fw_mem>;
723 };

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