Message ID | 20180309151219.18723-14-ezequiel@vanguardiasur.com.ar (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Mar 09, 2018 at 12:12:18PM -0300, Ezequiel Garcia wrote: > Now that we have support for JZ480 SoCs in the MMC driver, > let's enable it on the devicetree. > > Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> > --- > arch/mips/boot/dts/ingenic/ci20.dts | 38 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts > index a4cc52214dbd..9c5261dbcc4e 100644 > --- a/arch/mips/boot/dts/ingenic/ci20.dts > +++ b/arch/mips/boot/dts/ingenic/ci20.dts > @@ -36,6 +36,32 @@ > clock-frequency = <48000000>; > }; > > +&dma { > + status = "okay"; > +}; With that removed, it looks good to me in principle: Acked-by: James Hogan <jhogan@kernel.org> Thanks James
diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index a4cc52214dbd..9c5261dbcc4e 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -36,6 +36,32 @@ clock-frequency = <48000000>; }; +&dma { + status = "okay"; +}; + +&mmc0 { + status = "okay"; + + bus-width = <4>; + max-frequency = <50000000>; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_mmc0>; + + cd-gpios = <&gpf 20 GPIO_ACTIVE_LOW>; +}; + +&mmc1 { + status = "okay"; + + bus-width = <4>; + max-frequency = <50000000>; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_mmc1>; +}; + &uart0 { status = "okay"; @@ -203,4 +229,16 @@ groups = "nemc-cs6"; bias-disable; }; + + pins_mmc0: mmc0 { + function = "mmc0"; + groups = "mmc0-1bit-e", "mmc0-4bit-e"; + bias-disable; + }; + + pins_mmc1: mmc1 { + function = "mmc1"; + groups = "mmc1-1bit-d", "mmc1-4bit-d"; + bias-disable; + }; };
Now that we have support for JZ480 SoCs in the MMC driver, let's enable it on the devicetree. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> --- arch/mips/boot/dts/ingenic/ci20.dts | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+)