From patchwork Wed Oct 23 09:02:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 11206031 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 722CE13B1 for ; Wed, 23 Oct 2019 09:03:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46A7321928 for ; Wed, 23 Oct 2019 09:03:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="fi3JOjCq"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="V9wkg7lW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390723AbfJWJC6 (ORCPT ); Wed, 23 Oct 2019 05:02:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42074 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390717AbfJWJC6 (ORCPT ); Wed, 23 Oct 2019 05:02:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D792C60D61; Wed, 23 Oct 2019 09:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571821377; bh=T+Jiv0pgpEgGW8NQYm0ZpQZMpgIL6IA8SsaPkemevV0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fi3JOjCqpxhrIGDPxLHRsjLZSYj7yBKVhI4kfN+vfR5wipVYkXzCK43hVho0Mvnym 1b+d+9lndJJpd+cbQlYD4Z2/irLqJYCvNexqCB/R1uKq8Aic+tq0hWFcAbGRJH1wsC VST/wX/nKJ+UQWXZ0hwV+9F1cPKu4SaH8vCKzXfg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F142D60D61; Wed, 23 Oct 2019 09:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571821375; bh=T+Jiv0pgpEgGW8NQYm0ZpQZMpgIL6IA8SsaPkemevV0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V9wkg7lWahtIBfkGrCnyKPj3/KVBL/uzGcdpLCuAO1cFa/cAUK8rOXyYSDT9VIBr5 ZBvpzijLtL8GeIjGgx+RHrx8LIFFKgc2NNuB7HxQPcz3TiZqutN2bO75X3CYd/Uf/T mtkbEppI4D4L1CVFom2snLguOUx/aaWgFdVuE7zM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F142D60D61 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: agross@kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, Vivek Gautam , Rajendra Nayak Subject: [PATCH v3 04/11] arm64: dts: sc7180: Add device node for apps_smmu Date: Wed, 23 Oct 2019 14:32:12 +0530 Message-Id: <20191023090219.15603-5-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191023090219.15603-1-rnayak@codeaurora.org> References: <20191023090219.15603-1-rnayak@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vivek Gautam Adding device node for APPS SMMU that is connected to devices such as display, video, usb, mmc, etc. on SC7180 chipset. Signed-off-by: Vivek Gautam Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 084854341ddd..f17684148595 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -211,6 +211,94 @@ }; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sc7180-smmu-500", "arm,mmu-500"; + reg = <0 0x15000000 0 0x100000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; #address-cells = <2>;