Message ID | 1499155967-26090-5-git-send-email-frank.wang@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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>;
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>;
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(+)