From: Xiao Feng Date: Sat, 10 Oct 2015 06:46:01 +0000 (+0800) Subject: arm: rockchip: rk3228: dts: add DMAC support X-Git-Tag: firefly_0821_release~3734 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f399038b276db24cccb6f97654214ba81c2d09a5;p=firefly-linux-kernel-4.4.55.git arm: rockchip: rk3228: dts: add DMAC support Change-Id: Ic6f8a106e8ecdcdf153873a65b90567b3edb48ad Signed-off-by: Xiao Feng --- diff --git a/arch/arm/boot/dts/rk3228-fpga.dts b/arch/arm/boot/dts/rk3228-fpga.dts index 96534df8e2e8..ccbd7ba8f6ca 100644 --- a/arch/arm/boot/dts/rk3228-fpga.dts +++ b/arch/arm/boot/dts/rk3228-fpga.dts @@ -245,4 +245,22 @@ <&clk_gates1 3>;/*clk_jtag*/ }; + + amba { + #address-cells = <1>; + #size-cells = <1>; + compatible = "arm,amba-bus"; + interrupt-parent = <&gic>; + ranges; + + pdma: pdma@110f0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x110f0000 0x4000>; + clocks = <&clk_gates8 2>; + clock-names = "apb_pclk"; + interrupts = , + ; + #dma-cells = <1>; + }; + }; }; diff --git a/arch/arm/boot/dts/rk3228.dtsi b/arch/arm/boot/dts/rk3228.dtsi index 5c552144d493..444ac875f2bf 100644 --- a/arch/arm/boot/dts/rk3228.dtsi +++ b/arch/arm/boot/dts/rk3228.dtsi @@ -162,4 +162,22 @@ <&clk_gates1 3>;/*clk_jtag*/ }; + + amba { + #address-cells = <1>; + #size-cells = <1>; + compatible = "arm,amba-bus"; + interrupt-parent = <&gic>; + ranges; + + pdma: pdma@110f0000 { + compatible = "arm,pl330", "arm,primecell"; + reg = <0x110f0000 0x4000>; + clocks = <&clk_gates8 2>; + clock-names = "apb_pclk"; + interrupts = , + ; + #dma-cells = <1>; + }; + }; };