Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp1058221pxr; Mon, 11 Apr 2022 14:05:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXlvy4BDsBj4mry+wd3eoERO05+33AkyiFD1Och1v9pwUynrVpp6TzA2OOKgJ3LDaCwfeZ X-Received: by 2002:a17:907:eab:b0:6dd:e8fe:3dc with SMTP id ho43-20020a1709070eab00b006dde8fe03dcmr30640769ejc.165.1649711114591; Mon, 11 Apr 2022 14:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649711114; cv=none; d=google.com; s=arc-20160816; b=Brn1NE5BWdMPKXq0c1fhmFTvf5xNgNI+1D5xOKa3m8rC+6lFdRajkv7/+VyqZIJe3y uEAkKDwyYMBqVhA9xar8306GfybGyt5N7nQViqlPAI+SJwcHA3vQ4uJAnsUb1yOaQ89j tO8/qyVKMKQZqM3n3r6bN03TgaH+VGuUI4E7Gytkyug9hmvHuQ83aQqEGvjXftFSuTuK +Kq4tz7WvcVruWHO0FaMtT4ehzERQ43oZjVtWSveDC3Bo4HeC1xap7X0wrim/ll4qlG6 pxIMBhbB/VB1G0zTovaqc7FlOHzgL//Ih4u9OVP85wGbfhyoCJmtCnfXZSUVluqrBExI uNKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=xzRH/Ivs+0i07Ts6lK6bing4ar3/peg9rJMOQp2xa08=; b=jOSUz1AacU03mWQE8/rIPrX10IzTT7yWi3iRM4Uuc4h51Q9AmOtW15fGhiV1u9nfcc pQodyBqNO1rxFk/ivuXXhVBPq57/ONIggFwkDwBzbHsS2u2DhEvDSnrIJE6/MQKgyOF/ 6dsnxzfLLa0/31plJ/YbtLJbpwasGuCp6EOdbPJ95FV64+2AZsXBN4nla0znBD2b3h5x qHfRRCz66nZPb1Mj2bNhXIXCRGz/HUTbs87uRu85GfjyWJCP31266KTlhTSqakKO0YDP TzUqbZO39dmMqsXQwKtU18IRLakXjF7LoLDY6m+lYQ4KM12BGF98hgTREwaaky7gfP9f a6mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=R50NF2sL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mm25-20020a170906cc5900b006e7ecb3d442si6920677ejb.649.2022.04.11.14.04.48; Mon, 11 Apr 2022 14:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=R50NF2sL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344948AbiDKJzI (ORCPT + 99 others); Mon, 11 Apr 2022 05:55:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345010AbiDKJxM (ORCPT ); Mon, 11 Apr 2022 05:53:12 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F41E3CA4D; Mon, 11 Apr 2022 02:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649670651; x=1681206651; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=xzRH/Ivs+0i07Ts6lK6bing4ar3/peg9rJMOQp2xa08=; b=R50NF2sL+jLIELWoKUDwn1lyMhaF+8MDZdP8AdISwjSRDlahhPRlh/tP RTpFwGxFyuIDPY6D4cCMbe3JQCe/aDDl2PAJocmd55rD4nFk3sa8JEvqy KU5CIQcA3l4cclqa9y25bwSi/66Y7TAZUgyxtftX1bMVJCYUJYfuq2U9e g=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 11 Apr 2022 02:50:51 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 11 Apr 2022 02:50:49 -0700 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg02-blr.qualcomm.com with ESMTP; 11 Apr 2022 15:20:26 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 32E343AB9; Mon, 11 Apr 2022 15:20:25 +0530 (+0530) From: Rohit Agarwal To: will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, robh+dt@kernel.org, krzk+dt@kernel.org, ulf.hansson@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org Cc: manivannan.sadhasivam@linaro.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rohit Agarwal Subject: [PATCH v2 5/7] ARM: dts: qcom: sdx65: Enable ARM SMMU Date: Mon, 11 Apr 2022 15:20:13 +0530 Message-Id: <1649670615-21268-6-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1649670615-21268-1-git-send-email-quic_rohiagar@quicinc.com> References: <1649670615-21268-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a node for the ARM SMMU found in the SDX65. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65.dtsi | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index 77bca58..f50a8a4 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -190,6 +190,46 @@ interrupt-controller; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sdx65-smmu-500", "arm,mmu-500"; + reg = <0x15000000 0x40000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller; -- 2.7.4