Browse Source

MIPS: JZ4780: DTS: Update DMA node to match driver changes

The driver now accepts two memory resources, the first one for the
channel-specific registers, the second one for the controller-specific
registers.

Note that older devicetrees, without this commit, will still work with
the jz4780-dma driver.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Paul Cercueil 7 năm trước cách đây
mục cha
commit
f57879a574
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      arch/mips/boot/dts/ingenic/jz4780.dtsi

+ 2 - 1
arch/mips/boot/dts/ingenic/jz4780.dtsi

@@ -266,7 +266,8 @@
 
 	dma: dma@13420000 {
 		compatible = "ingenic,jz4780-dma";
-		reg = <0x13420000 0x10000>;
+		reg = <0x13420000 0x400
+		       0x13421000 0x40>;
 		#dma-cells = <2>;
 
 		interrupt-parent = <&intc>;