[PATCH v3 2/3] arm: dts: rockchip: rk3568: Enable sdhci and sdmmc0 node
Kever Yang
kever.yang at rock-chips.com
Fri Dec 24 04:04:48 CET 2021
On 2021/10/26 上午10:42, Nico Cheng wrote:
> Enable sdhci and sdmmc0 node in rk3568-u-boot.dtsi
>
> Signed-off-by: Nico Cheng <nico.cheng at rock-chips.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
>
> (no changes since v1)
>
> 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";
> +};
> +
More information about the U-Boot
mailing list