Message ID | 0556399f1ce8b1255d1f7961f04fcb95c96ab928.1605823502.git.cristian.ciocaltea@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add CMU/RMU/DMA/MMC/I2C support for Actions Semi S500 SoCs | expand |
On Fri, 20 Nov 2020 at 00:56, Cristian Ciocaltea <cristian.ciocaltea@gmail.com> wrote: > > Add MMC controller nodes for Actions Semi S500 SoC, in order to > facilitate access to SD/EMMC/SDIO cards. > > Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Kind regards Uffe > --- > arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi > index b16172615db0..7af7c9e1119d 100644 > --- a/arch/arm/boot/dts/owl-s500.dtsi > +++ b/arch/arm/boot/dts/owl-s500.dtsi > @@ -241,5 +241,38 @@ dma: dma-controller@b0260000 { > clocks = <&cmu CLK_DMAC>; > power-domains = <&sps S500_PD_DMA>; > }; > + > + mmc0: mmc@b0230000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0230000 0x38>; > + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD0>; > + resets = <&cmu RESET_SD0>; > + dmas = <&dma 2>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > + > + mmc1: mmc@b0234000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0234000 0x38>; > + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD1>; > + resets = <&cmu RESET_SD1>; > + dmas = <&dma 3>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > + > + mmc2: mmc@b0238000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0238000 0x38>; > + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD2>; > + resets = <&cmu RESET_SD2>; > + dmas = <&dma 4>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > }; > }; > -- > 2.29.2 >
On Tue, Nov 24, 2020 at 03:25:15PM +0100, Ulf Hansson wrote: > On Fri, 20 Nov 2020 at 00:56, Cristian Ciocaltea > <cristian.ciocaltea@gmail.com> wrote: > > > > Add MMC controller nodes for Actions Semi S500 SoC, in order to > > facilitate access to SD/EMMC/SDIO cards. > > > > Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> > > Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> > > Kind regards > Uffe > Thanks for the review! Regards, Cristi > > > --- > > arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > > > diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi > > index b16172615db0..7af7c9e1119d 100644 > > --- a/arch/arm/boot/dts/owl-s500.dtsi > > +++ b/arch/arm/boot/dts/owl-s500.dtsi > > @@ -241,5 +241,38 @@ dma: dma-controller@b0260000 { > > clocks = <&cmu CLK_DMAC>; > > power-domains = <&sps S500_PD_DMA>; > > }; > > + > > + mmc0: mmc@b0230000 { > > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > > + reg = <0xb0230000 0x38>; > > + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&cmu CLK_SD0>; > > + resets = <&cmu RESET_SD0>; > > + dmas = <&dma 2>; > > + dma-names = "mmc"; > > + status = "disabled"; > > + }; > > + > > + mmc1: mmc@b0234000 { > > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > > + reg = <0xb0234000 0x38>; > > + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&cmu CLK_SD1>; > > + resets = <&cmu RESET_SD1>; > > + dmas = <&dma 3>; > > + dma-names = "mmc"; > > + status = "disabled"; > > + }; > > + > > + mmc2: mmc@b0238000 { > > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > > + reg = <0xb0238000 0x38>; > > + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&cmu CLK_SD2>; > > + resets = <&cmu RESET_SD2>; > > + dmas = <&dma 4>; > > + dma-names = "mmc"; > > + status = "disabled"; > > + }; > > }; > > }; > > -- > > 2.29.2 > >
On Fri, Nov 20, 2020 at 01:56:03AM +0200, Cristian Ciocaltea wrote: > Add MMC controller nodes for Actions Semi S500 SoC, in order to > facilitate access to SD/EMMC/SDIO cards. > > Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Thanks, Mani > --- > arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi > index b16172615db0..7af7c9e1119d 100644 > --- a/arch/arm/boot/dts/owl-s500.dtsi > +++ b/arch/arm/boot/dts/owl-s500.dtsi > @@ -241,5 +241,38 @@ dma: dma-controller@b0260000 { > clocks = <&cmu CLK_DMAC>; > power-domains = <&sps S500_PD_DMA>; > }; > + > + mmc0: mmc@b0230000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0230000 0x38>; > + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD0>; > + resets = <&cmu RESET_SD0>; > + dmas = <&dma 2>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > + > + mmc1: mmc@b0234000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0234000 0x38>; > + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD1>; > + resets = <&cmu RESET_SD1>; > + dmas = <&dma 3>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > + > + mmc2: mmc@b0238000 { > + compatible = "actions,s500-mmc", "actions,owl-mmc"; > + reg = <0xb0238000 0x38>; > + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&cmu CLK_SD2>; > + resets = <&cmu RESET_SD2>; > + dmas = <&dma 4>; > + dma-names = "mmc"; > + status = "disabled"; > + }; > }; > }; > -- > 2.29.2 >
diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index b16172615db0..7af7c9e1119d 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -241,5 +241,38 @@ dma: dma-controller@b0260000 { clocks = <&cmu CLK_DMAC>; power-domains = <&sps S500_PD_DMA>; }; + + mmc0: mmc@b0230000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0230000 0x38>; + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cmu CLK_SD0>; + resets = <&cmu RESET_SD0>; + dmas = <&dma 2>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc1: mmc@b0234000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0234000 0x38>; + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cmu CLK_SD1>; + resets = <&cmu RESET_SD1>; + dmas = <&dma 3>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc2: mmc@b0238000 { + compatible = "actions,s500-mmc", "actions,owl-mmc"; + reg = <0xb0238000 0x38>; + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&cmu CLK_SD2>; + resets = <&cmu RESET_SD2>; + dmas = <&dma 4>; + dma-names = "mmc"; + status = "disabled"; + }; }; };
Add MMC controller nodes for Actions Semi S500 SoC, in order to facilitate access to SD/EMMC/SDIO cards. Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> --- arch/arm/boot/dts/owl-s500.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)