ARM: dts: qcom: msm8960: Add BAM
PATCH v3 1/1 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]>
---
Changes in v3:
- Revert the size of sdcc{1,3} back to 0x2000
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Reorganize sdcc{3,1}bam to be after sdcc{3,1} respectively
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-)
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi +26 -2
@@ -279,7 +279,7 @@ sdcc3: mmc@12180000 { compatible = "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x00051180>; status = "disabled"; - reg = <0x12180000 0x8000>; + reg = <0x12180000 0x2000>; interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; clock-names = "mclk", "apb_pclk";
@@ -289,13 +289,25 @@ sdcc3: mmc@12180000 { max-frequency = <192000000>; no-1-8-v; vmmc-supply = <&vsdcc_fixed>; + dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; + dma-names = "tx", "rx"; + }; + + sdcc3bam: dma-controller@12182000 { + compatible = "qcom,bam-v1.3.0"; + reg = <0x12182000 0x4000>; + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc SDC3_H_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; }; sdcc1: mmc@12400000 { status = "disabled"; compatible = "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x00051180>; - reg = <0x12400000 0x8000>; + reg = <0x12400000 0x2000>; interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; clock-names = "mclk", "apb_pclk";
@@ -305,6 +317,18 @@ sdcc1: mmc@12400000 { cap-sd-highspeed; cap-mmc-highspeed; vmmc-supply = <&vsdcc_fixed>; + dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; + dma-names = "tx", "rx"; + }; + + sdcc1bam: dma-controller@12402000 { + compatible = "qcom,bam-v1.3.0"; + reg = <0x12402000 0x4000>; + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc SDC1_H_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; }; tcsr: syscon@1a400000 {
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250208-expressatt-bam-d0ed9863a626
Best regards,
Signature · 1 line
Rudraksha Gupta <[email protected]>
Quoted 8 lines · Rudraksha Gupta
Copy bam nodes from
qcom-ipq8064.dtsiand 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]>
Konrad
Quoted 4 lines · Rudraksha Gupta
Copy bam nodes from
qcom-ipq8064.dtsiand change
the reg values to match msm8960.
Applied, thanks!
[1/1] ARM: dts: qcom: msm8960: Add BAM
commit: 5ee449c75f49c9a6b0cbff7848f922183e7888c1
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>