From patchwork Fri Nov 8 09:28:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 11234383 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 CB9D0139A for ; Fri, 8 Nov 2019 09:28:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AAB6E222C2 for ; Fri, 8 Nov 2019 09:28:58 +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="nGThvaRT"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="SGFvkyTi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731165AbfKHJ26 (ORCPT ); Fri, 8 Nov 2019 04:28:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37506 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726987AbfKHJ25 (ORCPT ); Fri, 8 Nov 2019 04:28:57 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1187F60D95; Fri, 8 Nov 2019 09:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573205336; bh=Q7tjtf3AvCkK0B8EMpUKJ7O5lUErAuvnE9kzZoC0E7w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nGThvaRTQcNyZhbQv5pSP/42Gwe03E7kf9xLwm83EOb+V1BlIZWFDbDnaEkqLM2f3 213wA5kk7pQdy2+1WJx3882KeF3VmAVxPU8Df0+O4ZaGteHhMMIWUDhhq5AvzcJdUG cf+nN0Hm+oGUT2fGvC2jtxo7nEYwj2llgCu1YJFw= 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 CE0A560D5C; Fri, 8 Nov 2019 09:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573205335; bh=Q7tjtf3AvCkK0B8EMpUKJ7O5lUErAuvnE9kzZoC0E7w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SGFvkyTiJ5MgxL8QPMnEDOWyHzc5QYFp/gopZ9C4T9TObpd1Qsd3yVkxn/5gK8DHc O/OpbfbubIXco2qe0RkngmO07vCocJW5qK53YlcWXq/KeBp6z1Hiakz8+rBShMQZIi iNCuZpIcWs74hd9sac+9WwimiPI05nCeIwIBVZOE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CE0A560D5C 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, swboyd@chromium.org, Vivek Gautam , Rajendra Nayak Subject: [PATCH v5 03/13] arm64: dts: sc7180: Add device node for apps_smmu Date: Fri, 8 Nov 2019 14:58:14 +0530 Message-Id: <20191108092824.9773-4-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191108092824.9773-1-rnayak@codeaurora.org> References: <20191108092824.9773-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 Reviewed-by: Stephen Boyd --- 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 c0ac0a1fb526..383593142f07 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -209,6 +209,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>;