From patchwork Thu Oct 11 09:49:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10636361 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 98ED2112B for ; Thu, 11 Oct 2018 09:50:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F38A2AF27 for ; Thu, 11 Oct 2018 09:50:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72C852AED5; Thu, 11 Oct 2018 09:50:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,UPPERCASE_50_75 autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F0262AED5 for ; Thu, 11 Oct 2018 09:49:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbeJKRQX (ORCPT ); Thu, 11 Oct 2018 13:16:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45448 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbeJKRQX (ORCPT ); Thu, 11 Oct 2018 13:16:23 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C9BA060CE9; Thu, 11 Oct 2018 09:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539251390; bh=dPNWCghFdxss7CBn1sjKFEPZwSuqRDZKVei/CWcWilQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mVoOi7xtCH71nhpMQL1HNqkG9ybBgozRuBMx8U8OnNiU71MJB8wggdtZAK5SkS3iY r+hIOJALrlPM5JO8pP7tX+ebbuXmNIm0IIeg+oLqtDrJCB5of9/it2m7NoLmCW6DZ+ 9+kApncfBcrlzfyBeRQW2ZSRwOqXOyB0lqIQ6Bu8= Received: from blr-ubuntu-41.ap.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: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BFD4360C8C; Thu, 11 Oct 2018 09:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539251389; bh=dPNWCghFdxss7CBn1sjKFEPZwSuqRDZKVei/CWcWilQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dr1ZGT0RKWddUmLFsDxit1thKU/HCBZS64p6vjrADXFQACMIoXxWQbFoX+2O8ctUu m6mksp2PsX9OBVG0i/T/oMLRvHlQCrELtzT2d4wIWYbp0CxcVoLAugEHC4I/wrcbVl hHRcIsv+2bvt3LJFzfzJIhiJisIzMgknRq+YTWoo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BFD4360C8C 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=vivek.gautam@codeaurora.org From: Vivek Gautam To: joro@8bytes.org, robh+dt@kernel.org, andy.gross@linaro.org, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: mark.rutland@arm.com, david.brown@linaro.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, will.deacon@arm.com, dianders@chromium.org, Vivek Gautam Subject: [PATCH v4 2/2] dts: arm64/sdm845: Add node for arm,mmu-500 Date: Thu, 11 Oct 2018 15:19:30 +0530 Message-Id: <20181011094930.17010-3-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 In-Reply-To: <20181011094930.17010-1-vivek.gautam@codeaurora.org> References: <20181011094930.17010-1-vivek.gautam@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device node for arm,mmu-500 available on sdm845. This MMU-500 with single TCU and multiple TBU architecture is shared among all the peripherals except gpu. Signed-off-by: Vivek Gautam --- Changes since v3: - none. arch/arm64/boot/dts/qcom/sdm845.dtsi | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b72bdb0a31a5..0aace729643d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1297,6 +1297,78 @@ cell-index = <0>; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; + reg = <0x15000000 0x80000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + apss_shared: mailbox@17990000 { compatible = "qcom,sdm845-apss-shared"; reg = <0x17990000 0x1000>;