Commit 258e1ae6 authored by Baolin Wang's avatar Baolin Wang Committed by Arnd Bergmann

arm64: dts: Add DMA device node for Spreadtrum SC9860

The Spreadtrum SC9860 platform has two DMA controllers, one is located
on the ap-ahb system, and another one is located on the agcp system.
Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 4f681369
...@@ -107,6 +107,23 @@ uart3: serial@300000 { ...@@ -107,6 +107,23 @@ uart3: serial@300000 {
}; };
}; };
ap-ahb {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges;
ap_dma: dma-controller@20100000 {
compatible = "sprd,sc9860-dma";
reg = <0 0x20100000 0 0x4000>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
#dma-channels = <32>;
clock-names = "enable";
clocks = <&apahb_gate CLK_DMA_EB>;
};
};
aon { aon {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <2>; #address-cells = <2>;
...@@ -151,6 +168,23 @@ watchdog@40310000 { ...@@ -151,6 +168,23 @@ watchdog@40310000 {
clocks = <&aon_gate CLK_APCPU_WDG_EB>; clocks = <&aon_gate CLK_APCPU_WDG_EB>;
}; };
}; };
agcp {
compatible = "simple-bus";
#address-cells = <2>;
#size-cells = <2>;
ranges;
agcp_dma: dma-controller@41580000 {
compatible = "sprd,sc9860-dma";
reg = <0 0x41580000 0 0x4000>;
#dma-cells = <1>;
#dma-channels = <32>;
clock-names = "enable", "ashb_eb";
clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>,
<&agcp_gate CLK_AGCP_AP_ASHB_EB>;
};
};
}; };
ext_32k: ext_32k { ext_32k: ext_32k {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment