rockchip: Fix early use of bootph props
authorJonas Karlman <jonas@kwiboo.se>
Tue, 14 Mar 2023 00:38:21 +0000 (00:38 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 19 Mar 2023 05:17:28 +0000 (13:17 +0800)
Running U-Boot on a ROCK 3 Model A result in the following:

  No serial driver found
  resetting ...
  no sysreset
  ### ERROR ### Please RESET the board ###

Replace bootph- props with u-boot,dm- props to fix this.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi
arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
arch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi
arch/arm/dts/rk3588s-u-boot.dtsi

index a27a3ad..27735c4 100644 (file)
@@ -11,7 +11,7 @@
 };
 
 &uart0 {
-       bootph-all;
+       u-boot,dm-pre-reloc;
        clock-frequency = <24000000>;
        status = "okay";
 };
index 4e79173..5893325 100644 (file)
@@ -13,6 +13,6 @@
 
 &uart2 {
        clock-frequency = <24000000>;
-       bootph-all;
+       u-boot,dm-pre-reloc;
        status = "okay";
 };
index ed47efa..b5ca23a 100644 (file)
@@ -19,6 +19,6 @@
 
 &uart2 {
        clock-frequency = <24000000>;
-       bootph-all;
+       u-boot,dm-pre-reloc;
        status = "okay";
 };
index 3235bd3..6129664 100644 (file)
@@ -18,7 +18,7 @@
 
 &sdmmc {
        bus-width = <4>;
-       bootph-all;
+       u-boot,dm-pre-reloc;
        u-boot,spl-fifo-mode;
        status = "okay";
 };
index 1e225d7..f880f4a 100644 (file)
@@ -8,12 +8,12 @@
 / {
        dmc {
                compatible = "rockchip,rk3588-dmc";
-               bootph-all;
+               u-boot,dm-pre-reloc;
                status = "okay";
        };
 
        pmu1_grf: syscon@fd58a000 {
-               bootph-all;
+               u-boot,dm-pre-reloc;
                compatible = "rockchip,rk3588-pmu1-grf", "syscon";
                reg = <0x0 0xfd58a000 0x0 0x2000>;
        };
 };
 
 &xin24m {
-       bootph-all;
+       u-boot,dm-pre-reloc;
        status = "okay";
 };
 
 &cru {
-       bootph-pre-ram;
+       u-boot,dm-spl;
        status = "okay";
 };
 
 &sys_grf {
-       bootph-pre-ram;
+       u-boot,dm-spl;
        status = "okay";
 };
 
 &uart2 {
        clock-frequency = <24000000>;
-       bootph-pre-ram;
+       u-boot,dm-spl;
        status = "okay";
 };
 
 &ioc {
-       bootph-pre-ram;
+       u-boot,dm-spl;
 };