mirror of https://gitee.com/openkylin/linux.git
arm64: dts: Add APM X-Gene SoC DMA device and DMA clock DTS nodes
This patch adds the device tree node for APM X-Gene SoC DMA controller and DMA clock. Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com> Signed-off-by: Loc Ho <lho@apm.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
9f2fd0dfa5
commit
74e353e153
|
@ -102,6 +102,7 @@ soc {
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
ranges;
|
ranges;
|
||||||
|
dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
|
||||||
|
|
||||||
clocks {
|
clocks {
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
|
@ -352,6 +353,15 @@ pcie4clk: pcie4clk@1f51c000 {
|
||||||
reg-names = "csr-reg";
|
reg-names = "csr-reg";
|
||||||
clock-output-names = "pcie4clk";
|
clock-output-names = "pcie4clk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dmaclk: dmaclk@1f27c000 {
|
||||||
|
compatible = "apm,xgene-device-clock";
|
||||||
|
#clock-cells = <1>;
|
||||||
|
clocks = <&socplldiv2 0>;
|
||||||
|
reg = <0x0 0x1f27c000 0x0 0x1000>;
|
||||||
|
reg-names = "csr-reg";
|
||||||
|
clock-output-names = "dmaclk";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie0: pcie@1f2b0000 {
|
pcie0: pcie@1f2b0000 {
|
||||||
|
@ -656,5 +666,21 @@ rng: rng@10520000 {
|
||||||
interrupts = <0x0 0x41 0x4>;
|
interrupts = <0x0 0x41 0x4>;
|
||||||
clocks = <&rngpkaclk 0>;
|
clocks = <&rngpkaclk 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
dma: dma@1f270000 {
|
||||||
|
compatible = "apm,xgene-storm-dma";
|
||||||
|
device_type = "dma";
|
||||||
|
reg = <0x0 0x1f270000 0x0 0x10000>,
|
||||||
|
<0x0 0x1f200000 0x0 0x10000>,
|
||||||
|
<0x0 0x1b008000 0x0 0x2000>,
|
||||||
|
<0x0 0x1054a000 0x0 0x100>;
|
||||||
|
interrupts = <0x0 0x82 0x4>,
|
||||||
|
<0x0 0xb8 0x4>,
|
||||||
|
<0x0 0xb9 0x4>,
|
||||||
|
<0x0 0xba 0x4>,
|
||||||
|
<0x0 0xbb 0x4>;
|
||||||
|
dma-coherent;
|
||||||
|
clocks = <&dmaclk 0>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue