public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: xuwei5@hisilicon•com (Wei Xu)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] arm64: dts: hi3798cv200: add SD card support
Date: Fri, 22 Dec 2017 09:34:00 +0000	[thread overview]
Message-ID: <5A3CD188.2070206@hisilicon.com> (raw)
In-Reply-To: <1508036687-13926-1-git-send-email-shawnguo@kernel.org>

Hi Shawn,

On 2017/10/15 4:04, Shawn Guo wrote:
> From: Shawn Guo <shawn.guo@linaro•org>
> 
> It adds device mmc at 9820000 which is used as SD card on poplar board.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro•org>

Applied into hisilicon dt tree.
Thanks!

Best Regards,
Wei

> ---
>  arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts |  6 ++++++
>  arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi       | 12 ++++++++++++
>  2 files changed, 18 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
> index b9142871d6fe..e6fd9f296497 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
> +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts
> @@ -146,6 +146,12 @@
>  	status = "okay";
>  };
>  
> +&sd0 {
> +	bus-width = <4>;
> +	cap-sd-highspeed;
> +	status = "okay";
> +};
> +
>  &spi0 {
>  	status = "okay";
>  	label = "LS-SPI0";
> diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
> index 75865f8a862a..962bd79139e4 100644
> --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
> +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
> @@ -192,6 +192,18 @@
>  			status = "disabled";
>  		};
>  
> +		sd0: mmc at 9820000 {
> +			compatible = "snps,dw-mshc";
> +			reg = <0x9820000 0x10000>;
> +			interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&crg HISTB_SDIO0_CIU_CLK>,
> +				 <&crg HISTB_SDIO0_BIU_CLK>;
> +			clock-names = "ciu", "biu";
> +			resets = <&crg 0x9c 4>;
> +			reset-names = "reset";
> +			status = "disabled";
> +		};
> +
>  		emmc: mmc at 9830000 {
>  			compatible = "snps,dw-mshc";
>  			reg = <0x9830000 0x10000>;
> 

      reply	other threads:[~2017-12-22  9:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15  3:04 [PATCH] arm64: dts: hi3798cv200: add SD card support Shawn Guo
2017-12-22  9:34 ` Wei Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A3CD188.2070206@hisilicon.com \
    --to=xuwei5@hisilicon$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox