From patchwork Tue Jan 5 12:26:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356850 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764470jai; Tue, 5 Jan 2021 04:29:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwn9jABrLNYNg/uaT4tAff/qwsPULeCDS/LdF3lYP1ia09rfFdpNubK0hfwVB7LPeukOmh5 X-Received: by 2002:a17:906:c310:: with SMTP id s16mr70542199ejz.186.1609849785886; Tue, 05 Jan 2021 04:29:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849785; cv=none; d=google.com; s=arc-20160816; b=F7I3hPxIUXJv/dFBTnJqiBsfR7qcvv4zKHY0fC2J9oY4LJkQPJKO4GlyapjXVq9Gpz 8wejzeDE7y9ZT7S15xNqvSv3BTiiZeoO16nzPexNLsgJHJBJdZXiFXKi3rKVnED4S5bt YYXqJ34q+wyzbxDNl06t/BBJ9/ePxzS+Tq5c/Zw31BMIZa/q5AJQAK/cPPByBxi2UgEK 6Ha1a5EapwvpFG8QYmTYEPu12K6VkevpNURMSa5L50jFScN7YFXr5yFdFW7sBofhMtKw Jww59KJeMkCX93fe+ghbdyFjojRLnp++Ik1S6vLNeKGVi5x3o0n4LSE8Zs7TP0BfprHA 8mJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=ghtkRh6iLD9M13lWhZEVtrym0MVfBfkqFlwhap/Ybx9qOv9ZXwPrvz/+RRWueeq3Eb FOvzOe6v8ojk38iuEqbHJIUwKVFxw1jYBnQ2jUaGuPypeVv9goHtvwG6P9tD+80/yOlp mDkcAFEUTGpUKBvqFEWocVfH089bVEkFyR6cmlwLCoFlc9bLMCiwYdw58lcxVEJOHCna moqZPXmYDDdMXoEH6cIUO/OY6RjmKFcYgO0mh+rfWXivDxlOrhchd0wLMJO372dqZ05b N53M+Bb4Ece6Se5951hgU6sfTEuJTdRBPV6X62qoU2+hhY7MecudTkc2361i7h/TncnS r7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pGFZctsB; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si32606247edv.105.2021.01.05.04.29.45; Tue, 05 Jan 2021 04:29:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pGFZctsB; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728335AbhAEM2a (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730192AbhAEM2Z (ORCPT ); Tue, 5 Jan 2021 07:28:25 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 627DBC0617A6 for ; Tue, 5 Jan 2021 04:27:17 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 30so16486112pgr.6 for ; Tue, 05 Jan 2021 04:27:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=pGFZctsBG3/uj9kXM4G7y2KW9MJp+bo2qj8Of67FLlZhfsyRe6t8xLGyb9RuCRERc5 kvwU9/e096z/bgfCWk7KQhwsLrusufxiyH52hXT0GTzbgKyDECP730/3c3Ngcj7fSMDP lzk1K1Do+lQeczuHqHYPDS4AF71ttLqBn1ReHcWhWFepoRzlVopXPxicxMVIE0RH7wvm KpfY27Dw9/3ou6GK7ECtD2Ly+Y4GSqUL+NJ540JHQNEFsp5U5YlMpsow6zPrZPMrWTl1 TsllrxWPEqCIKDEVnd8Nb5zwLpFzl0IcU/0ZLFGfOgGTvBvan2ss72yP+OPKWcjb8rkj NSYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=m5+fOg2+NzSz7o4u9IFX0xjri2eNW3AyVHhjnS/A3PtdDK81vHRpEkOhB4xBJAG8Br QhTbXRte+u60STaafGJucm3Sl/Z8zQTrgyL9Sm/TKDkcwjvkJa7G29qNJdA/1OIRhrNj ib6OJ+ua2Nu8VxoJNza5yEgZjpmNr7M3Z1T3C33xDor5Cf6ebSXECrpj6qUEEl5Q+LBN sxZ1ARoS3yCArjgQYDx3hnXBRfJ4tDEKOGALviaLuI3umw39WLy1Yr5tCoT0u4PrtNcg Mz4mmdAwc9X189Wyx9+OpB9ih6Q6phH3pFiM2W1b1EzqxbIlBdhrjyB9YNZ2jyrG4gSp gy+Q== X-Gm-Message-State: AOAM533PRo1gYhHg+h9ns+EaIspFRzrD+RsOhVGD/gOKZVB42DIUT64T 03ElGRKKgmPFz9UCfUm1DIhc X-Received: by 2002:a65:6484:: with SMTP id e4mr32579788pgv.401.1609849636937; Tue, 05 Jan 2021 04:27:16 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:16 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v2 06/18] ARM: dts: qcom: sdx55: Enable ARM SMMU Date: Tue, 5 Jan 2021 17:56:37 +0530 Message-Id: <20210105122649.13581-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bjorn Andersson Add a node for the ARM SMMU found in the SDX55. Signed-off-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 3f8e98bfc020..927f43a7414c 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -185,6 +185,30 @@ tlmm: pinctrl@f100000 { #interrupt-cells = <2>; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sdx55-smmu-500", "arm,mmu-500"; + reg = <0x15000000 0x20000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller;