Lines Matching +full:mt6323 +full:- +full:rtc
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6397/MT6323 PMIC
10 - Sen Chu <sen.chu@mediatek.com>
11 - Macpaul Lin <macpaul.lin@mediatek.com>
14 MT6397/MT6323 is a power management system chip.
15 Please see the sub-modules below for supported features.
17 MT6397/MT6323 is a multifunction device with the following sub modules:
18 - Regulators
19 - RTC
20 - ADC
21 - Audio codec
22 - GPIO
23 - Clock
24 - LED
25 - Keys
26 - Power controller
29 called PMIC wrapper or pwrap. MT6397/MT6323 PMIC is a child device of pwrap.
36 - enum:
37 - mediatek,mt6323
38 - mediatek,mt6331 # "mediatek,mt6331" for PMIC MT6331 and MT6332.
39 - mediatek,mt6328
40 - mediatek,mt6358
41 - mediatek,mt6359
42 - mediatek,mt6397
43 - items:
44 - enum:
45 - mediatek,mt6366
46 - const: mediatek,mt6358
51 interrupt-controller: true
53 "#interrupt-cells":
56 rtc:
58 $ref: /schemas/rtc/rtc.yaml#
66 - enum:
67 - mediatek,mt6323-rtc
68 - mediatek,mt6331-rtc
69 - mediatek,mt6358-rtc
70 - mediatek,mt6397-rtc
71 - items:
72 - enum:
73 - mediatek,mt6366-rtc
74 - const: mediatek,mt6358-rtc
76 start-year: true
79 - compatible
90 - enum:
91 - mediatek,mt6323-regulator
92 - mediatek,mt6328-regulator
93 - mediatek,mt6358-regulator
94 - mediatek,mt6359-regulator
95 - mediatek,mt6397-regulator
96 - items:
97 - enum:
98 - mediatek,mt6366-regulator
99 - const: mediatek,mt6358-regulator
102 - compatible
106 $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml#
109 audio-codec:
118 - enum:
119 - mediatek,mt6358-sound
120 - mediatek,mt6359-codec
121 - mediatek,mt6397-codec
122 - items:
123 - enum:
124 - mediatek,mt6366-sound
125 - const: mediatek,mt6358-sound
128 - compatible
139 const: mediatek,mt6397-clk
141 '#clock-cells':
145 - compatible
151 MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
152 controllers are defined as the subnode of the function node provided by MT6323
153 PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
155 MT6323 PMIC hardware.
157 Each led is represented as a child node of the mediatek,mt6323-led that
164 - mediatek,mt6323-led
165 - mediatek,mt6331-led
166 - mediatek,mt6332-led
171 "#address-cells":
174 "#size-cells":
178 "^led@[0-3]$":
191 - reg
194 - compatible
195 - "#address-cells"
196 - "#size-cells"
200 $ref: /schemas/input/mediatek,pmic-keys.yaml
205 power-controller:
215 const: mediatek,mt6323-pwrc
217 '#power-domain-cells':
222 $ref: /schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml
228 - compatible
229 - regulators
234 - |
235 #include <dt-bindings/interrupt-controller/arm-gic.h>
236 #include <dt-bindings/leds/common.h>
239 compatible = "mediatek,mt6323";
240 interrupt-parent = <&pio>;
242 interrupt-controller;
243 #interrupt-cells = <2>;
246 compatible = "mediatek,mt6323-led";
247 #address-cells = <1>;
248 #size-cells = <0>;
252 compatible = "mediatek,mt6323-regulator";
255 regulator-name = "vproc";
256 regulator-min-microvolt = < 700000>;
257 regulator-max-microvolt = <1350000>;
258 regulator-ramp-delay = <12500>;
259 regulator-always-on;
260 regulator-boot-on;
264 regulator-name = "vsys";
265 regulator-min-microvolt = <1400000>;
266 regulator-max-microvolt = <2987500>;
267 regulator-ramp-delay = <25000>;
268 regulator-always-on;
269 regulator-boot-on;
273 regulator-name = "vpa";
274 regulator-min-microvolt = < 500000>;
275 regulator-max-microvolt = <3650000>;
279 regulator-name = "vtcxo";
280 regulator-min-microvolt = <2800000>;
281 regulator-max-microvolt = <2800000>;
282 regulator-enable-ramp-delay = <90>;
283 regulator-always-on;
284 regulator-boot-on;
288 regulator-name = "vcn28";
289 regulator-min-microvolt = <2800000>;
290 regulator-max-microvolt = <2800000>;
291 regulator-enable-ramp-delay = <185>;
295 regulator-name = "vcn33_bt";
296 regulator-min-microvolt = <3300000>;
297 regulator-max-microvolt = <3600000>;
298 regulator-enable-ramp-delay = <185>;
302 regulator-name = "vcn33_wifi";
303 regulator-min-microvolt = <3300000>;
304 regulator-max-microvolt = <3600000>;
305 regulator-enable-ramp-delay = <185>;
309 regulator-name = "va";
310 regulator-min-microvolt = <2800000>;
311 regulator-max-microvolt = <2800000>;
312 regulator-enable-ramp-delay = <216>;
313 regulator-always-on;
314 regulator-boot-on;
318 regulator-name = "vcama";
319 regulator-min-microvolt = <1500000>;
320 regulator-max-microvolt = <2800000>;
321 regulator-enable-ramp-delay = <216>;
325 regulator-name = "vio28";
326 regulator-min-microvolt = <2800000>;
327 regulator-max-microvolt = <2800000>;
328 regulator-enable-ramp-delay = <216>;
329 regulator-always-on;
330 regulator-boot-on;
334 regulator-name = "vusb";
335 regulator-min-microvolt = <3300000>;
336 regulator-max-microvolt = <3300000>;
337 regulator-enable-ramp-delay = <216>;
338 regulator-boot-on;
342 regulator-name = "vmc";
343 regulator-min-microvolt = <1800000>;
344 regulator-max-microvolt = <3300000>;
345 regulator-enable-ramp-delay = <36>;
346 regulator-boot-on;
350 regulator-name = "vmch";
351 regulator-min-microvolt = <3000000>;
352 regulator-max-microvolt = <3300000>;
353 regulator-enable-ramp-delay = <36>;
354 regulator-boot-on;
358 regulator-name = "vemc3v3";
359 regulator-min-microvolt = <3000000>;
360 regulator-max-microvolt = <3300000>;
361 regulator-enable-ramp-delay = <36>;
362 regulator-boot-on;
366 regulator-name = "vgp1";
367 regulator-min-microvolt = <1200000>;
368 regulator-max-microvolt = <3300000>;
369 regulator-enable-ramp-delay = <216>;
373 regulator-name = "vgp2";
374 regulator-min-microvolt = <1200000>;
375 regulator-max-microvolt = <3000000>;
376 regulator-enable-ramp-delay = <216>;
380 regulator-name = "vgp3";
381 regulator-min-microvolt = <1200000>;
382 regulator-max-microvolt = <1800000>;
383 regulator-enable-ramp-delay = <216>;
387 regulator-name = "vcn18";
388 regulator-min-microvolt = <1800000>;
389 regulator-max-microvolt = <1800000>;
390 regulator-enable-ramp-delay = <216>;
394 regulator-name = "vsim1";
395 regulator-min-microvolt = <1800000>;
396 regulator-max-microvolt = <3000000>;
397 regulator-enable-ramp-delay = <216>;
401 regulator-name = "vsim2";
402 regulator-min-microvolt = <1800000>;
403 regulator-max-microvolt = <3000000>;
404 regulator-enable-ramp-delay = <216>;
408 regulator-name = "vrtc";
409 regulator-min-microvolt = <2800000>;
410 regulator-max-microvolt = <2800000>;
411 regulator-always-on;
412 regulator-boot-on;
416 regulator-name = "vcamaf";
417 regulator-min-microvolt = <1200000>;
418 regulator-max-microvolt = <3300000>;
419 regulator-enable-ramp-delay = <216>;
423 regulator-name = "vibr";
424 regulator-min-microvolt = <1200000>;
425 regulator-max-microvolt = <3300000>;
426 regulator-enable-ramp-delay = <36>;
430 regulator-name = "vrf18";
431 regulator-min-microvolt = <1825000>;
432 regulator-max-microvolt = <1825000>;
433 regulator-enable-ramp-delay = <187>;
437 regulator-name = "vm";
438 regulator-min-microvolt = <1200000>;
439 regulator-max-microvolt = <1800000>;
440 regulator-enable-ramp-delay = <216>;
441 regulator-always-on;
442 regulator-boot-on;
446 regulator-name = "vio18";
447 regulator-min-microvolt = <1800000>;
448 regulator-max-microvolt = <1800000>;
449 regulator-enable-ramp-delay = <216>;
450 regulator-always-on;
451 regulator-boot-on;
455 regulator-name = "vcamd";
456 regulator-min-microvolt = <1200000>;
457 regulator-max-microvolt = <1800000>;
458 regulator-enable-ramp-delay = <216>;
462 regulator-name = "vcamio";
463 regulator-min-microvolt = <1800000>;
464 regulator-max-microvolt = <1800000>;
465 regulator-enable-ramp-delay = <216>;
470 compatible = "mediatek,mt6323-keys";
471 mediatek,long-press-mode = <1>;
472 power-off-time-sec = <0>;
476 wakeup-source;
484 power-controller {
485 compatible = "mediatek,mt6323-pwrc";
486 #power-domain-cells = <0>;
489 rtc {
490 compatible = "mediatek,mt6323-rtc";
494 - |
495 #include <dt-bindings/input/input.h>
496 #include <dt-bindings/interrupt-controller/arm-gic.h>
500 interrupt-controller;
501 #interrupt-cells = <2>;
503 audio-codec {
504 compatible = "mediatek,mt6358-sound";
505 Avdd-supply = <&mt6358_vaud28_reg>;
506 mediatek,dmic-mode = <0>;
510 compatible = "mediatek,mt6358-regulator";
513 regulator-name = "vdram1";
514 regulator-min-microvolt = <500000>;
515 regulator-max-microvolt = <2087500>;
516 regulator-ramp-delay = <12500>;
517 regulator-enable-ramp-delay = <0>;
518 regulator-always-on;
519 regulator-allowed-modes = <0 1>;
525 regulator-name = "vsim2";
526 regulator-min-microvolt = <1700000>;
527 regulator-max-microvolt = <3100000>;
528 regulator-enable-ramp-delay = <540>;
532 rtc {
533 compatible = "mediatek,mt6358-rtc";
537 compatible = "mediatek,mt6358-keys";
541 wakeup-source;
550 - |
551 #include <dt-bindings/interrupt-controller/arm-gic.h>
556 interrupt-parent = <&pio>;
557 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
558 interrupt-controller;
559 #interrupt-cells = <2>;
561 audio-codec {
562 compatible = "mediatek,mt6397-codec";
566 compatible = "mediatek,mt6397-clk";
567 #clock-cells = <1>;
571 compatible = "mediatek,mt6397-pinctrl";
572 gpio-controller;
573 #gpio-cells = <2>;
577 compatible = "mediatek,mt6397-regulator";
580 regulator-name = "vpca15";
581 regulator-min-microvolt = < 850000>;
582 regulator-max-microvolt = <1350000>;
583 regulator-ramp-delay = <12500>;
584 regulator-enable-ramp-delay = <200>;
590 regulator-name = "vibr";
591 regulator-min-microvolt = <1200000>;
592 regulator-max-microvolt = <3300000>;
593 regulator-enable-ramp-delay = <218>;
597 rtc {
598 compatible = "mediatek,mt6397-rtc";