Lines Matching +full:retain +full:- +full:state +full:- +full:shutdown
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/pinctrl/rockchip.h>
7 #include <dt-bindings/soc/rockchip,vop2.h>
22 stdout-path = "serial2:1500000n8";
25 gmac1_clkin: external-gmac1-clock {
26 compatible = "fixed-clock";
27 clock-frequency = <125000000>;
28 clock-output-names = "gmac1_clkin";
29 #clock-cells = <0>;
32 hdmi-con {
33 compatible = "hdmi-connector";
38 remote-endpoint = <&hdmi_out_con>;
44 compatible = "gpio-leds";
46 led_diy: led-diy {
47 label = "diy-led";
48 default-state = "on";
50 linux,default-trigger = "heartbeat";
51 pinctrl-names = "default";
52 pinctrl-0 = <&diy_led_enable_h>;
53 retain-state-suspended;
57 led_work: led-work {
58 label = "work-led";
59 default-state = "off";
61 pinctrl-names = "default";
62 pinctrl-0 = <&work_led_enable_h>;
63 retain-state-suspended;
68 sdio_pwrseq: sdio-pwrseq {
70 compatible = "mmc-pwrseq-simple";
72 clock-names = "ext_clock";
73 pinctrl-names = "default";
74 pinctrl-0 = <&wifi_enable_h>;
75 reset-gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_LOW>;
78 vbus: vbus-regulator {
79 compatible = "regulator-fixed";
80 regulator-name = "vbus";
81 regulator-always-on;
82 regulator-boot-on;
83 regulator-min-microvolt = <5000000>;
84 regulator-max-microvolt = <5000000>;
88 vcc5v0_sys: vcc5v0-sys-regulator {
89 compatible = "regulator-fixed";
90 regulator-name = "vcc5v0_sys";
91 regulator-always-on;
92 regulator-boot-on;
93 regulator-min-microvolt = <5000000>;
94 regulator-max-microvolt = <5000000>;
95 vin-supply = <&vbus>;
98 vcc3v3_sys: vcc3v3-sys-regulator {
99 compatible = "regulator-fixed";
100 regulator-name = "vcc3v3_sys";
101 regulator-always-on;
102 regulator-boot-on;
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 vin-supply = <&vcc5v0_sys>;
110 cpu-supply = <&vdd_cpu>;
114 cpu-supply = <&vdd_cpu>;
118 cpu-supply = <&vdd_cpu>;
122 cpu-supply = <&vdd_cpu>;
126 assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
127 assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
129 phy-supply = <&vcc_3v3>;
130 phy-mode = "rgmii";
131 pinctrl-names = "default";
132 pinctrl-0 = <&gmac1m0_miim
138 snps,reset-gpio = <&gpio0 RK_PC3 GPIO_ACTIVE_LOW>;
139 snps,reset-active-low;
141 snps,reset-delays-us = <0 20000 100000>;
144 phy-handle = <&rgmii_phy1>;
149 nextrst-hog {
150 gpio-hog;
152 * GPIO_ACTIVE_LOW + output-low here means that the pin is set
153 * to high, because output-low decides the value pre-inversion.
156 line-name = "nEXTRST";
157 output-low;
162 mali-supply = <&vdd_gpu>;
167 avdd-0v9-supply = <&vdda0v9_image>;
168 avdd-1v8-supply = <&vcca1v8_image>;
174 remote-endpoint = <&vp0_out_hdmi>;
180 remote-endpoint = <&hdmi_con_in>;
194 fcs,suspend-voltage-selector = <1>;
195 regulator-name = "vdd_cpu";
196 regulator-min-microvolt = <800000>;
197 regulator-max-microvolt = <1150000>;
198 regulator-ramp-delay = <2300>;
199 regulator-always-on;
200 regulator-boot-on;
201 vin-supply = <&vcc5v0_sys>;
203 regulator-state-mem {
204 regulator-off-in-suspend;
211 interrupt-parent = <&gpio0>;
213 #clock-cells = <1>;
214 clock-output-names = "rk808-clkout1", "rk808-clkout2";
215 pinctrl-names = "default";
216 pinctrl-0 = <&pmic_int_l>;
217 rockchip,system-power-controller;
218 wakeup-source;
220 vcc1-supply = <&vcc3v3_sys>;
221 vcc2-supply = <&vcc3v3_sys>;
222 vcc3-supply = <&vcc3v3_sys>;
223 vcc4-supply = <&vcc3v3_sys>;
224 vcc5-supply = <&vcc3v3_sys>;
225 vcc6-supply = <&vcc3v3_sys>;
226 vcc7-supply = <&vcc3v3_sys>;
227 vcc8-supply = <&vcc3v3_sys>;
228 vcc9-supply = <&vcc3v3_sys>;
232 regulator-name = "vdd_logic";
233 regulator-always-on;
234 regulator-boot-on;
235 regulator-min-microvolt = <500000>;
236 regulator-max-microvolt = <1350000>;
237 regulator-ramp-delay = <6001>;
238 regulator-initial-mode = <0x2>;
239 regulator-state-mem {
240 regulator-on-in-suspend;
241 regulator-suspend-microvolt = <900000>;
246 regulator-name = "vdd_gpu";
247 regulator-always-on;
248 regulator-boot-on;
249 regulator-min-microvolt = <500000>;
250 regulator-max-microvolt = <1350000>;
251 regulator-ramp-delay = <6001>;
252 regulator-initial-mode = <0x2>;
253 regulator-state-mem {
254 regulator-off-in-suspend;
259 regulator-always-on;
260 regulator-boot-on;
261 regulator-initial-mode = <0x2>;
262 regulator-name = "vcc_ddr";
263 regulator-state-mem {
264 regulator-on-in-suspend;
269 regulator-always-on;
270 regulator-boot-on;
271 regulator-min-microvolt = <500000>;
272 regulator-max-microvolt = <1350000>;
273 regulator-initial-mode = <0x2>;
274 regulator-name = "vdd_npu";
275 regulator-state-mem {
276 regulator-off-in-suspend;
281 regulator-name = "vcc_1v8";
282 regulator-always-on;
283 regulator-boot-on;
284 regulator-min-microvolt = <1800000>;
285 regulator-max-microvolt = <1800000>;
286 regulator-state-mem {
287 regulator-on-in-suspend;
288 regulator-suspend-microvolt = <1800000>;
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-min-microvolt = <900000>;
296 regulator-max-microvolt = <900000>;
297 regulator-name = "vdda0v9_image";
298 regulator-state-mem {
299 regulator-on-in-suspend;
300 regulator-suspend-microvolt = <900000>;
305 regulator-always-on;
306 regulator-boot-on;
307 regulator-min-microvolt = <900000>;
308 regulator-max-microvolt = <900000>;
309 regulator-name = "vdda_0v9";
310 regulator-state-mem {
311 regulator-off-in-suspend;
316 regulator-always-on;
317 regulator-boot-on;
318 regulator-min-microvolt = <900000>;
319 regulator-max-microvolt = <900000>;
320 regulator-name = "vdda0v9_pmu";
321 regulator-state-mem {
322 regulator-on-in-suspend;
323 regulator-suspend-microvolt = <900000>;
328 regulator-always-on;
329 regulator-boot-on;
330 regulator-min-microvolt = <3300000>;
331 regulator-max-microvolt = <3300000>;
332 regulator-name = "vccio_acodec";
333 regulator-state-mem {
334 regulator-off-in-suspend;
339 regulator-always-on;
340 regulator-boot-on;
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <3300000>;
343 regulator-name = "vccio_sd";
344 regulator-state-mem {
345 regulator-off-in-suspend;
350 regulator-always-on;
351 regulator-boot-on;
352 regulator-min-microvolt = <3300000>;
353 regulator-max-microvolt = <3300000>;
354 regulator-name = "vcc3v3_pmu";
355 regulator-state-mem {
356 regulator-on-in-suspend;
357 regulator-suspend-microvolt = <3300000>;
362 regulator-always-on;
363 regulator-boot-on;
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <1800000>;
366 regulator-name = "vcca_1v8";
367 regulator-state-mem {
368 regulator-off-in-suspend;
373 regulator-always-on;
374 regulator-boot-on;
375 regulator-min-microvolt = <1800000>;
376 regulator-max-microvolt = <1800000>;
377 regulator-name = "vcca1v8_pmu";
378 regulator-state-mem {
379 regulator-off-in-suspend;
384 regulator-always-on;
385 regulator-boot-on;
386 regulator-min-microvolt = <1800000>;
387 regulator-max-microvolt = <1800000>;
388 regulator-name = "vcca1v8_image";
389 regulator-state-mem {
390 regulator-off-in-suspend;
395 regulator-name = "vcc_3v3";
396 regulator-state-mem {
397 regulator-off-in-suspend;
402 regulator-name = "vcc3v3_sd";
404 regulator-state-mem {
405 regulator-on-in-suspend;
415 * pin 80 - i2c1_scl_m0, pullup to vcc3v3_pmu
416 * pin 82 - i2c1_sda_m0, pullup to vcc3v3_pmu
424 * pin 56 - i2c2_scl_m1, pullup to vcc_3v3, shared with i2s1_8ch
425 * pin 58 - i2c2_sda_m1, pullup to vcc_3v3
428 pinctrl-names = "default";
429 pinctrl-0 = <&i2c2m1_xfer>;
435 * pin 35 - i2c3_scl_m0, pullup to vcc_3v3
436 * pin 36 - i2c3_sda_m0, pullup to vcc_3v3
444 * pin 45 - i2c4_scl_m1
445 * pin 47 - i2c4_sda_m1
448 pinctrl-names = "default";
449 pinctrl-0 = <&i2c4m1_xfer>;
459 * pin 24 - i2s1_sdi1_m1
460 * pin 25 - i2s1_sdo0_m1
461 * pin 26 - i2s1_lrck_tx_m1
462 * pin 27 - i2s1_sdi0_m1
463 * pin 29 - i2s1_sdi3_m1
464 * pin 30 - i2s1_sdi2_m1
465 * pin 40 - i2s1_sdo1_m1, shared with spi3
466 * pin 41 - i2s1_sdo2_m1
467 * pin 49 - i2s1_sclk_tx_m1
468 * pin 50 - i2s1_mclk_m1
469 * pin 56 - i2s1_sdo3_m1, shared with i2c2
472 pinctrl-names = "default";
473 pinctrl-0 = <&i2s1m1_sclktx &i2s1m1_sclkrx
483 rgmii_phy1: ethernet-phy@0 {
484 compatible = "ethernet-phy-ieee802.3-c22";
491 pinctrl-names = "default";
492 pinctrl-0 = <&pcie_reset_h>;
493 reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
498 bt_enable_h: bt-enable-h {
502 bt_host_wake_l: bt-host-wake-l {
506 bt_wake_l: bt-wake-l {
512 work_led_enable_h: work-led-enable-h {
516 diy_led_enable_h: diy-led-enable-h {
522 pcie_clkreq_h: pcie-clkreq-h {
525 pcie_reset_h: pcie-reset-h {
531 pmic_int_l: pmic-int-l {
536 sdio-pwrseq {
537 wifi_enable_h: wifi-enable-h {
544 pmuio1-supply = <&vcc3v3_pmu>;
545 pmuio2-supply = <&vcc3v3_pmu>;
546 vccio1-supply = <&vcc_3v3>;
547 vccio2-supply = <&vcc_1v8>;
548 vccio3-supply = <&vccio_sd>;
549 vccio4-supply = <&vcc_1v8>;
550 vccio5-supply = <&vcc_3v3>;
551 vccio6-supply = <&vcc_3v3>;
552 vccio7-supply = <&vcc_3v3>;
558 * pin 94 - saradc_vin3
559 * pin 96 - saradc_vin2
562 vref-supply = <&vcca_1v8>;
567 bus-width = <8>;
568 mmc-hs200-1_8v;
569 non-removable;
570 vmmc-supply = <&vcc_3v3>;
571 vqmmc-supply = <&vcc_1v8>;
576 broken-cd;
577 bus-width = <4>;
578 cap-sd-highspeed;
579 disable-wp;
580 pinctrl-names = "default";
581 pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
582 vqmmc-supply = <&vccio_sd>;
587 bus-width = <4>;
588 cap-sd-highspeed;
589 cap-sdio-irq;
590 keep-power-in-suspend;
591 mmc-pwrseq = <&sdio_pwrseq>;
592 non-removable;
593 pinctrl-names = "default";
594 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
595 sd-uhs-sdr50;
596 vmmc-supply = <&vcc3v3_sys>;
597 vqmmc-supply = <&vcc_1v8>;
603 * pin 37 - spi3_cs1_m0
604 * pin 38 - spi3_clk_m0
605 * pin 39 - spi3_cs0_m0
606 * pin 40 - spi3_miso_m0, shared with i2s1_8ch
607 * pin 44 - spi3_mosi_m0
618 pinctrl-names = "default";
619 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
620 uart-has-rtscts;
624 compatible = "brcm,bcm43438-bt";
626 clock-names = "lpo";
627 device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
628 host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
629 shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
632 vbat-supply = <&vcc3v3_sys>;
633 vddio-supply = <&vcca1v8_pmu>;
639 * pin 51 - uart2_rx_m0
640 * pin 55 - uart2_tx_m0
648 * pin 46 - uart7_tx_m2
649 * pin 47 - uart7_rx_m2
652 pinctrl-names = "default";
653 pinctrl-0 = <&uart7m2_xfer>;
671 assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
672 assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
683 remote-endpoint = <&hdmi_in_vp0>;