Re: [PATCH 4/6] ARM: dts: rockchip: enable eMMC for rk3229-evb
From: Heiko Stübner
Date: Tue Jul 04 2017 - 04:35:57 EST
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@xxxxxxxxxxxxxx>
> ---
> 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>;