Skip to content

Commit 5ee449c

Browse files
Rudraksha Guptaandersson
authored andcommitted
ARM: dts: qcom: msm8960: Add BAM
Copy bam nodes from qcom-ipq8064.dtsi and change the reg values to match msm8960. Co-developed-by: Sam Day <[email protected]> Signed-off-by: Sam Day <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rudraksha Gupta <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent adbbdcf commit 5ee449c

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
compatible = "arm,pl18x", "arm,primecell";
280280
arm,primecell-periphid = <0x00051180>;
281281
status = "disabled";
282-
reg = <0x12180000 0x8000>;
282+
reg = <0x12180000 0x2000>;
283283
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
284284
clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
285285
clock-names = "mclk", "apb_pclk";
@@ -289,13 +289,25 @@
289289
max-frequency = <192000000>;
290290
no-1-8-v;
291291
vmmc-supply = <&vsdcc_fixed>;
292+
dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
293+
dma-names = "tx", "rx";
294+
};
295+
296+
sdcc3bam: dma-controller@12182000 {
297+
compatible = "qcom,bam-v1.3.0";
298+
reg = <0x12182000 0x4000>;
299+
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
300+
clocks = <&gcc SDC3_H_CLK>;
301+
clock-names = "bam_clk";
302+
#dma-cells = <1>;
303+
qcom,ee = <0>;
292304
};
293305

294306
sdcc1: mmc@12400000 {
295307
status = "disabled";
296308
compatible = "arm,pl18x", "arm,primecell";
297309
arm,primecell-periphid = <0x00051180>;
298-
reg = <0x12400000 0x8000>;
310+
reg = <0x12400000 0x2000>;
299311
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
300312
clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
301313
clock-names = "mclk", "apb_pclk";
@@ -305,6 +317,18 @@
305317
cap-sd-highspeed;
306318
cap-mmc-highspeed;
307319
vmmc-supply = <&vsdcc_fixed>;
320+
dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
321+
dma-names = "tx", "rx";
322+
};
323+
324+
sdcc1bam: dma-controller@12402000 {
325+
compatible = "qcom,bam-v1.3.0";
326+
reg = <0x12402000 0x4000>;
327+
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
328+
clocks = <&gcc SDC1_H_CLK>;
329+
clock-names = "bam_clk";
330+
#dma-cells = <1>;
331+
qcom,ee = <0>;
308332
};
309333

310334
tcsr: syscon@1a400000 {

0 commit comments

Comments
 (0)