Lines Matching +full:sdmmc +full:- +full:supply
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
11 #include "rk3399-t-opp.dtsi"
15 compatible = "radxa,rock-4c-plus", "rockchip,rk3399";
20 mmc1 = &sdmmc;
24 stdout-path = "serial2:1500000n8";
27 clkin_gmac: external-gmac-clock {
28 compatible = "fixed-clock";
29 clock-frequency = <125000000>;
30 clock-output-names = "clkin_gmac";
31 #clock-cells = <0>;
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
37 pinctrl-0 = <&user_led1 &user_led2>;
40 led-0 {
44 linux,default-trigger = "default-on";
48 led-1 {
52 linux,default-trigger = "heartbeat";
56 sdio_pwrseq: sdio-pwrseq {
57 compatible = "mmc-pwrseq-simple";
59 clock-names = "ext_clock";
60 pinctrl-names = "default";
61 pinctrl-0 = <&wifi_enable_h>;
62 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
65 vcc_3v3: vcc-3v3-regulator {
66 compatible = "regulator-fixed";
67 regulator-name = "vcc_3v3";
68 regulator-always-on;
69 regulator-boot-on;
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 vin-supply = <&vcc3v3_sys>;
75 vcc3v3_phy1: vcc3v3-phy1-regulator {
76 compatible = "regulator-fixed";
77 regulator-name = "vcc3v3_phy1";
78 regulator-always-on;
79 regulator-boot-on;
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
82 vin-supply = <&vcc_3v3>;
85 vcc5v0_host1: vcc5v0-host-regulator {
86 compatible = "regulator-fixed";
87 enable-active-high;
89 pinctrl-names = "default";
90 pinctrl-0 = <&vcc5v0_host_en>;
91 regulator-name = "vcc5v0_host1";
92 regulator-always-on;
93 regulator-boot-on;
94 vin-supply = <&vcc5v0_host0_s0>;
97 vcc5v0_sys: vcc5v0-sys-regulator {
98 compatible = "regulator-fixed";
99 regulator-name = "vcc5v0_sys";
100 regulator-always-on;
101 regulator-boot-on;
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
106 vcc5v0_typec: vcc5v0-typec-regulator {
107 compatible = "regulator-fixed";
108 enable-active-high;
110 pinctrl-names = "default";
111 pinctrl-0 = <&vcc5v0_typec0_en>;
112 regulator-name = "vcc5v0_typec";
113 regulator-always-on;
114 regulator-boot-on;
115 vin-supply = <&vcc5v0_sys>;
118 vdd_log: vdd-log-regulator {
119 compatible = "regulator-fixed";
120 regulator-name = "vdd_log";
121 regulator-always-on;
122 regulator-boot-on;
123 regulator-min-microvolt = <950000>;
124 regulator-max-microvolt = <950000>;
125 vin-supply = <&vcc5v0_sys>;
130 cpu-supply = <&vdd_cpu_l>;
134 cpu-supply = <&vdd_cpu_l>;
138 cpu-supply = <&vdd_cpu_l>;
142 cpu-supply = <&vdd_cpu_l>;
146 cpu-supply = <&vdd_cpu_b>;
150 cpu-supply = <&vdd_cpu_b>;
158 assigned-clocks = <&cru SCLK_RMII_SRC>;
159 assigned-clock-parents = <&clkin_gmac>;
161 phy-supply = <&vcc3v3_phy1>;
162 phy-mode = "rgmii";
163 pinctrl-names = "default";
164 pinctrl-0 = <&rgmii_pins>;
165 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
166 snps,reset-active-low;
167 snps,reset-delays-us = <0 10000 50000>;
174 mali-supply = <&vdd_gpu>;
179 avdd-0v9-supply = <&vcc_0v9_s0>;
180 avdd-1v8-supply = <&vcc_1v8_s0>;
181 ddc-i2c-bus = <&i2c3>;
182 pinctrl-names = "default";
183 pinctrl-0 = <&hdmi_cec>;
193 i2c-scl-falling-time-ns = <30>;
194 i2c-scl-rising-time-ns = <180>;
195 clock-frequency = <400000>;
200 interrupt-parent = <&gpio1>;
202 #clock-cells = <1>;
203 clock-output-names = "rk808-clkout1", "rk808-clkout2";
204 pinctrl-names = "default";
205 pinctrl-0 = <&pmic_int_l>;
206 rockchip,system-power-controller;
207 wakeup-source;
209 vcc1-supply = <&vcc5v0_sys>;
210 vcc2-supply = <&vcc5v0_sys>;
211 vcc3-supply = <&vcc5v0_sys>;
212 vcc4-supply = <&vcc5v0_sys>;
213 vcc5-supply = <&vcc_buck5_s3>;
214 vcc6-supply = <&vcc_buck5_s3>;
215 vcc7-supply = <&vcc5v0_sys>;
216 vcc8-supply = <&vcc3v3_sys>;
217 vcc9-supply = <&vcc5v0_sys>;
221 regulator-always-on;
222 regulator-boot-on;
223 regulator-min-microvolt = <750000>;
224 regulator-max-microvolt = <1350000>;
225 regulator-initial-mode = <0x2>;
226 regulator-name = "vdd_center";
227 regulator-state-mem {
228 regulator-off-in-suspend;
229 regulator-suspend-microvolt = <900000>;
234 regulator-always-on;
235 regulator-boot-on;
236 regulator-min-microvolt = <750000>;
237 regulator-max-microvolt = <1350000>;
238 regulator-ramp-delay = <6001>;
239 regulator-initial-mode = <0x2>;
240 regulator-name = "vdd_cpu_l";
241 regulator-state-mem {
242 regulator-off-in-suspend;
247 regulator-always-on;
248 regulator-boot-on;
249 regulator-name = "vcc_ddr";
250 regulator-initial-mode = <0x2>;
251 regulator-state-mem {
252 regulator-on-in-suspend;
257 regulator-always-on;
258 regulator-boot-on;
259 regulator-min-microvolt = <3300000>;
260 regulator-max-microvolt = <3300000>;
261 regulator-initial-mode = <0x2>;
262 regulator-name = "vcc3v3_sys";
263 regulator-state-mem {
264 regulator-on-in-suspend;
265 regulator-suspend-microvolt = <3300000>;
270 regulator-always-on;
271 regulator-boot-on;
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
274 regulator-name = "vcc_buck5_s3";
275 regulator-state-mem {
276 regulator-on-in-suspend;
277 regulator-suspend-microvolt = <3300000>;
282 regulator-always-on;
283 regulator-boot-on;
284 regulator-min-microvolt = <900000>;
285 regulator-max-microvolt = <900000>;
286 regulator-name = "vcc_0v9_s3";
287 regulator-state-mem {
288 regulator-off-in-suspend;
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-min-microvolt = <1800000>;
296 regulator-max-microvolt = <1800000>;
297 regulator-name = "vcc_1v8_s3";
298 regulator-state-mem {
299 regulator-on-in-suspend;
300 regulator-suspend-microvolt = <1800000>;
305 regulator-always-on;
306 regulator-boot-on;
307 regulator-min-microvolt = <900000>;
308 regulator-max-microvolt = <900000>;
309 regulator-name = "vcc_0v9_s0";
310 regulator-state-mem {
311 regulator-on-in-suspend;
312 regulator-suspend-microvolt = <900000>;
317 regulator-always-on;
318 regulator-boot-on;
319 regulator-min-microvolt = <1800000>;
320 regulator-max-microvolt = <1800000>;
321 regulator-name = "vcc_1v8_s0";
322 regulator-state-mem {
323 regulator-off-in-suspend;
328 regulator-always-on;
329 regulator-boot-on;
330 regulator-min-microvolt = <3000000>;
331 regulator-max-microvolt = <3000000>;
332 regulator-name = "vcc_mipi";
333 regulator-state-mem {
334 regulator-off-in-suspend;
339 regulator-always-on;
340 regulator-boot-on;
341 regulator-min-microvolt = <1500000>;
342 regulator-max-microvolt = <1500000>;
343 regulator-name = "vcc_1v5_s0";
344 regulator-state-mem {
345 regulator-off-in-suspend;
350 regulator-always-on;
351 regulator-boot-on;
352 regulator-min-microvolt = <3000000>;
353 regulator-max-microvolt = <3000000>;
354 regulator-name = "vcc_3v0_s0";
355 regulator-state-mem {
356 regulator-off-in-suspend;
361 regulator-always-on;
362 regulator-boot-on;
363 regulator-min-microvolt = <1800000>;
364 regulator-max-microvolt = <3300000>;
365 regulator-name = "vcc_sdio_s0";
366 regulator-state-mem {
367 regulator-off-in-suspend;
372 regulator-always-on;
373 regulator-boot-on;
374 regulator-min-microvolt = <3300000>;
375 regulator-max-microvolt = <3300000>;
376 regulator-name = "vcc_cam";
377 regulator-state-mem {
378 regulator-off-in-suspend;
383 regulator-always-on;
384 regulator-boot-on;
385 regulator-name = "vcc5v0_host0_s0";
386 regulator-state-mem {
387 regulator-on-in-suspend;
392 regulator-always-on;
393 regulator-boot-on;
394 regulator-name = "lcd_3v3";
395 regulator-state-mem {
396 regulator-off-in-suspend;
405 fcs,suspend-voltage-selector = <1>;
406 regulator-compatible = "fan53555-reg";
407 pinctrl-0 = <&vsel1_gpio>;
408 vsel-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
409 regulator-name = "vdd_cpu_b";
410 regulator-min-microvolt = <712500>;
411 regulator-max-microvolt = <1500000>;
412 regulator-ramp-delay = <1000>;
413 regulator-always-on;
414 regulator-boot-on;
415 vin-supply = <&vcc5v0_sys>;
416 regulator-state-mem {
417 regulator-off-in-suspend;
424 fcs,suspend-voltage-selector = <1>;
425 regulator-compatible = "fan53555-reg";
426 pinctrl-0 = <&vsel2_gpio>;
427 vsel-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>;
428 regulator-name = "vdd_gpu";
429 regulator-min-microvolt = <712500>;
430 regulator-max-microvolt = <1500000>;
431 regulator-ramp-delay = <1000>;
432 regulator-always-on;
433 regulator-boot-on;
434 vin-supply = <&vcc5v0_sys>;
435 regulator-initial-mode = <1>; /* 1:force PWM 2:auto */
436 regulator-state-mem {
437 regulator-off-in-suspend;
443 i2c-scl-rising-time-ns = <450>;
444 i2c-scl-falling-time-ns = <15>;
453 audio-supply = <&vcc_1v8_s0>;
454 bt656-supply = <&vcc_3v0_s0>;
455 gpio1830-supply = <&vcc_3v0_s0>;
456 sdmmc-supply = <&vcc_sdio_s0>;
462 bt_enable_h: bt-enable-h {
466 bt_host_wake_l: bt-host-wake-l {
470 bt_wake_l: bt-wake-l {
476 user_led1: user-led1 {
480 user_led2: user-led2 {
486 pmic_int_l: pmic-int-l {
490 vsel1_gpio: vsel1-gpio {
494 vsel2_gpio: vsel2-gpio {
499 sdmmc {
500 sdmmc_bus4: sdmmc-bus4 {
507 sdmmc_clk: sdmmc-clk {
511 sdmmc_cmd: sdmmc-cmd {
516 usb-typec {
517 vcc5v0_typec0_en: vcc5v0-typec-en {
523 vcc5v0_host_en: vcc5v0-host-en {
529 wifi_enable_h: wifi-enable-h {
533 wifi_host_wake_l: wifi-host-wake-l {
540 pmu1830-supply = <&vcc_3v0_s0>;
546 vref-supply = <&vcc_1v8_s3>;
550 max-frequency = <150000000>;
551 bus-width = <8>;
552 mmc-hs200-1_8v;
553 non-removable;
558 #address-cells = <1>;
559 #size-cells = <0>;
560 bus-width = <4>;
561 clock-frequency = <50000000>;
562 cap-sdio-irq;
563 cap-sd-highspeed;
564 keep-power-in-suspend;
565 mmc-pwrseq = <&sdio_pwrseq>;
566 non-removable;
567 pinctrl-names = "default";
568 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
569 sd-uhs-sdr104;
573 compatible = "brcm,bcm4329-fmac";
575 interrupt-parent = <&gpio0>;
577 interrupt-names = "host-wake";
578 pinctrl-names = "default";
579 pinctrl-0 = <&wifi_host_wake_l>;
583 &sdmmc {
584 bus-width = <4>;
585 cap-mmc-highspeed;
586 cap-sd-highspeed;
587 card-detect-delay = <800>;
588 disable-wp;
589 pinctrl-names = "default";
590 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
591 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
592 vqmmc-supply = <&vcc_sdio_s0>;
605 rockchip,hw-tshut-mode = <1>;
606 rockchip,hw-tshut-polarity = <1>;
613 u2phy0_otg: otg-port {
617 u2phy0_host: host-port {
618 phy-supply = <&vcc5v0_host1>;
626 u2phy1_otg: otg-port {
630 u2phy1_host: host-port {
631 phy-supply = <&vcc5v0_host1>;
637 pinctrl-names = "default";
638 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
644 clock-names = "lpo";
645 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
646 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
647 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
648 max-speed = <1500000>;
649 pinctrl-names = "default";
650 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
651 vbat-supply = <&vcc3v3_sys>;
652 vddio-supply = <&vcc_1v8_s3>;