From nobody Thu May 7 21:43:49 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0396C433FE for ; Tue, 17 May 2022 20:36:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352975AbiEQUgJ (ORCPT ); Tue, 17 May 2022 16:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353031AbiEQUgH (ORCPT ); Tue, 17 May 2022 16:36:07 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FE771D8; Tue, 17 May 2022 13:36:04 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (a246182.upc-a.chello.nl [62.163.246.182]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 52B8BCC9D9; Tue, 17 May 2022 20:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1652819732; bh=iON8ZRL1eW/DULXxtgulxs3OwCDAEDeckZe6GD8UEwE=; h=From:To:Cc:Subject:Date; b=h18DEOpeTUcEE3Ryyjt0J8JkJznvM7hgRmJhBDTiPqOh+wY55opjWlbXOLFH5f64z 4vL8wjw77l+tj2qFOHqaocuJyEpHyC4xAT6N03ZRGsgJY/BqGBr0OumkE1sfEIr+jD eOpXUgr9htmVONzLyDD5VXJ5A/v0JNpEA+vBQAK8= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: msm8974: Add BAM DMUX Ethernet/IP device Date: Tue, 17 May 2022 22:34:51 +0200 Message-Id: <20220517203450.1155696-1-luca@z3ntu.xyz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" BAM DMUX is used as the network interface to the modem. Signed-off-by: Luca Weiss Reviewed-by: Stephan Gerhold --- arch/arm/boot/dts/qcom-msm8974.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-m= sm8974.dtsi index 814ad0b46232..ffa6f874917a 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1146,6 +1146,18 @@ spmi_bus: spmi@fc4cf000 { #interrupt-cells =3D <4>; }; =20 + bam_dmux_dma: dma-controller@fc834000 { + compatible =3D "qcom,bam-v1.4.0"; + reg =3D <0xfc834000 0x7000>; + interrupts =3D ; + #dma-cells =3D <1>; + qcom,ee =3D <0>; + + num-channels =3D <6>; + qcom,num-ees =3D <1>; + qcom,powered-remotely; + }; + remoteproc_mss: remoteproc@fc880000 { compatible =3D "qcom,msm8974-mss-pil"; reg =3D <0xfc880000 0x100>, <0xfc820000 0x020>; @@ -1180,6 +1192,20 @@ mpss { memory-region =3D <&mpss_region>; }; =20 + bam_dmux: bam-dmux { + compatible =3D "qcom,bam-dmux"; + + interrupt-parent =3D <&modem_smsm>; + interrupts =3D <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>; + interrupt-names =3D "pc", "pc-ack"; + + qcom,smem-states =3D <&apps_smsm 1>, <&apps_smsm 11>; + qcom,smem-state-names =3D "pc", "pc-ack"; + + dmas =3D <&bam_dmux_dma 4>, <&bam_dmux_dma 5>; + dma-names =3D "tx", "rx"; + }; + smd-edge { interrupts =3D ; =20 --=20 2.36.0