[PATCH] dts: rockchip: rk3399: enable emmc phy for spl

adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399") to fix the issue "Not found emmc phy device".
Signed-off-by: Yifeng Zhao yifeng.zhao@rock-chips.com ---
arch/arm/dts/rk3399-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index 73922c328a..716b9a433a 100644 --- a/arch/arm/dts/rk3399-u-boot.dtsi +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -88,6 +88,10 @@ u-boot,dm-pre-reloc; };
+&emmc_phy { + u-boot,dm-pre-reloc; +}; + &grf { u-boot,dm-pre-reloc; };

On Mon, Nov 1, 2021 at 4:44 AM Yifeng Zhao yifeng.zhao@rock-chips.com wrote:
adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399") to fix the issue "Not found emmc phy device".
Signed-off-by: Yifeng Zhao yifeng.zhao@rock-chips.com
Fixes: ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399") Reviewed-by: Peter Robinson pbrobinson@gmail.com Tested-by: Peter Robinson pbrobinson@gmail.com - on a Rock960
arch/arm/dts/rk3399-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index 73922c328a..716b9a433a 100644 --- a/arch/arm/dts/rk3399-u-boot.dtsi +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -88,6 +88,10 @@ u-boot,dm-pre-reloc; };
+&emmc_phy {
u-boot,dm-pre-reloc;
+};
&grf { u-boot,dm-pre-reloc; }; -- 2.17.1

Am Mon, Nov 01, 2021 at 12:43:47PM +0800 schrieb Yifeng Zhao:
adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399") to fix the issue "Not found emmc phy device".
Reviewed-by: Patrick Wildt patrick@blueri.se Tested-by: Patrick Wildt patrick@blueri.se - on a Pinebook Pro
Please merge, otherwise the Pinebook Pro doesn't boot up at all.
Signed-off-by: Yifeng Zhao yifeng.zhao@rock-chips.com
arch/arm/dts/rk3399-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi index 73922c328a..716b9a433a 100644 --- a/arch/arm/dts/rk3399-u-boot.dtsi +++ b/arch/arm/dts/rk3399-u-boot.dtsi @@ -88,6 +88,10 @@ u-boot,dm-pre-reloc; };
+&emmc_phy {
- u-boot,dm-pre-reloc;
+};
&grf { u-boot,dm-pre-reloc; }; -- 2.17.1
participants (3)
-
Patrick Wildt
-
Peter Robinson
-
Yifeng Zhao