Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680749 > unrolled thread

[PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb

Started byFrank Wang <frank.wang@rock-chips.com>
First post2017-07-04 10:20 +0200
Last post2017-07-04 10:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb Frank Wang <frank.wang@rock-chips.com> - 2017-07-04 10:20 +0200
    Re: [PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb Heiko Stübner <heiko@sntech.de> - 2017-07-04 10:40 +0200

#1680749 — [PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb

FromFrank Wang <frank.wang@rock-chips.com>
Date2017-07-04 10:20 +0200
Subject[PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb
Message-ID<tZrdU-5Lm-13@gated-at.bofh.it>
This patch enables eMMC support for rk3229-evb board.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
---
 arch/arm/boot/dts/rk3229-evb.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index b64f86c..bae0dbf 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -130,6 +130,17 @@
 	cpu-supply = <&vdd_arm>;
 };
 
+&emmc {
+	broken-cd;
+	bus-width = <8>;
+	cap-mmc-highspeed;
+	supports-emmc;
+	disable-wp;
+	non-removable;
+	num-slots = <1>;
+	status = "okay";
+};
+
 &gmac {
 	assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
 	assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;
-- 
2.0.0

[toc] | [next] | [standalone]


#1680764

FromHeiko Stübner <heiko@sntech.de>
Date2017-07-04 10:40 +0200
Message-ID<tZrxh-5SB-13@gated-at.bofh.it>
In reply to#1680749
Am Dienstag, 4. Juli 2017, 16:12:45 CEST schrieb Frank Wang:
> This patch enables eMMC support for rk3229-evb board.
> 
> Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
> ---
>  arch/arm/boot/dts/rk3229-evb.dts | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk3229-evb.dts
> b/arch/arm/boot/dts/rk3229-evb.dts index b64f86c..bae0dbf 100644
> --- a/arch/arm/boot/dts/rk3229-evb.dts
> +++ b/arch/arm/boot/dts/rk3229-evb.dts
> @@ -130,6 +130,17 @@
>  	cpu-supply = <&vdd_arm>;
>  };
> 
> +&emmc {
> +	broken-cd;
> +	bus-width = <8>;
> +	cap-mmc-highspeed;
> +	supports-emmc;
> +	disable-wp;
> +	non-removable;

non-removable should be enough, so you shouldn't need the broken-cd above?

> +	num-slots = <1>;
> +	status = "okay";
> +};
> +
>  &gmac {
>  	assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>;
>  	assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web