On Fri, Mar 13, 2020 at 9:58 AM Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx> wrote: > > Add external DMA controller support implemented in UniPhier SoCs. > This supports for Pro4, Pro5 and PXs2. > > Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx> > --- > arch/arm/boot/dts/uniphier-pro4.dtsi | 8 ++++++++ > arch/arm/boot/dts/uniphier-pro5.dtsi | 8 ++++++++ > arch/arm/boot/dts/uniphier-pxs2.dtsi | 8 ++++++++ > 3 files changed, 24 insertions(+) > > diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi > index 2ec04d7..a1bfe0f 100644 > --- a/arch/arm/boot/dts/uniphier-pro4.dtsi > +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi > @@ -426,6 +426,14 @@ > }; > }; > > + xdmac: dma-controller@5fc10000 { > + compatible = "socionext,uniphier-xdmac"; > + reg = <0x5fc10000 0x1000>, <0x5fc20000 0x800>; This is odd. <0x5fc20000 0x800> causes reg overwrap with aidet@5fc20000 below. > + interrupts = <0 188 4>; > + dma-channels = <16>; > + #dma-cells = <2>; > + }; > + > aidet: aidet@5fc20000 { > compatible = "socionext,uniphier-pro4-aidet"; > reg = <0x5fc20000 0x200>; > diff --git a/arch/arm/boot/dts/uniphier-pro5.dtsi b/arch/arm/boot/dts/uniphier-pro5.dtsi > index ea3961f..ecab061 100644 > --- a/arch/arm/boot/dts/uniphier-pro5.dtsi > +++ b/arch/arm/boot/dts/uniphier-pro5.dtsi > @@ -408,6 +408,14 @@ > }; > }; > > + xdmac: dma-controller@5fc10000 { > + compatible = "socionext,uniphier-xdmac"; > + reg = <0x5fc10000 0x1000>, <0x5fc20000 0x800>; > + interrupts = <0 188 4>; > + dma-channels = <16>; > + #dma-cells = <2>; > + }; > + > aidet: aidet@5fc20000 { > compatible = "socionext,uniphier-pro5-aidet"; > reg = <0x5fc20000 0x200>; > diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi > index 13b0d4a..6e60154 100644 > --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi > +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi > @@ -508,6 +508,14 @@ > }; > }; > > + xdmac: dma-controller@5fc10000 { > + compatible = "socionext,uniphier-xdmac"; > + reg = <0x5fc10000 0x1000>, <0x5fc20000 0x800>; > + interrupts = <0 188 4>; > + dma-channels = <16>; > + #dma-cells = <2>; > + }; > + > aidet: aidet@5fc20000 { > compatible = "socionext,uniphier-pxs2-aidet"; > reg = <0x5fc20000 0x200>; > -- > 2.7.4 > -- Best Regards Masahiro Yamada