Lines Matching +full:pmu1830 +full:- +full:supply
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/usb/pd.h>
13 model = "OPEN AI LAB EAIDK-610";
14 compatible = "openailab,eaidk-610", "rockchip,rk3399";
24 compatible = "pwm-backlight";
26 brightness-levels = <
59 default-brightness-level = <200>;
62 clkin_gmac: external-gmac-clock {
63 compatible = "fixed-clock";
64 clock-frequency = <125000000>;
65 clock-output-names = "clkin_gmac";
66 #clock-cells = <0>;
69 dc_12v: dc-12v {
70 compatible = "regulator-fixed";
71 regulator-name = "dc_12v";
72 regulator-always-on;
73 regulator-boot-on;
74 regulator-min-microvolt = <12000000>;
75 regulator-max-microvolt = <12000000>;
78 gpio-keys {
79 compatible = "gpio-keys";
81 pinctrl-names = "default";
82 pinctrl-0 = <&pwrbtn>;
84 key-power {
85 debounce-interval = <100>;
89 wakeup-source;
94 compatible = "gpio-leds";
95 pinctrl-names = "default";
96 pinctrl-0 = <&work_led_pin>, <&user_led_pin>,
100 work_led: led-0 {
102 default-state = "on";
106 user_led: led-1 {
108 default-state = "off";
112 heartbeat_led: led-2 {
114 linux,default-trigger = "heartbeat";
118 wlan_active_led: led-3 {
121 linux,default-trigger = "phy0tx";
122 default-state = "off";
125 bt_active_led: led-4 {
128 linux,default-trigger = "hci0-power";
129 default-state = "off";
133 rt5651-sound {
134 compatible = "simple-audio-card";
135 simple-audio-card,name = "realtek,rt5651-codec";
136 simple-audio-card,format = "i2s";
137 simple-audio-card,mclk-fs = <256>;
138 simple-audio-card,widgets =
141 simple-audio-card,routing =
146 simple-audio-card,cpu {
147 sound-dai = <&i2s1>;
149 simple-audio-card,codec {
150 sound-dai = <&rt5651>;
154 sdio_pwrseq: sdio-pwrseq {
155 compatible = "mmc-pwrseq-simple";
157 clock-names = "ext_clock";
158 pinctrl-names = "default";
159 pinctrl-0 = <&wifi_enable_h>;
164 * - SDIO_RESET_L_WL_REG_ON
165 * - PDN (power down when low)
167 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
171 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
172 compatible = "regulator-fixed";
173 regulator-name = "vcc1v8_s3";
174 regulator-always-on;
175 regulator-boot-on;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
178 vin-supply = <&vcc_1v8>;
181 vcc3v3_sys: vcc3v3-sys {
182 compatible = "regulator-fixed";
183 regulator-name = "vcc3v3_sys";
184 regulator-always-on;
185 regulator-boot-on;
186 regulator-min-microvolt = <3300000>;
187 regulator-max-microvolt = <3300000>;
188 vin-supply = <&dc_12v>;
191 vcc5v0_sys: vcc5v0-sys {
192 compatible = "regulator-fixed";
193 regulator-name = "vcc5v0_sys";
194 regulator-always-on;
195 regulator-boot-on;
196 regulator-min-microvolt = <5000000>;
197 regulator-max-microvolt = <5000000>;
198 vin-supply = <&dc_12v>;
202 vcc5v0_host1: vcc5v0-host1-regulator {
203 compatible = "regulator-fixed";
204 enable-active-high;
206 pinctrl-names = "default";
207 pinctrl-0 = <&vcc5v0_host1_en>;
208 regulator-name = "vcc5v0_host1";
209 regulator-always-on;
210 vin-supply = <&vcc5v0_sys>;
214 vcc5v0_host3: vcc5v0-host3-regulator {
215 compatible = "regulator-fixed";
216 enable-active-high;
218 pinctrl-names = "default";
219 pinctrl-0 = <&vcc5v0_host3_en>;
220 regulator-name = "vcc5v0_host3";
221 regulator-always-on;
222 vin-supply = <&vcc5v0_sys>;
225 vcc5v0_typec: vcc5v0-typec-regulator {
226 compatible = "regulator-fixed";
227 enable-active-high;
229 pinctrl-names = "default";
230 pinctrl-0 = <&vcc5v0_typec_en>;
231 regulator-name = "vcc5v0_typec";
232 regulator-always-on;
233 vin-supply = <&vcc3v3_sys>;
236 vdd_log: vdd-log {
237 compatible = "regulator-fixed";
238 regulator-name = "vdd_log";
239 regulator-always-on;
240 regulator-boot-on;
241 regulator-min-microvolt = <900000>;
242 regulator-max-microvolt = <900000>;
247 cpu-supply = <&vdd_cpu_l>;
251 cpu-supply = <&vdd_cpu_l>;
255 cpu-supply = <&vdd_cpu_l>;
259 cpu-supply = <&vdd_cpu_l>;
263 cpu-supply = <&vdd_cpu_b>;
267 cpu-supply = <&vdd_cpu_b>;
275 assigned-clocks = <&cru SCLK_RMII_SRC>;
276 assigned-clock-parents = <&clkin_gmac>;
278 phy-supply = <&vcc_lan>;
279 phy-mode = "rgmii";
280 pinctrl-names = "default";
281 pinctrl-0 = <&rgmii_pins>;
282 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
283 snps,reset-active-low;
284 snps,reset-delays-us = <0 10000 50000>;
291 mali-supply = <&vdd_gpu>;
296 ddc-i2c-bus = <&i2c3>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&hdmi_cec>;
308 interrupt-parent = <&gpio1>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pmic_int_l>;
312 rockchip,system-power-controller;
313 wakeup-source;
314 #clock-cells = <1>;
315 clock-output-names = "xin32k", "rk808-clkout2";
317 vcc1-supply = <&vcc3v3_sys>;
318 vcc2-supply = <&vcc3v3_sys>;
319 vcc3-supply = <&vcc3v3_sys>;
320 vcc4-supply = <&vcc3v3_sys>;
321 vcc6-supply = <&vcc3v3_sys>;
322 vcc7-supply = <&vcc3v3_sys>;
323 vcc8-supply = <&vcc3v3_sys>;
324 vcc9-supply = <&vcc3v3_sys>;
325 vcc10-supply = <&vcc3v3_sys>;
326 vcc11-supply = <&vcc3v3_sys>;
327 vcc12-supply = <&vcc3v3_sys>;
328 vddio-supply = <&vcc_3v0>;
332 regulator-name = "vdd_center";
333 regulator-min-microvolt = <750000>;
334 regulator-max-microvolt = <1350000>;
335 regulator-ramp-delay = <6001>;
336 regulator-always-on;
337 regulator-boot-on;
339 regulator-state-mem {
340 regulator-off-in-suspend;
345 regulator-name = "vdd_cpu_l";
346 regulator-min-microvolt = <750000>;
347 regulator-max-microvolt = <1350000>;
348 regulator-ramp-delay = <6001>;
349 regulator-always-on;
350 regulator-boot-on;
352 regulator-state-mem {
353 regulator-off-in-suspend;
358 regulator-name = "vcc_ddr";
359 regulator-always-on;
360 regulator-boot-on;
361 regulator-state-mem {
362 regulator-on-in-suspend;
367 regulator-name = "vcc_1v8";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
370 regulator-always-on;
371 regulator-boot-on;
373 regulator-state-mem {
374 regulator-on-in-suspend;
375 regulator-suspend-microvolt = <1800000>;
380 regulator-name = "vcc1v8_dvp";
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <1800000>;
383 regulator-always-on;
384 regulator-boot-on;
386 regulator-state-mem {
387 regulator-off-in-suspend;
392 regulator-name = "vcc2v8_dvp";
393 regulator-min-microvolt = <2800000>;
394 regulator-max-microvolt = <2800000>;
395 regulator-always-on;
396 regulator-boot-on;
398 regulator-state-mem {
399 regulator-off-in-suspend;
404 regulator-name = "vcc1v8_pmu";
405 regulator-min-microvolt = <1800000>;
406 regulator-max-microvolt = <1800000>;
407 regulator-always-on;
408 regulator-boot-on;
410 regulator-state-mem {
411 regulator-on-in-suspend;
412 regulator-suspend-microvolt = <1800000>;
417 regulator-name = "vcc_sdio";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <3000000>;
420 regulator-always-on;
421 regulator-boot-on;
423 regulator-state-mem {
424 regulator-on-in-suspend;
425 regulator-suspend-microvolt = <3000000>;
430 regulator-name = "vcca3v0_codec";
431 regulator-min-microvolt = <3000000>;
432 regulator-max-microvolt = <3000000>;
433 regulator-always-on;
434 regulator-boot-on;
436 regulator-state-mem {
437 regulator-off-in-suspend;
442 regulator-name = "vcc_1v5";
443 regulator-min-microvolt = <1500000>;
444 regulator-max-microvolt = <1500000>;
445 regulator-always-on;
446 regulator-boot-on;
448 regulator-state-mem {
449 regulator-on-in-suspend;
450 regulator-suspend-microvolt = <1500000>;
455 regulator-name = "vcca1v8_codec";
456 regulator-min-microvolt = <1800000>;
457 regulator-max-microvolt = <1800000>;
458 regulator-always-on;
459 regulator-boot-on;
461 regulator-state-mem {
462 regulator-off-in-suspend;
467 regulator-name = "vcc_3v0";
468 regulator-min-microvolt = <3000000>;
469 regulator-max-microvolt = <3000000>;
470 regulator-always-on;
471 regulator-boot-on;
473 regulator-state-mem {
474 regulator-on-in-suspend;
475 regulator-suspend-microvolt = <3000000>;
480 regulator-name = "vcc3v3_s3";
481 regulator-always-on;
482 regulator-boot-on;
483 regulator-state-mem {
484 regulator-off-in-suspend;
489 regulator-name = "vcc3v3_s0";
490 regulator-always-on;
491 regulator-boot-on;
492 regulator-state-mem {
493 regulator-off-in-suspend;
502 fcs,suspend-voltage-selector = <1>;
503 regulator-name = "vdd_cpu_b";
504 pinctrl-names = "default";
505 pinctrl-0 = <&vsel1_pin>;
506 regulator-min-microvolt = <712500>;
507 regulator-max-microvolt = <1500000>;
508 regulator-ramp-delay = <1000>;
509 regulator-always-on;
510 regulator-boot-on;
511 vin-supply = <&vcc3v3_sys>;
513 regulator-state-mem {
514 regulator-off-in-suspend;
521 fcs,suspend-voltage-selector = <1>;
522 regulator-name = "vdd_gpu";
523 pinctrl-names = "default";
524 pinctrl-0 = <&vsel2_pin>;
525 regulator-min-microvolt = <712500>;
526 regulator-max-microvolt = <1500000>;
527 regulator-ramp-delay = <1000>;
528 regulator-always-on;
529 regulator-boot-on;
530 vin-supply = <&vcc3v3_sys>;
532 regulator-state-mem {
533 regulator-off-in-suspend;
539 i2c-scl-rising-time-ns = <300>;
540 i2c-scl-falling-time-ns = <15>;
543 rt5651: audio-codec@1a {
547 clock-names = "mclk";
548 hp-det-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
549 spk-con-gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
550 #sound-dai-cells = <0>;
556 i2c-scl-rising-time-ns = <450>;
557 i2c-scl-falling-time-ns = <15>;
562 i2c-scl-rising-time-ns = <600>;
563 i2c-scl-falling-time-ns = <20>;
566 fusb0: typec-portc@22 {
569 interrupt-parent = <&gpio1>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&fusb0_int>;
573 vbus-supply = <&vcc5v0_typec>;
576 #address-cells = <1>;
577 #size-cells = <0>;
582 remote-endpoint = <&dwc3_0_role_switch>;
588 compatible = "usb-c-connector";
589 data-role = "dual";
590 label = "USB-C";
593 #address-cells = <1>;
594 #size-cells = <0>;
600 remote-endpoint = <&u2phy0_typec_hs>;
608 remote-endpoint = <&tcphy0_typec_ss>;
617 rockchip,playback-channels = <2>;
618 rockchip,capture-channels = <2>;
629 audio-supply = <&vcca1v8_codec>;
630 bt656-supply = <&vcc_3v0>;
631 gpio1830-supply = <&vcc_3v0>;
632 sdmmc-supply = <&vcc_sdio>;
638 pmu1830-supply = <&vcc_3v0>;
649 bt_enable_h: bt-enable-h {
653 bt_host_wake_l: bt-host-wake-l {
657 bt_wake_l: bt-wake-l {
663 fusb0_int: fusb0-int {
668 lcd-panel {
669 lcd_panel_reset: lcd-panel-reset {
675 work_led_pin: work-led-pin {
679 user_led_pin: user-led-pin {
683 heartbeat_led_pin: heartbeat-led-pin {
687 wlan_active_led_pin: wlan-led-pin {
691 bt_active_led_pin: bt-led-pin {
699 pmic_int_l: pmic-int-l {
703 vsel1_pin: vsel1-pin {
707 vsel2_pin: vsel2-pin {
713 rt5651_hpcon: rt5640-hpcon {
718 sdio-pwrseq {
719 wifi_enable_h: wifi-enable-h {
724 usb-typec {
731 vcc5v0_host3_en: vcc5v0-host3-en {
735 vcc5v0_host1_en: vcc5v0-host1-en {
741 wifi_host_wake_l: wifi-host-wake-l {
752 vref-supply = <&vcca1v8_s3>;
758 #address-cells = <1>;
759 #size-cells = <0>;
760 bus-width = <4>;
761 clock-frequency = <50000000>;
762 cap-sdio-irq;
763 cap-sd-highspeed;
764 keep-power-in-suspend;
765 mmc-pwrseq = <&sdio_pwrseq>;
766 non-removable;
767 pinctrl-names = "default";
768 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
769 sd-uhs-sdr104;
773 compatible = "brcm,bcm4329-fmac";
775 interrupt-parent = <&gpio0>;
777 interrupt-names = "host-wake";
778 pinctrl-names = "default";
779 pinctrl-0 = <&wifi_host_wake_l>;
784 bus-width = <4>;
785 cap-mmc-highspeed;
786 cap-sd-highspeed;
787 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
788 disable-wp;
789 max-frequency = <150000000>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
796 bus-width = <8>;
797 non-removable;
806 orientation-switch;
809 remote-endpoint = <&usbc_ss>;
820 rockchip,hw-tshut-mode = <1>;
822 rockchip,hw-tshut-polarity = <1>;
829 u2phy0_otg: otg-port {
833 u2phy0_host: host-port {
834 phy-supply = <&vcc5v0_host3>;
840 remote-endpoint = <&usbc_hs>;
848 u2phy1_otg: otg-port {
852 u2phy1_host: host-port {
853 phy-supply = <&vcc5v0_host3>;
859 pinctrl-names = "default";
860 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
866 clock-names = "lpo";
867 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
868 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
869 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
870 max-speed = <1500000>;
871 pinctrl-names = "default";
872 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
873 vbat-supply = <&vcc3v3_sys>;
874 vddio-supply = <&vcc_1v8>;
904 usb-role-switch;
907 #address-cells = <1>;
908 #size-cells = <0>;
911 remote-endpoint = <&usbc0_role_sw>;