1 From c84214aab0e4c5b2f619dd89655f27b3ae40e82b Mon Sep 17 00:00:00 2001
2 From: Tianling Shen <cnsztl@gmail.com>
3 Date: Tue, 30 May 2023 15:00:33 +0800
4 Subject: [PATCH] rockchip: rk3568: Add support for FriendlyARM NanoPi R5S
6 FriendlyARM NanoPi R5S is an open-sourced mini IoT gateway device.
11 - 8GB or 16GB eMMC, SD card slot
15 - HDMI 2.0, MIPI DSI/CSI
17 - USB Type C PD, 5V/9V/12V
18 - GPIO: 12-pin 0.5mm FPC connector
20 The device tree is taken from kernel v6.4-rc1.
22 Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
23 Signed-off-by: Tianling Shen <cnsztl@gmail.com>
25 arch/arm/dts/Makefile | 1 +
26 arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi | 31 ++
27 arch/arm/dts/rk3568-nanopi-r5s.dts | 136 +++++
28 arch/arm/dts/rk3568-nanopi-r5s.dtsi | 590 +++++++++++++++++++++
29 board/rockchip/evb_rk3568/MAINTAINERS | 8 +
30 configs/nanopi-r5s-rk3568_defconfig | 85 +++
31 6 files changed, 851 insertions(+)
32 create mode 100644 arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi
33 create mode 100644 arch/arm/dts/rk3568-nanopi-r5s.dts
34 create mode 100644 arch/arm/dts/rk3568-nanopi-r5s.dtsi
35 create mode 100644 configs/nanopi-r5s-rk3568_defconfig
37 --- a/arch/arm/dts/Makefile
38 +++ b/arch/arm/dts/Makefile
39 @@ -171,6 +171,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3568) += \
40 rk3566-anbernic-rgxx3.dtb \
41 rk3566-radxa-cm3-io.dtb \
43 + rk3568-nanopi-r5s.dtb \
46 dtb-$(CONFIG_ROCKCHIP_RK3588) += \
48 +++ b/arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi
50 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
52 + * Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd.
53 + * (http://www.friendlyelec.com)
55 + * Copyright (c) 2023 Tianling Shen <cnsztl@gmail.com>
58 +#include "rk356x-u-boot.dtsi"
62 + stdout-path = &uart2;
63 + u-boot,spl-boot-order = "same-as-spl", &sdmmc0, &sdhci;
72 + mmc-hs400-enhanced-strobe;
73 + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
77 + clock-frequency = <24000000>;
82 +++ b/arch/arm/dts/rk3568-nanopi-r5s.dts
84 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
86 + * Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd.
87 + * (http://www.friendlyelec.com)
89 + * Copyright (c) 2023 Tianling Shen <cnsztl@gmail.com>
93 +#include "rk3568-nanopi-r5s.dtsi"
96 + model = "FriendlyElec NanoPi R5S";
97 + compatible = "friendlyarm,nanopi-r5s", "rockchip,rk3568";
100 + ethernet0 = &gmac0;
104 + compatible = "gpio-leds";
105 + pinctrl-names = "default";
106 + pinctrl-0 = <&lan1_led_pin>, <&lan2_led_pin>, <&power_led_pin>, <&wan_led_pin>;
109 + color = <LED_COLOR_ID_GREEN>;
110 + function = LED_FUNCTION_LAN;
111 + function-enumerator = <1>;
112 + gpios = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>;
116 + color = <LED_COLOR_ID_GREEN>;
117 + function = LED_FUNCTION_LAN;
118 + function-enumerator = <2>;
119 + gpios = <&gpio3 RK_PD7 GPIO_ACTIVE_HIGH>;
122 + power_led: led-power {
123 + color = <LED_COLOR_ID_RED>;
124 + function = LED_FUNCTION_POWER;
125 + linux,default-trigger = "heartbeat";
126 + gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
130 + color = <LED_COLOR_ID_GREEN>;
131 + function = LED_FUNCTION_WAN;
132 + gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
138 + assigned-clocks = <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>;
139 + assigned-clock-parents = <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_2TOP>;
140 + assigned-clock-rates = <0>, <125000000>;
141 + clock_in_out = "output";
142 + phy-handle = <&rgmii_phy0>;
143 + phy-mode = "rgmii";
144 + pinctrl-names = "default";
145 + pinctrl-0 = <&gmac0_miim
150 + snps,reset-gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_LOW>;
151 + snps,reset-active-low;
152 + /* Reset time is 15ms, 50ms for rtl8211f */
153 + snps,reset-delays-us = <0 15000 50000>;
160 + rgmii_phy0: ethernet-phy@1 {
161 + compatible = "ethernet-phy-ieee802.3-c22";
163 + pinctrl-0 = <ð_phy0_reset_pin>;
164 + pinctrl-names = "default";
170 + reset-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
175 + data-lanes = <1 2>;
181 + reset-gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
182 + vpcie3v3-supply = <&vcc3v3_pcie>;
188 + num-ib-windows = <8>;
189 + num-ob-windows = <8>;
190 + reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
191 + vpcie3v3-supply = <&vcc3v3_pcie>;
197 + eth_phy0_reset_pin: eth-phy0-reset-pin {
198 + rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
203 + lan1_led_pin: lan1-led-pin {
204 + rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
207 + lan2_led_pin: lan2-led-pin {
208 + rockchip,pins = <3 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>;
211 + power_led_pin: power-led-pin {
212 + rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
215 + wan_led_pin: wan-led-pin {
216 + rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
221 +++ b/arch/arm/dts/rk3568-nanopi-r5s.dtsi
223 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
225 + * Copyright (c) 2022 FriendlyElec Computer Tech. Co., Ltd.
226 + * (http://www.friendlyelec.com)
228 + * Copyright (c) 2023 Tianling Shen <cnsztl@gmail.com>
232 +#include <dt-bindings/gpio/gpio.h>
233 +#include <dt-bindings/input/input.h>
234 +#include <dt-bindings/leds/common.h>
235 +#include <dt-bindings/pinctrl/rockchip.h>
236 +#include <dt-bindings/soc/rockchip,vop2.h>
237 +#include "rk3568.dtsi"
246 + stdout-path = "serial2:1500000n8";
250 + compatible = "hdmi-connector";
254 + hdmi_con_in: endpoint {
255 + remote-endpoint = <&hdmi_out_con>;
260 + vdd_usbc: vdd-usbc-regulator {
261 + compatible = "regulator-fixed";
262 + regulator-name = "vdd_usbc";
263 + regulator-always-on;
265 + regulator-min-microvolt = <5000000>;
266 + regulator-max-microvolt = <5000000>;
269 + vcc3v3_sys: vcc3v3-sys-regulator {
270 + compatible = "regulator-fixed";
271 + regulator-name = "vcc3v3_sys";
272 + regulator-always-on;
274 + regulator-min-microvolt = <3300000>;
275 + regulator-max-microvolt = <3300000>;
276 + vin-supply = <&vdd_usbc>;
279 + vcc5v0_sys: vcc5v0-sys-regulator {
280 + compatible = "regulator-fixed";
281 + regulator-name = "vcc5v0_sys";
282 + regulator-always-on;
284 + regulator-min-microvolt = <5000000>;
285 + regulator-max-microvolt = <5000000>;
286 + vin-supply = <&vdd_usbc>;
289 + vcc3v3_pcie: vcc3v3-pcie-regulator {
290 + compatible = "regulator-fixed";
291 + regulator-name = "vcc3v3_pcie";
292 + regulator-min-microvolt = <3300000>;
293 + regulator-max-microvolt = <3300000>;
294 + enable-active-high;
295 + gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
296 + startup-delay-us = <200000>;
297 + vin-supply = <&vcc5v0_sys>;
300 + vcc5v0_usb: vcc5v0-usb-regulator {
301 + compatible = "regulator-fixed";
302 + regulator-name = "vcc5v0_usb";
303 + regulator-always-on;
305 + regulator-min-microvolt = <5000000>;
306 + regulator-max-microvolt = <5000000>;
307 + vin-supply = <&vdd_usbc>;
310 + vcc5v0_usb_host: vcc5v0-usb-host-regulator {
311 + compatible = "regulator-fixed";
312 + enable-active-high;
313 + gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
314 + pinctrl-names = "default";
315 + pinctrl-0 = <&vcc5v0_usb_host_en>;
316 + regulator-name = "vcc5v0_usb_host";
317 + regulator-always-on;
319 + regulator-min-microvolt = <5000000>;
320 + regulator-max-microvolt = <5000000>;
321 + vin-supply = <&vcc5v0_usb>;
324 + vcc5v0_usb_otg: vcc5v0-usb-otg-regulator {
325 + compatible = "regulator-fixed";
326 + enable-active-high;
327 + gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
328 + pinctrl-names = "default";
329 + pinctrl-0 = <&vcc5v0_usb_otg_en>;
330 + regulator-name = "vcc5v0_usb_otg";
331 + regulator-min-microvolt = <5000000>;
332 + regulator-max-microvolt = <5000000>;
333 + vin-supply = <&vcc5v0_usb>;
336 + pcie30_avdd0v9: pcie30-avdd0v9-regulator {
337 + compatible = "regulator-fixed";
338 + regulator-name = "pcie30_avdd0v9";
339 + regulator-always-on;
341 + regulator-min-microvolt = <900000>;
342 + regulator-max-microvolt = <900000>;
343 + vin-supply = <&vcc3v3_sys>;
346 + pcie30_avdd1v8: pcie30-avdd1v8-regulator {
347 + compatible = "regulator-fixed";
348 + regulator-name = "pcie30_avdd1v8";
349 + regulator-always-on;
351 + regulator-min-microvolt = <1800000>;
352 + regulator-max-microvolt = <1800000>;
353 + vin-supply = <&vcc3v3_sys>;
370 + cpu-supply = <&vdd_cpu>;
374 + cpu-supply = <&vdd_cpu>;
378 + cpu-supply = <&vdd_cpu>;
382 + cpu-supply = <&vdd_cpu>;
386 + mali-supply = <&vdd_gpu>;
391 + avdd-0v9-supply = <&vdda0v9_image>;
392 + avdd-1v8-supply = <&vcca1v8_image>;
397 + hdmi_in_vp0: endpoint {
398 + remote-endpoint = <&vp0_out_hdmi>;
403 + hdmi_out_con: endpoint {
404 + remote-endpoint = <&hdmi_con_in>;
415 + vdd_cpu: regulator@1c {
416 + compatible = "tcs,tcs4525";
418 + fcs,suspend-voltage-selector = <1>;
419 + regulator-name = "vdd_cpu";
420 + regulator-always-on;
422 + regulator-min-microvolt = <800000>;
423 + regulator-max-microvolt = <1150000>;
424 + regulator-ramp-delay = <2300>;
425 + vin-supply = <&vcc5v0_sys>;
427 + regulator-state-mem {
428 + regulator-off-in-suspend;
433 + compatible = "rockchip,rk809";
435 + interrupt-parent = <&gpio0>;
436 + interrupts = <RK_PA3 IRQ_TYPE_LEVEL_LOW>;
437 + #clock-cells = <1>;
438 + pinctrl-names = "default";
439 + pinctrl-0 = <&pmic_int>;
440 + rockchip,system-power-controller;
441 + vcc1-supply = <&vcc3v3_sys>;
442 + vcc2-supply = <&vcc3v3_sys>;
443 + vcc3-supply = <&vcc3v3_sys>;
444 + vcc4-supply = <&vcc3v3_sys>;
445 + vcc5-supply = <&vcc3v3_sys>;
446 + vcc6-supply = <&vcc3v3_sys>;
447 + vcc7-supply = <&vcc3v3_sys>;
448 + vcc8-supply = <&vcc3v3_sys>;
449 + vcc9-supply = <&vcc3v3_sys>;
453 + vdd_logic: DCDC_REG1 {
454 + regulator-name = "vdd_logic";
455 + regulator-always-on;
457 + regulator-init-microvolt = <900000>;
458 + regulator-initial-mode = <0x2>;
459 + regulator-min-microvolt = <500000>;
460 + regulator-max-microvolt = <1350000>;
461 + regulator-ramp-delay = <6001>;
463 + regulator-state-mem {
464 + regulator-off-in-suspend;
468 + vdd_gpu: DCDC_REG2 {
469 + regulator-name = "vdd_gpu";
470 + regulator-always-on;
471 + regulator-init-microvolt = <900000>;
472 + regulator-initial-mode = <0x2>;
473 + regulator-min-microvolt = <500000>;
474 + regulator-max-microvolt = <1350000>;
475 + regulator-ramp-delay = <6001>;
477 + regulator-state-mem {
478 + regulator-off-in-suspend;
482 + vcc_ddr: DCDC_REG3 {
483 + regulator-name = "vcc_ddr";
484 + regulator-always-on;
486 + regulator-initial-mode = <0x2>;
488 + regulator-state-mem {
489 + regulator-on-in-suspend;
493 + vdd_npu: DCDC_REG4 {
494 + regulator-name = "vdd_npu";
495 + regulator-init-microvolt = <900000>;
496 + regulator-initial-mode = <0x2>;
497 + regulator-min-microvolt = <500000>;
498 + regulator-max-microvolt = <1350000>;
499 + regulator-ramp-delay = <6001>;
501 + regulator-state-mem {
502 + regulator-off-in-suspend;
506 + vcc_1v8: DCDC_REG5 {
507 + regulator-name = "vcc_1v8";
508 + regulator-always-on;
510 + regulator-min-microvolt = <1800000>;
511 + regulator-max-microvolt = <1800000>;
513 + regulator-state-mem {
514 + regulator-off-in-suspend;
518 + vdda0v9_image: LDO_REG1 {
519 + regulator-name = "vdda0v9_image";
520 + regulator-min-microvolt = <950000>;
521 + regulator-max-microvolt = <950000>;
523 + regulator-state-mem {
524 + regulator-off-in-suspend;
528 + vdda_0v9: LDO_REG2 {
529 + regulator-name = "vdda_0v9";
530 + regulator-always-on;
532 + regulator-min-microvolt = <900000>;
533 + regulator-max-microvolt = <900000>;
535 + regulator-state-mem {
536 + regulator-off-in-suspend;
540 + vdda0v9_pmu: LDO_REG3 {
541 + regulator-name = "vdda0v9_pmu";
542 + regulator-always-on;
544 + regulator-min-microvolt = <900000>;
545 + regulator-max-microvolt = <900000>;
547 + regulator-state-mem {
548 + regulator-on-in-suspend;
549 + regulator-suspend-microvolt = <900000>;
553 + vccio_acodec: LDO_REG4 {
554 + regulator-name = "vccio_acodec";
555 + regulator-min-microvolt = <3300000>;
556 + regulator-max-microvolt = <3300000>;
558 + regulator-state-mem {
559 + regulator-off-in-suspend;
563 + vccio_sd: LDO_REG5 {
564 + regulator-name = "vccio_sd";
565 + regulator-min-microvolt = <1800000>;
566 + regulator-max-microvolt = <3300000>;
568 + regulator-state-mem {
569 + regulator-off-in-suspend;
573 + vcc3v3_pmu: LDO_REG6 {
574 + regulator-name = "vcc3v3_pmu";
575 + regulator-always-on;
577 + regulator-min-microvolt = <3300000>;
578 + regulator-max-microvolt = <3300000>;
580 + regulator-state-mem {
581 + regulator-on-in-suspend;
582 + regulator-suspend-microvolt = <3300000>;
586 + vcca_1v8: LDO_REG7 {
587 + regulator-name = "vcca_1v8";
588 + regulator-always-on;
590 + regulator-min-microvolt = <1800000>;
591 + regulator-max-microvolt = <1800000>;
593 + regulator-state-mem {
594 + regulator-off-in-suspend;
598 + vcca1v8_pmu: LDO_REG8 {
599 + regulator-name = "vcca1v8_pmu";
600 + regulator-always-on;
602 + regulator-min-microvolt = <1800000>;
603 + regulator-max-microvolt = <1800000>;
605 + regulator-state-mem {
606 + regulator-on-in-suspend;
607 + regulator-suspend-microvolt = <1800000>;
611 + vcca1v8_image: LDO_REG9 {
612 + regulator-name = "vcca1v8_image";
613 + regulator-min-microvolt = <1800000>;
614 + regulator-max-microvolt = <1800000>;
616 + regulator-state-mem {
617 + regulator-off-in-suspend;
621 + vcc_3v3: SWITCH_REG1 {
622 + regulator-name = "vcc_3v3";
623 + regulator-always-on;
626 + regulator-state-mem {
627 + regulator-off-in-suspend;
631 + vcc3v3_sd: SWITCH_REG2 {
632 + regulator-name = "vcc3v3_sd";
633 + regulator-always-on;
636 + regulator-state-mem {
637 + regulator-off-in-suspend;
649 + compatible = "haoyu,hym8563";
651 + interrupt-parent = <&gpio0>;
652 + interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>;
653 + #clock-cells = <0>;
654 + clock-output-names = "rtcic_32kout";
655 + pinctrl-names = "default";
656 + pinctrl-0 = <&hym8563_int>;
666 + data-lanes = <1 2>;
672 + hym8563_int: hym8563-int {
673 + rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
678 + pmic_int: pmic-int {
679 + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
684 + vcc5v0_usb_host_en: vcc5v0-usb-host-en {
685 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
688 + vcc5v0_usb_otg_en: vcc5v0-usb-otg-en {
689 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
695 + pmuio1-supply = <&vcc3v3_pmu>;
696 + pmuio2-supply = <&vcc3v3_pmu>;
697 + vccio1-supply = <&vccio_acodec>;
698 + vccio3-supply = <&vccio_sd>;
699 + vccio4-supply = <&vcc_1v8>;
700 + vccio5-supply = <&vcc_3v3>;
701 + vccio6-supply = <&vcc_1v8>;
702 + vccio7-supply = <&vcc_3v3>;
707 + vref-supply = <&vcca_1v8>;
713 + max-frequency = <200000000>;
715 + pinctrl-names = "default";
716 + pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
721 + max-frequency = <150000000>;
728 + vmmc-supply = <&vcc3v3_sd>;
729 + vqmmc-supply = <&vccio_sd>;
730 + pinctrl-names = "default";
731 + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
736 + rockchip,hw-tshut-mode = <1>;
737 + rockchip,hw-tshut-polarity = <0>;
754 + extcon = <&usb2phy0>;
776 + phy-supply = <&vcc5v0_usb_host>;
789 + phy-supply = <&vcc5v0_usb_otg>;
798 + assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
799 + assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
808 + vp0_out_hdmi: endpoint@ROCKCHIP_VOP2_EP_HDMI0 {
809 + reg = <ROCKCHIP_VOP2_EP_HDMI0>;
810 + remote-endpoint = <&hdmi_in_vp0>;
813 --- a/board/rockchip/evb_rk3568/MAINTAINERS
814 +++ b/board/rockchip/evb_rk3568/MAINTAINERS
815 @@ -7,6 +7,14 @@ F: configs/evb-rk3568_defconfig
816 F: arch/arm/dts/rk3568-evb-boot.dtsi
817 F: arch/arm/dts/rk3568-evb.dts
820 +M: Tianling Shen <cnsztl@gmail.com>
822 +F: configs/nanopi-r5s-rk3568_defconfig
823 +F: arch/arm/dts/rk3568-nanopi-r5s.dts
824 +F: arch/arm/dts/rk3568-nanopi-r5s.dtsi
825 +F: arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi
828 M: Jagan Teki <jagan@amarulasolutions.com>
831 +++ b/configs/nanopi-r5s-rk3568_defconfig
834 +CONFIG_SKIP_LOWLEVEL_INIT=y
835 +CONFIG_COUNTER_FREQUENCY=24000000
836 +CONFIG_ARCH_ROCKCHIP=y
837 +CONFIG_TEXT_BASE=0x00a00000
838 +CONFIG_SPL_LIBCOMMON_SUPPORT=y
839 +CONFIG_SPL_LIBGENERIC_SUPPORT=y
840 +CONFIG_NR_DRAM_BANKS=2
841 +CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
842 +CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc00000
843 +CONFIG_DEFAULT_DEVICE_TREE="rk3568-nanopi-r5s"
844 +CONFIG_ROCKCHIP_RK3568=y
845 +CONFIG_SPL_ROCKCHIP_COMMON_BOARD=y
847 +CONFIG_SPL_STACK_R_ADDR=0x600000
848 +CONFIG_TARGET_EVB_RK3568=y
849 +CONFIG_SPL_STACK=0x400000
850 +CONFIG_DEBUG_UART_BASE=0xFE660000
851 +CONFIG_DEBUG_UART_CLOCK=24000000
852 +CONFIG_SYS_LOAD_ADDR=0xc00800
855 +CONFIG_FIT_VERBOSE=y
856 +CONFIG_SPL_LOAD_FIT=y
857 +CONFIG_DEFAULT_FDT_FILE="rockchip/rk3568-nanopi-r5s.dtb"
858 +# CONFIG_DISPLAY_CPUINFO is not set
859 +CONFIG_DISPLAY_BOARDINFO_LATE=y
860 +CONFIG_SPL_MAX_SIZE=0x40000
861 +CONFIG_SPL_PAD_TO=0x7f8000
862 +CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
863 +CONFIG_SPL_BSS_START_ADDR=0x4000000
864 +CONFIG_SPL_BSS_MAX_SIZE=0x4000
865 +# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
866 +# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
867 +CONFIG_SPL_STACK_R=y
875 +CONFIG_CMD_REGULATOR=y
876 +# CONFIG_SPL_DOS_PARTITION is not set
877 +CONFIG_SPL_OF_CONTROL=y
879 +CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
880 +CONFIG_SPL_DM_WARN=y
884 +CONFIG_ROCKCHIP_GPIO=y
885 +CONFIG_SYS_I2C_ROCKCHIP=y
887 +CONFIG_SUPPORT_EMMC_RPMB=y
889 +CONFIG_MMC_DW_ROCKCHIP=y
891 +CONFIG_MMC_SDHCI_SDMA=y
892 +CONFIG_MMC_SDHCI_ROCKCHIP=y
893 +CONFIG_ETH_DESIGNWARE=y
894 +CONFIG_GMAC_ROCKCHIP=y
895 +CONFIG_PHY_ROCKCHIP_INNO_USB2=y
896 +CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
897 +CONFIG_POWER_DOMAIN=y
900 +CONFIG_SPL_DM_REGULATOR_FIXED=y
901 +CONFIG_REGULATOR_RK8XX=y
902 +CONFIG_PWM_ROCKCHIP=y
904 +CONFIG_BAUDRATE=1500000
905 +CONFIG_DEBUG_UART_SHIFT=2
906 +CONFIG_SYS_NS16550_MEM32=y
908 +CONFIG_SYSRESET_PSCI=y
910 +CONFIG_USB_XHCI_HCD=y
911 +CONFIG_USB_XHCI_DWC3=y
912 +CONFIG_USB_EHCI_HCD=y
913 +CONFIG_USB_EHCI_GENERIC=y
914 +CONFIG_USB_OHCI_HCD=y
915 +CONFIG_USB_OHCI_GENERIC=y