1 From c8ec73b05a95d9f0969ae0f28dd8799a54fcdfc7 Mon Sep 17 00:00:00 2001
2 From: Tianling Shen <cnsztl@gmail.com>
3 Date: Sat, 18 Mar 2023 16:37:41 +0800
4 Subject: [PATCH] arm64: dts: rockchip: create common dtsi for NanoPi R5 series
6 Create common dtsi for the FriendlyElec NanoPi R5 series.
8 Signed-off-by: Tianling Shen <cnsztl@gmail.com>
9 Link: https://lore.kernel.org/r/20230318083745.6181-2-cnsztl@gmail.com
10 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
12 .../boot/dts/rockchip/rk3568-nanopi-r5s.dts | 575 +----------------
13 .../boot/dts/rockchip/rk3568-nanopi-r5s.dtsi | 596 ++++++++++++++++++
14 2 files changed, 597 insertions(+), 574 deletions(-)
15 create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
17 --- a/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
18 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dts
23 -#include <dt-bindings/gpio/gpio.h>
24 -#include <dt-bindings/input/input.h>
25 -#include <dt-bindings/leds/common.h>
26 -#include <dt-bindings/pinctrl/rockchip.h>
27 -#include <dt-bindings/soc/rockchip,vop2.h>
28 -#include "rk3568.dtsi"
29 +#include "rk3568-nanopi-r5s.dtsi"
32 model = "FriendlyElec NanoPi R5S";
42 - stdout-path = "serial2:1500000n8";
46 - compatible = "hdmi-connector";
50 - hdmi_con_in: endpoint {
51 - remote-endpoint = <&hdmi_out_con>;
58 gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
62 - vdd_usbc: vdd-usbc-regulator {
63 - compatible = "regulator-fixed";
64 - regulator-name = "vdd_usbc";
65 - regulator-always-on;
67 - regulator-min-microvolt = <5000000>;
68 - regulator-max-microvolt = <5000000>;
71 - vcc3v3_sys: vcc3v3-sys-regulator {
72 - compatible = "regulator-fixed";
73 - regulator-name = "vcc3v3_sys";
74 - regulator-always-on;
76 - regulator-min-microvolt = <3300000>;
77 - regulator-max-microvolt = <3300000>;
78 - vin-supply = <&vdd_usbc>;
81 - vcc5v0_sys: vcc5v0-sys-regulator {
82 - compatible = "regulator-fixed";
83 - regulator-name = "vcc5v0_sys";
84 - regulator-always-on;
86 - regulator-min-microvolt = <5000000>;
87 - regulator-max-microvolt = <5000000>;
88 - vin-supply = <&vdd_usbc>;
91 - vcc3v3_pcie: vcc3v3-pcie-regulator {
92 - compatible = "regulator-fixed";
93 - regulator-name = "vcc3v3_pcie";
94 - regulator-min-microvolt = <3300000>;
95 - regulator-max-microvolt = <3300000>;
97 - gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
98 - startup-delay-us = <200000>;
99 - vin-supply = <&vcc5v0_sys>;
102 - vcc5v0_usb: vcc5v0-usb-regulator {
103 - compatible = "regulator-fixed";
104 - regulator-name = "vcc5v0_usb";
105 - regulator-always-on;
107 - regulator-min-microvolt = <5000000>;
108 - regulator-max-microvolt = <5000000>;
109 - vin-supply = <&vdd_usbc>;
112 - vcc5v0_usb_host: vcc5v0-usb-host-regulator {
113 - compatible = "regulator-fixed";
114 - enable-active-high;
115 - gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
116 - pinctrl-names = "default";
117 - pinctrl-0 = <&vcc5v0_usb_host_en>;
118 - regulator-name = "vcc5v0_usb_host";
119 - regulator-always-on;
121 - regulator-min-microvolt = <5000000>;
122 - regulator-max-microvolt = <5000000>;
123 - vin-supply = <&vcc5v0_usb>;
126 - vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
127 - compatible = "regulator-fixed";
128 - enable-active-high;
129 - gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
130 - pinctrl-names = "default";
131 - pinctrl-0 = <&vcc5v0_usb_otg_en>;
132 - regulator-name = "vcc5v0_usb_otg";
133 - regulator-min-microvolt = <5000000>;
134 - regulator-max-microvolt = <5000000>;
135 - vin-supply = <&vcc5v0_usb>;
138 - pcie30_avdd0v9: pcie30-avdd0v9-regulator {
139 - compatible = "regulator-fixed";
140 - regulator-name = "pcie30_avdd0v9";
141 - regulator-always-on;
143 - regulator-min-microvolt = <900000>;
144 - regulator-max-microvolt = <900000>;
145 - vin-supply = <&vcc3v3_sys>;
148 - pcie30_avdd1v8: pcie30-avdd1v8-regulator {
149 - compatible = "regulator-fixed";
150 - regulator-name = "pcie30_avdd1v8";
151 - regulator-always-on;
153 - regulator-min-microvolt = <1800000>;
154 - regulator-max-microvolt = <1800000>;
155 - vin-supply = <&vcc3v3_sys>;
172 - cpu-supply = <&vdd_cpu>;
176 - cpu-supply = <&vdd_cpu>;
180 - cpu-supply = <&vdd_cpu>;
184 - cpu-supply = <&vdd_cpu>;
193 - mali-supply = <&vdd_gpu>;
198 - avdd-0v9-supply = <&vdda0v9_image>;
199 - avdd-1v8-supply = <&vcca1v8_image>;
204 - hdmi_in_vp0: endpoint {
205 - remote-endpoint = <&vp0_out_hdmi>;
210 - hdmi_out_con: endpoint {
211 - remote-endpoint = <&hdmi_con_in>;
222 - vdd_cpu: regulator@1c {
223 - compatible = "tcs,tcs4525";
225 - fcs,suspend-voltage-selector = <1>;
226 - regulator-name = "vdd_cpu";
227 - regulator-always-on;
229 - regulator-min-microvolt = <800000>;
230 - regulator-max-microvolt = <1150000>;
231 - regulator-ramp-delay = <2300>;
232 - vin-supply = <&vcc5v0_sys>;
234 - regulator-state-mem {
235 - regulator-off-in-suspend;
240 - compatible = "rockchip,rk809";
242 - interrupt-parent = <&gpio0>;
243 - interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
244 - #clock-cells = <1>;
245 - pinctrl-names = "default";
246 - pinctrl-0 = <&pmic_int>;
247 - rockchip,system-power-controller;
248 - vcc1-supply = <&vcc3v3_sys>;
249 - vcc2-supply = <&vcc3v3_sys>;
250 - vcc3-supply = <&vcc3v3_sys>;
251 - vcc4-supply = <&vcc3v3_sys>;
252 - vcc5-supply = <&vcc3v3_sys>;
253 - vcc6-supply = <&vcc3v3_sys>;
254 - vcc7-supply = <&vcc3v3_sys>;
255 - vcc8-supply = <&vcc3v3_sys>;
256 - vcc9-supply = <&vcc3v3_sys>;
260 - vdd_logic: DCDC_REG1 {
261 - regulator-name = "vdd_logic";
262 - regulator-always-on;
264 - regulator-init-microvolt = <900000>;
265 - regulator-initial-mode = <0x2>;
266 - regulator-min-microvolt = <500000>;
267 - regulator-max-microvolt = <1350000>;
268 - regulator-ramp-delay = <6001>;
270 - regulator-state-mem {
271 - regulator-off-in-suspend;
275 - vdd_gpu: DCDC_REG2 {
276 - regulator-name = "vdd_gpu";
277 - regulator-always-on;
278 - regulator-init-microvolt = <900000>;
279 - regulator-initial-mode = <0x2>;
280 - regulator-min-microvolt = <500000>;
281 - regulator-max-microvolt = <1350000>;
282 - regulator-ramp-delay = <6001>;
284 - regulator-state-mem {
285 - regulator-off-in-suspend;
289 - vcc_ddr: DCDC_REG3 {
290 - regulator-name = "vcc_ddr";
291 - regulator-always-on;
293 - regulator-initial-mode = <0x2>;
295 - regulator-state-mem {
296 - regulator-on-in-suspend;
300 - vdd_npu: DCDC_REG4 {
301 - regulator-name = "vdd_npu";
302 - regulator-init-microvolt = <900000>;
303 - regulator-initial-mode = <0x2>;
304 - regulator-min-microvolt = <500000>;
305 - regulator-max-microvolt = <1350000>;
306 - regulator-ramp-delay = <6001>;
308 - regulator-state-mem {
309 - regulator-off-in-suspend;
313 - vcc_1v8: DCDC_REG5 {
314 - regulator-name = "vcc_1v8";
315 - regulator-always-on;
317 - regulator-min-microvolt = <1800000>;
318 - regulator-max-microvolt = <1800000>;
320 - regulator-state-mem {
321 - regulator-off-in-suspend;
325 - vdda0v9_image: LDO_REG1 {
326 - regulator-name = "vdda0v9_image";
327 - regulator-min-microvolt = <950000>;
328 - regulator-max-microvolt = <950000>;
330 - regulator-state-mem {
331 - regulator-off-in-suspend;
335 - vdda_0v9: LDO_REG2 {
336 - regulator-name = "vdda_0v9";
337 - regulator-always-on;
339 - regulator-min-microvolt = <900000>;
340 - regulator-max-microvolt = <900000>;
342 - regulator-state-mem {
343 - regulator-off-in-suspend;
347 - vdda0v9_pmu: LDO_REG3 {
348 - regulator-name = "vdda0v9_pmu";
349 - regulator-always-on;
351 - regulator-min-microvolt = <900000>;
352 - regulator-max-microvolt = <900000>;
354 - regulator-state-mem {
355 - regulator-on-in-suspend;
356 - regulator-suspend-microvolt = <900000>;
360 - vccio_acodec: LDO_REG4 {
361 - regulator-name = "vccio_acodec";
362 - regulator-always-on;
363 - regulator-min-microvolt = <3300000>;
364 - regulator-max-microvolt = <3300000>;
366 - regulator-state-mem {
367 - regulator-off-in-suspend;
371 - vccio_sd: LDO_REG5 {
372 - regulator-name = "vccio_sd";
373 - regulator-min-microvolt = <1800000>;
374 - regulator-max-microvolt = <3300000>;
376 - regulator-state-mem {
377 - regulator-off-in-suspend;
381 - vcc3v3_pmu: LDO_REG6 {
382 - regulator-name = "vcc3v3_pmu";
383 - regulator-always-on;
385 - regulator-min-microvolt = <3300000>;
386 - regulator-max-microvolt = <3300000>;
388 - regulator-state-mem {
389 - regulator-on-in-suspend;
390 - regulator-suspend-microvolt = <3300000>;
394 - vcca_1v8: LDO_REG7 {
395 - regulator-name = "vcca_1v8";
396 - regulator-always-on;
398 - regulator-min-microvolt = <1800000>;
399 - regulator-max-microvolt = <1800000>;
401 - regulator-state-mem {
402 - regulator-off-in-suspend;
406 - vcca1v8_pmu: LDO_REG8 {
407 - regulator-name = "vcca1v8_pmu";
408 - regulator-always-on;
410 - regulator-min-microvolt = <1800000>;
411 - regulator-max-microvolt = <1800000>;
413 - regulator-state-mem {
414 - regulator-on-in-suspend;
415 - regulator-suspend-microvolt = <1800000>;
419 - vcca1v8_image: LDO_REG9 {
420 - regulator-name = "vcca1v8_image";
421 - regulator-min-microvolt = <1800000>;
422 - regulator-max-microvolt = <1800000>;
424 - regulator-state-mem {
425 - regulator-off-in-suspend;
429 - vcc_3v3: SWITCH_REG1 {
430 - regulator-name = "vcc_3v3";
431 - regulator-always-on;
434 - regulator-state-mem {
435 - regulator-off-in-suspend;
439 - vcc3v3_sd: SWITCH_REG2 {
440 - regulator-name = "vcc3v3_sd";
441 - regulator-always-on;
444 - regulator-state-mem {
445 - regulator-off-in-suspend;
457 - compatible = "haoyu,hym8563";
459 - interrupt-parent = <&gpio0>;
460 - interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
461 - #clock-cells = <0>;
462 - clock-output-names = "rtcic_32kout";
463 - pinctrl-names = "default";
464 - pinctrl-0 = <&hym8563_int>;
474 - rockchip,trcm-sync-tx-only;
479 rgmii_phy0: ethernet-phy@1 {
480 compatible = "ethernet-phy-ieee802.3-c22";
481 @@ -568,146 +136,5 @@
482 rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
487 - hym8563_int: hym8563-int {
488 - rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
493 - pmic_int: pmic-int {
494 - rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
499 - vcc5v0_usb_host_en: vcc5v0-usb-host-en {
500 - rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
503 - vcc5v0_usb_otg_en: vcc5v0-usb-otg-en {
504 - rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
510 - pmuio1-supply = <&vcc3v3_pmu>;
511 - pmuio2-supply = <&vcc3v3_pmu>;
512 - vccio1-supply = <&vccio_acodec>;
513 - vccio3-supply = <&vccio_sd>;
514 - vccio4-supply = <&vcc_1v8>;
515 - vccio5-supply = <&vcc_3v3>;
516 - vccio6-supply = <&vcc_1v8>;
517 - vccio7-supply = <&vcc_3v3>;
522 - vref-supply = <&vcca_1v8>;
528 - max-frequency = <200000000>;
530 - pinctrl-names = "default";
531 - pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
536 - max-frequency = <150000000>;
543 - vmmc-supply = <&vcc3v3_sd>;
544 - vqmmc-supply = <&vccio_sd>;
545 - pinctrl-names = "default";
546 - pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
551 - rockchip,hw-tshut-mode = <1>;
552 - rockchip,hw-tshut-polarity = <0>;
569 - extcon = <&usb2phy0>;
591 - phy-supply = <&vcc5v0_usb_host>;
604 - phy-supply = <&vcc5v0_usb_otg>;
613 - assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
614 - assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
623 - vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
624 - reg = <ROCKCHIP_VOP2_EP_HDMI0>;
625 - remote-endpoint = <&hdmi_in_vp0>;
629 +++ b/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5s.dtsi
631 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
633 + * Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd.
634 + * (http://www.friendlyelec.com)
636 + * Copyright (c) 2023 Tianling Shen <cnsztl@gmail.com>
640 +#include <dt-bindings/gpio/gpio.h>
641 +#include <dt-bindings/input/input.h>
642 +#include <dt-bindings/leds/common.h>
643 +#include <dt-bindings/pinctrl/rockchip.h>
644 +#include <dt-bindings/soc/rockchip,vop2.h>
645 +#include "rk3568.dtsi"
654 + stdout-path = "serial2:1500000n8";
658 + compatible = "hdmi-connector";
662 + hdmi_con_in: endpoint {
663 + remote-endpoint = <&hdmi_out_con>;
668 + vdd_usbc: vdd-usbc-regulator {
669 + compatible = "regulator-fixed";
670 + regulator-name = "vdd_usbc";
671 + regulator-always-on;
673 + regulator-min-microvolt = <5000000>;
674 + regulator-max-microvolt = <5000000>;
677 + vcc3v3_sys: vcc3v3-sys-regulator {
678 + compatible = "regulator-fixed";
679 + regulator-name = "vcc3v3_sys";
680 + regulator-always-on;
682 + regulator-min-microvolt = <3300000>;
683 + regulator-max-microvolt = <3300000>;
684 + vin-supply = <&vdd_usbc>;
687 + vcc5v0_sys: vcc5v0-sys-regulator {
688 + compatible = "regulator-fixed";
689 + regulator-name = "vcc5v0_sys";
690 + regulator-always-on;
692 + regulator-min-microvolt = <5000000>;
693 + regulator-max-microvolt = <5000000>;
694 + vin-supply = <&vdd_usbc>;
697 + vcc3v3_pcie: vcc3v3-pcie-regulator {
698 + compatible = "regulator-fixed";
699 + regulator-name = "vcc3v3_pcie";
700 + regulator-min-microvolt = <3300000>;
701 + regulator-max-microvolt = <3300000>;
702 + enable-active-high;
703 + gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
704 + startup-delay-us = <200000>;
705 + vin-supply = <&vcc5v0_sys>;
708 + vcc5v0_usb: vcc5v0-usb-regulator {
709 + compatible = "regulator-fixed";
710 + regulator-name = "vcc5v0_usb";
711 + regulator-always-on;
713 + regulator-min-microvolt = <5000000>;
714 + regulator-max-microvolt = <5000000>;
715 + vin-supply = <&vdd_usbc>;
718 + vcc5v0_usb_host: vcc5v0-usb-host-regulator {
719 + compatible = "regulator-fixed";
720 + enable-active-high;
721 + gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
722 + pinctrl-names = "default";
723 + pinctrl-0 = <&vcc5v0_usb_host_en>;
724 + regulator-name = "vcc5v0_usb_host";
725 + regulator-always-on;
727 + regulator-min-microvolt = <5000000>;
728 + regulator-max-microvolt = <5000000>;
729 + vin-supply = <&vcc5v0_usb>;
732 + vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
733 + compatible = "regulator-fixed";
734 + enable-active-high;
735 + gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
736 + pinctrl-names = "default";
737 + pinctrl-0 = <&vcc5v0_usb_otg_en>;
738 + regulator-name = "vcc5v0_usb_otg";
739 + regulator-min-microvolt = <5000000>;
740 + regulator-max-microvolt = <5000000>;
741 + vin-supply = <&vcc5v0_usb>;
744 + pcie30_avdd0v9: pcie30-avdd0v9-regulator {
745 + compatible = "regulator-fixed";
746 + regulator-name = "pcie30_avdd0v9";
747 + regulator-always-on;
749 + regulator-min-microvolt = <900000>;
750 + regulator-max-microvolt = <900000>;
751 + vin-supply = <&vcc3v3_sys>;
754 + pcie30_avdd1v8: pcie30-avdd1v8-regulator {
755 + compatible = "regulator-fixed";
756 + regulator-name = "pcie30_avdd1v8";
757 + regulator-always-on;
759 + regulator-min-microvolt = <1800000>;
760 + regulator-max-microvolt = <1800000>;
761 + vin-supply = <&vcc3v3_sys>;
778 + cpu-supply = <&vdd_cpu>;
782 + cpu-supply = <&vdd_cpu>;
786 + cpu-supply = <&vdd_cpu>;
790 + cpu-supply = <&vdd_cpu>;
794 + mali-supply = <&vdd_gpu>;
799 + avdd-0v9-supply = <&vdda0v9_image>;
800 + avdd-1v8-supply = <&vcca1v8_image>;
805 + hdmi_in_vp0: endpoint {
806 + remote-endpoint = <&vp0_out_hdmi>;
811 + hdmi_out_con: endpoint {
812 + remote-endpoint = <&hdmi_con_in>;
823 + vdd_cpu: regulator@1c {
824 + compatible = "tcs,tcs4525";
826 + fcs,suspend-voltage-selector = <1>;
827 + regulator-name = "vdd_cpu";
828 + regulator-always-on;
830 + regulator-min-microvolt = <800000>;
831 + regulator-max-microvolt = <1150000>;
832 + regulator-ramp-delay = <2300>;
833 + vin-supply = <&vcc5v0_sys>;
835 + regulator-state-mem {
836 + regulator-off-in-suspend;
841 + compatible = "rockchip,rk809";
843 + interrupt-parent = <&gpio0>;
844 + interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
845 + #clock-cells = <1>;
846 + pinctrl-names = "default";
847 + pinctrl-0 = <&pmic_int>;
848 + rockchip,system-power-controller;
849 + vcc1-supply = <&vcc3v3_sys>;
850 + vcc2-supply = <&vcc3v3_sys>;
851 + vcc3-supply = <&vcc3v3_sys>;
852 + vcc4-supply = <&vcc3v3_sys>;
853 + vcc5-supply = <&vcc3v3_sys>;
854 + vcc6-supply = <&vcc3v3_sys>;
855 + vcc7-supply = <&vcc3v3_sys>;
856 + vcc8-supply = <&vcc3v3_sys>;
857 + vcc9-supply = <&vcc3v3_sys>;
861 + vdd_logic: DCDC_REG1 {
862 + regulator-name = "vdd_logic";
863 + regulator-always-on;
865 + regulator-init-microvolt = <900000>;
866 + regulator-initial-mode = <0x2>;
867 + regulator-min-microvolt = <500000>;
868 + regulator-max-microvolt = <1350000>;
869 + regulator-ramp-delay = <6001>;
871 + regulator-state-mem {
872 + regulator-off-in-suspend;
876 + vdd_gpu: DCDC_REG2 {
877 + regulator-name = "vdd_gpu";
878 + regulator-always-on;
879 + regulator-init-microvolt = <900000>;
880 + regulator-initial-mode = <0x2>;
881 + regulator-min-microvolt = <500000>;
882 + regulator-max-microvolt = <1350000>;
883 + regulator-ramp-delay = <6001>;
885 + regulator-state-mem {
886 + regulator-off-in-suspend;
890 + vcc_ddr: DCDC_REG3 {
891 + regulator-name = "vcc_ddr";
892 + regulator-always-on;
894 + regulator-initial-mode = <0x2>;
896 + regulator-state-mem {
897 + regulator-on-in-suspend;
901 + vdd_npu: DCDC_REG4 {
902 + regulator-name = "vdd_npu";
903 + regulator-init-microvolt = <900000>;
904 + regulator-initial-mode = <0x2>;
905 + regulator-min-microvolt = <500000>;
906 + regulator-max-microvolt = <1350000>;
907 + regulator-ramp-delay = <6001>;
909 + regulator-state-mem {
910 + regulator-off-in-suspend;
914 + vcc_1v8: DCDC_REG5 {
915 + regulator-name = "vcc_1v8";
916 + regulator-always-on;
918 + regulator-min-microvolt = <1800000>;
919 + regulator-max-microvolt = <1800000>;
921 + regulator-state-mem {
922 + regulator-off-in-suspend;
926 + vdda0v9_image: LDO_REG1 {
927 + regulator-name = "vdda0v9_image";
928 + regulator-min-microvolt = <950000>;
929 + regulator-max-microvolt = <950000>;
931 + regulator-state-mem {
932 + regulator-off-in-suspend;
936 + vdda_0v9: LDO_REG2 {
937 + regulator-name = "vdda_0v9";
938 + regulator-always-on;
940 + regulator-min-microvolt = <900000>;
941 + regulator-max-microvolt = <900000>;
943 + regulator-state-mem {
944 + regulator-off-in-suspend;
948 + vdda0v9_pmu: LDO_REG3 {
949 + regulator-name = "vdda0v9_pmu";
950 + regulator-always-on;
952 + regulator-min-microvolt = <900000>;
953 + regulator-max-microvolt = <900000>;
955 + regulator-state-mem {
956 + regulator-on-in-suspend;
957 + regulator-suspend-microvolt = <900000>;
961 + vccio_acodec: LDO_REG4 {
962 + regulator-name = "vccio_acodec";
963 + regulator-always-on;
964 + regulator-min-microvolt = <3300000>;
965 + regulator-max-microvolt = <3300000>;
967 + regulator-state-mem {
968 + regulator-off-in-suspend;
972 + vccio_sd: LDO_REG5 {
973 + regulator-name = "vccio_sd";
974 + regulator-min-microvolt = <1800000>;
975 + regulator-max-microvolt = <3300000>;
977 + regulator-state-mem {
978 + regulator-off-in-suspend;
982 + vcc3v3_pmu: LDO_REG6 {
983 + regulator-name = "vcc3v3_pmu";
984 + regulator-always-on;
986 + regulator-min-microvolt = <3300000>;
987 + regulator-max-microvolt = <3300000>;
989 + regulator-state-mem {
990 + regulator-on-in-suspend;
991 + regulator-suspend-microvolt = <3300000>;
995 + vcca_1v8: LDO_REG7 {
996 + regulator-name = "vcca_1v8";
997 + regulator-always-on;
999 + regulator-min-microvolt = <1800000>;
1000 + regulator-max-microvolt = <1800000>;
1002 + regulator-state-mem {
1003 + regulator-off-in-suspend;
1007 + vcca1v8_pmu: LDO_REG8 {
1008 + regulator-name = "vcca1v8_pmu";
1009 + regulator-always-on;
1010 + regulator-boot-on;
1011 + regulator-min-microvolt = <1800000>;
1012 + regulator-max-microvolt = <1800000>;
1014 + regulator-state-mem {
1015 + regulator-on-in-suspend;
1016 + regulator-suspend-microvolt = <1800000>;
1020 + vcca1v8_image: LDO_REG9 {
1021 + regulator-name = "vcca1v8_image";
1022 + regulator-min-microvolt = <1800000>;
1023 + regulator-max-microvolt = <1800000>;
1025 + regulator-state-mem {
1026 + regulator-off-in-suspend;
1030 + vcc_3v3: SWITCH_REG1 {
1031 + regulator-name = "vcc_3v3";
1032 + regulator-always-on;
1033 + regulator-boot-on;
1035 + regulator-state-mem {
1036 + regulator-off-in-suspend;
1040 + vcc3v3_sd: SWITCH_REG2 {
1041 + regulator-name = "vcc3v3_sd";
1042 + regulator-always-on;
1043 + regulator-boot-on;
1045 + regulator-state-mem {
1046 + regulator-off-in-suspend;
1058 + compatible = "haoyu,hym8563";
1060 + interrupt-parent = <&gpio0>;
1061 + interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
1062 + #clock-cells = <0>;
1063 + clock-output-names = "rtcic_32kout";
1064 + pinctrl-names = "default";
1065 + pinctrl-0 = <&hym8563_int>;
1075 + rockchip,trcm-sync-tx-only;
1080 + data-lanes = <1 2>;
1086 + hym8563_int: hym8563-int {
1087 + rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
1092 + pmic_int: pmic-int {
1093 + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
1098 + vcc5v0_usb_host_en: vcc5v0-usb-host-en {
1099 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
1102 + vcc5v0_usb_otg_en: vcc5v0-usb-otg-en {
1103 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
1109 + pmuio1-supply = <&vcc3v3_pmu>;
1110 + pmuio2-supply = <&vcc3v3_pmu>;
1111 + vccio1-supply = <&vccio_acodec>;
1112 + vccio3-supply = <&vccio_sd>;
1113 + vccio4-supply = <&vcc_1v8>;
1114 + vccio5-supply = <&vcc_3v3>;
1115 + vccio6-supply = <&vcc_1v8>;
1116 + vccio7-supply = <&vcc_3v3>;
1121 + vref-supply = <&vcca_1v8>;
1127 + max-frequency = <200000000>;
1129 + pinctrl-names = "default";
1130 + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
1135 + max-frequency = <150000000>;
1139 + cap-mmc-highspeed;
1142 + vmmc-supply = <&vcc3v3_sd>;
1143 + vqmmc-supply = <&vccio_sd>;
1144 + pinctrl-names = "default";
1145 + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
1150 + rockchip,hw-tshut-mode = <1>;
1151 + rockchip,hw-tshut-polarity = <0>;
1168 + extcon = <&usb2phy0>;
1190 + phy-supply = <&vcc5v0_usb_host>;
1203 + phy-supply = <&vcc5v0_usb_otg>;
1212 + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
1213 + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
1222 + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
1223 + reg = <ROCKCHIP_VOP2_EP_HDMI0>;
1224 + remote-endpoint = <&hdmi_in_vp0>;