[PATCH] riscv: dts: sophgo: Add sdhci0 configuration for Huanshan Pi
Chen Wang
unicorn_wang at outlook.com
Wed Jul 24 23:41:28 PDT 2024
On 2024/7/23 10:18, Inochi Amaoto wrote:
> Add configuration for sdhci0 for Huanshan Pi to support sd card.
Huanshan -> Huashan
Others LGTM.
Reviewed-by: Chen Wang <unicorn_wang at outlook.com>
Thanks,
Chen
>
> Signed-off-by: Inochi Amaoto <inochiama at outlook.com>
> ---
> arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
> index aa361f3a86bb..7b5f57853690 100644
> --- a/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
> +++ b/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dts
> @@ -43,6 +43,15 @@ &osc {
> clock-frequency = <25000000>;
> };
>
> +&sdhci0 {
> + status = "okay";
> + bus-width = <4>;
> + no-1-8-v;
> + no-mmc;
> + no-sdio;
> + disable-wp;
> +};
> +
> &uart0 {
> status = "okay";
> };
> --
> 2.45.2
>
More information about the linux-riscv
mailing list