Lines Matching +full:regulator +full:- +full:state +full:-
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-opp.dtsi"
14 stdout-path = "serial2:1500000n8";
17 clkin_gmac: external-gmac-clock {
18 compatible = "fixed-clock";
19 clock-frequency = <125000000>;
20 clock-output-names = "clkin_gmac";
21 #clock-cells = <0>;
24 gpio-keys {
25 compatible = "gpio-keys";
27 pinctrl-names = "default";
28 pinctrl-0 = <&pwrbtn>;
31 debounce-interval = <100>;
35 wakeup-source;
40 compatible = "gpio-leds";
41 pinctrl-names = "default";
42 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
44 work_led: led-0 {
46 default-state = "on";
50 diy_led: led-1 {
52 default-state = "off";
57 fan: pwm-fan {
58 compatible = "pwm-fan";
59 #cooling-cells = <2>;
60 fan-supply = <&vcc12v_dcin>;
64 sdio_pwrseq: sdio-pwrseq {
65 compatible = "mmc-pwrseq-simple";
67 clock-names = "ext_clock";
68 pinctrl-names = "default";
69 pinctrl-0 = <&wifi_enable_h>;
70 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
74 compatible = "audio-graph-card";
79 vcc12v_dcin: vcc12v-dcin {
80 compatible = "regulator-fixed";
81 regulator-name = "vcc12v_dcin";
82 regulator-always-on;
83 regulator-boot-on;
84 regulator-min-microvolt = <12000000>;
85 regulator-max-microvolt = <12000000>;
89 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
90 compatible = "regulator-fixed";
91 regulator-name = "vcc1v8_s3";
92 regulator-always-on;
93 regulator-boot-on;
94 regulator-min-microvolt = <1800000>;
95 regulator-max-microvolt = <1800000>;
96 vin-supply = <&vcc_1v8>;
100 vcc3v0_sd: vcc3v0-sd {
101 compatible = "regulator-fixed";
102 enable-active-high;
104 pinctrl-names = "default";
105 pinctrl-0 = <&sdmmc0_pwr_h>;
106 regulator-name = "vcc3v0_sd";
107 regulator-always-on;
108 regulator-min-microvolt = <3000000>;
109 regulator-max-microvolt = <3000000>;
110 vin-supply = <&vcc3v3_sys>;
112 regulator-state-mem {
113 regulator-off-in-suspend;
117 vcc3v3_pcie: vcc3v3-pcie-regulator {
118 compatible = "regulator-fixed";
119 enable-active-high;
121 pinctrl-names = "default";
122 pinctrl-0 = <&pcie_pwr_en>;
123 regulator-name = "vcc3v3_pcie";
124 regulator-always-on;
125 regulator-boot-on;
126 vin-supply = <&vcc12v_dcin>;
129 vcc3v3_sys: vcc3v3-sys {
130 compatible = "regulator-fixed";
131 regulator-name = "vcc3v3_sys";
132 regulator-always-on;
133 regulator-boot-on;
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
136 vin-supply = <&vcc5v0_sys>;
140 vcc5v0_host: vcc5v0-host-regulator {
141 compatible = "regulator-fixed";
142 enable-active-high;
144 pinctrl-names = "default";
145 pinctrl-0 = <&vcc5v0_host_en>;
146 regulator-name = "vcc5v0_host";
147 regulator-always-on;
148 vin-supply = <&vcc5v0_usb>;
151 vcc5v0_typec: vcc5v0-typec-regulator {
152 compatible = "regulator-fixed";
153 enable-active-high;
155 pinctrl-names = "default";
156 pinctrl-0 = <&vcc5v0_typec_en>;
157 regulator-name = "vcc5v0_typec";
158 regulator-always-on;
159 vin-supply = <&vcc5v0_usb>;
162 vcc5v0_sys: vcc5v0-sys {
163 compatible = "regulator-fixed";
164 regulator-name = "vcc5v0_sys";
165 regulator-always-on;
166 regulator-boot-on;
167 regulator-min-microvolt = <5000000>;
168 regulator-max-microvolt = <5000000>;
169 vin-supply = <&vcc12v_dcin>;
172 vcc5v0_usb: vcc5v0-usb {
173 compatible = "regulator-fixed";
174 regulator-name = "vcc5v0_usb";
175 regulator-always-on;
176 regulator-boot-on;
177 regulator-min-microvolt = <5000000>;
178 regulator-max-microvolt = <5000000>;
179 vin-supply = <&vcc12v_dcin>;
182 vdd_log: vdd-log {
183 compatible = "pwm-regulator";
185 regulator-name = "vdd_log";
186 regulator-always-on;
187 regulator-boot-on;
188 regulator-min-microvolt = <800000>;
189 regulator-max-microvolt = <1700000>;
190 vin-supply = <&vcc5v0_sys>;
195 cpu-supply = <&vdd_cpu_l>;
199 cpu-supply = <&vdd_cpu_l>;
203 cpu-supply = <&vdd_cpu_l>;
207 cpu-supply = <&vdd_cpu_l>;
211 cpu-supply = <&vdd_cpu_b>;
215 cpu-supply = <&vdd_cpu_b>;
223 assigned-clocks = <&cru SCLK_RMII_SRC>;
224 assigned-clock-parents = <&clkin_gmac>;
226 phy-supply = <&vcc_lan>;
227 phy-mode = "rgmii";
228 pinctrl-names = "default";
229 pinctrl-0 = <&rgmii_pins>;
230 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
231 snps,reset-active-low;
232 snps,reset-delays-us = <0 10000 50000>;
239 ddc-i2c-bus = <&i2c3>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&hdmi_cec>;
250 mali-supply = <&vdd_gpu>;
255 clock-frequency = <400000>;
256 i2c-scl-rising-time-ns = <168>;
257 i2c-scl-falling-time-ns = <4>;
263 interrupt-parent = <&gpio3>;
265 #clock-cells = <1>;
266 clock-output-names = "xin32k", "rk808-clkout2";
267 pinctrl-names = "default";
268 pinctrl-0 = <&pmic_int_l>;
269 rockchip,system-power-controller;
270 wakeup-source;
272 vcc1-supply = <&vcc5v0_sys>;
273 vcc2-supply = <&vcc5v0_sys>;
274 vcc3-supply = <&vcc5v0_sys>;
275 vcc4-supply = <&vcc5v0_sys>;
276 vcc6-supply = <&vcc5v0_sys>;
277 vcc7-supply = <&vcc5v0_sys>;
278 vcc8-supply = <&vcc3v3_sys>;
279 vcc9-supply = <&vcc5v0_sys>;
280 vcc10-supply = <&vcc5v0_sys>;
281 vcc11-supply = <&vcc5v0_sys>;
282 vcc12-supply = <&vcc3v3_sys>;
283 vddio-supply = <&vcca_1v8>;
287 regulator-name = "vdd_center";
288 regulator-always-on;
289 regulator-boot-on;
290 regulator-min-microvolt = <750000>;
291 regulator-max-microvolt = <1350000>;
292 regulator-ramp-delay = <6001>;
293 regulator-state-mem {
294 regulator-off-in-suspend;
299 regulator-name = "vdd_cpu_l";
300 regulator-always-on;
301 regulator-boot-on;
302 regulator-min-microvolt = <750000>;
303 regulator-max-microvolt = <1350000>;
304 regulator-ramp-delay = <6001>;
305 regulator-state-mem {
306 regulator-off-in-suspend;
311 regulator-name = "vcc_ddr";
312 regulator-always-on;
313 regulator-boot-on;
314 regulator-state-mem {
315 regulator-on-in-suspend;
320 regulator-name = "vcc_1v8";
321 regulator-always-on;
322 regulator-boot-on;
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <1800000>;
325 regulator-state-mem {
326 regulator-on-in-suspend;
327 regulator-suspend-microvolt = <1800000>;
332 regulator-name = "vcc1v8_dvp";
333 regulator-always-on;
334 regulator-boot-on;
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <1800000>;
337 regulator-state-mem {
338 regulator-off-in-suspend;
343 regulator-name = "vcc3v0_touch";
344 regulator-always-on;
345 regulator-boot-on;
346 regulator-min-microvolt = <3000000>;
347 regulator-max-microvolt = <3000000>;
348 regulator-state-mem {
349 regulator-off-in-suspend;
354 regulator-name = "vcca_1v8";
355 regulator-always-on;
356 regulator-boot-on;
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
359 regulator-state-mem {
360 regulator-on-in-suspend;
361 regulator-suspend-microvolt = <1800000>;
366 regulator-name = "vcc_sdio";
367 regulator-always-on;
368 regulator-boot-on;
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <3000000>;
371 regulator-state-mem {
372 regulator-on-in-suspend;
373 regulator-suspend-microvolt = <3000000>;
378 regulator-name = "vcca3v0_codec";
379 regulator-always-on;
380 regulator-boot-on;
381 regulator-min-microvolt = <3000000>;
382 regulator-max-microvolt = <3000000>;
383 regulator-state-mem {
384 regulator-off-in-suspend;
389 regulator-name = "vcc_1v5";
390 regulator-always-on;
391 regulator-boot-on;
392 regulator-min-microvolt = <1500000>;
393 regulator-max-microvolt = <1500000>;
394 regulator-state-mem {
395 regulator-on-in-suspend;
396 regulator-suspend-microvolt = <1500000>;
401 regulator-name = "vcca1v8_codec";
402 regulator-always-on;
403 regulator-boot-on;
404 regulator-min-microvolt = <1800000>;
405 regulator-max-microvolt = <1800000>;
406 regulator-state-mem {
407 regulator-off-in-suspend;
412 regulator-name = "vcc_3v0";
413 regulator-always-on;
414 regulator-boot-on;
415 regulator-min-microvolt = <3000000>;
416 regulator-max-microvolt = <3000000>;
417 regulator-state-mem {
418 regulator-on-in-suspend;
419 regulator-suspend-microvolt = <3000000>;
424 regulator-name = "vcc3v3_s3";
425 regulator-always-on;
426 regulator-boot-on;
427 regulator-state-mem {
428 regulator-off-in-suspend;
433 regulator-name = "vcc3v3_s0";
434 regulator-always-on;
435 regulator-boot-on;
436 regulator-state-mem {
437 regulator-off-in-suspend;
443 vdd_cpu_b: regulator@40 {
446 fcs,suspend-voltage-selector = <1>;
447 pinctrl-names = "default";
448 pinctrl-0 = <&vsel1_pin>;
449 regulator-name = "vdd_cpu_b";
450 regulator-min-microvolt = <712500>;
451 regulator-max-microvolt = <1500000>;
452 regulator-ramp-delay = <1000>;
453 regulator-always-on;
454 regulator-boot-on;
455 vin-supply = <&vcc5v0_sys>;
457 regulator-state-mem {
458 regulator-off-in-suspend;
462 vdd_gpu: regulator@41 {
465 fcs,suspend-voltage-selector = <1>;
466 pinctrl-names = "default";
467 pinctrl-0 = <&vsel2_pin>;
468 regulator-name = "vdd_gpu";
469 regulator-min-microvolt = <712500>;
470 regulator-max-microvolt = <1500000>;
471 regulator-ramp-delay = <1000>;
472 regulator-always-on;
473 regulator-boot-on;
474 vin-supply = <&vcc5v0_sys>;
476 regulator-state-mem {
477 regulator-off-in-suspend;
483 i2c-scl-rising-time-ns = <300>;
484 i2c-scl-falling-time-ns = <15>;
489 i2c-scl-rising-time-ns = <450>;
490 i2c-scl-falling-time-ns = <15>;
495 i2c-scl-rising-time-ns = <600>;
496 i2c-scl-falling-time-ns = <20>;
499 fusb0: typec-portc@22 {
502 interrupt-parent = <&gpio1>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&fusb0_int>;
506 vbus-supply = <&vcc5v0_typec>;
512 rockchip,playback-channels = <8>;
513 rockchip,capture-channels = <8>;
518 rockchip,playback-channels = <2>;
519 rockchip,capture-channels = <2>;
524 dai-format = "i2s";
525 mclk-fs = <256>;
526 remote-endpoint = <&es8316_p0_0>;
538 bt656-supply = <&vcc1v8_dvp>;
539 audio-supply = <&vcc_3v0>;
540 sdmmc-supply = <&vcc_sdio>;
541 gpio1830-supply = <&vcc_3v0>;
545 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
546 num-lanes = <4>;
547 pinctrl-names = "default";
548 pinctrl-0 = <&pcie_perst>;
549 vpcie12v-supply = <&vcc12v_dcin>;
550 vpcie3v3-supply = <&vcc3v3_pcie>;
559 pmu1830-supply = <&vcc_3v0>;
565 bt_enable_h: bt-enable-h {
569 bt_host_wake_l: bt-host-wake-l {
573 bt_wake_l: bt-wake-l {
585 fusb0_int: fusb0-int {
591 work_led_pin: work-led-pin {
595 diy_led_pin: diy-led-pin {
601 pcie_perst: pcie-perst {
605 pcie_pwr_en: pcie-pwr-en {
611 pmic_int_l: pmic-int-l {
615 vsel1_pin: vsel1-pin {
619 vsel2_pin: vsel2-pin {
625 sdmmc0_pwr_h: sdmmc0-pwr-h {
631 sdio-pwrseq {
632 wifi_enable_h: wifi-enable-h {
637 usb-typec {
644 vcc5v0_host_en: vcc5v0-host-en {
663 vref-supply = <&vcca1v8_s3>;
668 bus-width = <4>;
669 cap-sd-highspeed;
670 cap-sdio-irq;
671 disable-wp;
672 keep-power-in-suspend;
673 mmc-pwrseq = <&sdio_pwrseq>;
674 non-removable;
675 pinctrl-names = "default";
676 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
677 sd-uhs-sdr104;
682 bus-width = <4>;
683 cap-sd-highspeed;
684 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
685 disable-wp;
686 max-frequency = <150000000>;
687 pinctrl-names = "default";
688 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
689 vmmc-supply = <&vcc3v0_sd>;
690 vqmmc-supply = <&vcc_sdio>;
695 bus-width = <8>;
696 mmc-hs200-1_8v;
697 non-removable;
705 compatible = "jedec,spi-nor";
707 spi-max-frequency = <10000000>;
721 rockchip,hw-tshut-mode = <1>;
723 rockchip,hw-tshut-polarity = <1>;
730 u2phy0_otg: otg-port {
734 u2phy0_host: host-port {
735 phy-supply = <&vcc5v0_host>;
743 u2phy1_otg: otg-port {
747 u2phy1_host: host-port {
748 phy-supply = <&vcc5v0_host>;
754 pinctrl-names = "default";
755 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
759 compatible = "brcm,bcm43438-bt";
761 clock-names = "lpo";
762 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
763 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
764 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
765 pinctrl-names = "default";
766 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
767 vbat-supply = <&vcc3v3_sys>;
768 vddio-supply = <&vcc_1v8>;