u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node
@ 2021-10-08  2:20 Nico Cheng
  2021-10-09 15:06 ` Kever Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Nico Cheng @ 2021-10-08  2:20 UTC (permalink / raw)
  To: sjg, philipp.tomsich, kever.yang
  Cc: yamada.masahiro, chenjh, jason.zhu, trini, yifeng.zhao, u-boot,
	Nico Cheng

Enable sdhci and sdmmc0 node in rk3568-u-boot.dtsi

Signed-off-by: Nico Cheng <nico.cheng@rock-chips.com>
---

 arch/arm/dts/rk3568-u-boot.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/dts/rk3568-u-boot.dtsi b/arch/arm/dts/rk3568-u-boot.dtsi
index 1570f13fc7..5a80dda275 100644
--- a/arch/arm/dts/rk3568-u-boot.dtsi
+++ b/arch/arm/dts/rk3568-u-boot.dtsi
@@ -9,6 +9,10 @@
 		mmc1 = &sdmmc0;
 	};
 
+	chosen {
+		u-boot,spl-boot-order = &sdhci, &sdmmc0;
+	};
+
 	dmc: dmc {
 		compatible = "rockchip,rk3568-dmc";
 		u-boot,dm-pre-reloc;
@@ -35,3 +39,16 @@
 	u-boot,dm-pre-reloc;
 	status = "okay";
 };
+
+&sdmmc0 {
+	u-boot,dm-spl;
+	status = "okay";
+};
+
+&sdhci {
+	bus-width = <8>;
+	u-boot,dm-spl;
+	mmc-hs200-1_8v;
+	status = "okay";
+};
+
-- 
2.17.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node
  2021-10-08  2:20 [PATCH v1 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node Nico Cheng
@ 2021-10-09 15:06 ` Kever Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Kever Yang @ 2021-10-09 15:06 UTC (permalink / raw)
  To: Nico Cheng, sjg, philipp.tomsich
  Cc: yamada.masahiro, chenjh, jason.zhu, trini, yifeng.zhao, u-boot


On 2021/10/8 上午10:20, Nico Cheng wrote:
> Enable sdhci and sdmmc0 node in rk3568-u-boot.dtsi
>
> Signed-off-by: Nico Cheng <nico.cheng@rock-chips.com>

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>


Thanks,
- Kever
> ---
>
>   arch/arm/dts/rk3568-u-boot.dtsi | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm/dts/rk3568-u-boot.dtsi b/arch/arm/dts/rk3568-u-boot.dtsi
> index 1570f13fc7..5a80dda275 100644
> --- a/arch/arm/dts/rk3568-u-boot.dtsi
> +++ b/arch/arm/dts/rk3568-u-boot.dtsi
> @@ -9,6 +9,10 @@
>   		mmc1 = &sdmmc0;
>   	};
>   
> +	chosen {
> +		u-boot,spl-boot-order = &sdhci, &sdmmc0;
> +	};
> +
>   	dmc: dmc {
>   		compatible = "rockchip,rk3568-dmc";
>   		u-boot,dm-pre-reloc;
> @@ -35,3 +39,16 @@
>   	u-boot,dm-pre-reloc;
>   	status = "okay";
>   };
> +
> +&sdmmc0 {
> +	u-boot,dm-spl;
> +	status = "okay";
> +};
> +
> +&sdhci {
> +	bus-width = <8>;
> +	u-boot,dm-spl;
> +	mmc-hs200-1_8v;
> +	status = "okay";
> +};
> +



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-09 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  2:20 [PATCH v1 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node Nico Cheng
2021-10-09 15:06 ` Kever Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).