[PATCH] riscv: dts: sophgo: Add sdhci0 configuration for Huanshan Pi

Inochi Amaoto inochiama at outlook.com
Sun Jul 28 17:24:15 PDT 2024


On Thu, Jul 25, 2024 at 02:41:28PM GMT, Chen Wang wrote:
> 
> 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
> 

Thanks, I will sed it when applying the patch.

> > 
> > 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