From patchwork Wed Nov 6 06:50:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 11229407 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 969A91864 for ; Wed, 6 Nov 2019 06:51:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FCB0222C5 for ; Wed, 6 Nov 2019 06:51:49 +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="ZQtCOpKq"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="NIBOQNhv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731180AbfKFGvI (ORCPT ); Wed, 6 Nov 2019 01:51:08 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45252 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfKFGvH (ORCPT ); Wed, 6 Nov 2019 01:51:07 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2963761271; Wed, 6 Nov 2019 06:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573023066; bh=ZsvqiKsUgwzvidsH733Ht926Ip8xR5FYo1WDIpEdXxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZQtCOpKqshdthsPxuw4T4bMCcu6cyK4KnyZj/k5S0rpMV9R7bkLyidj1t5z4/NcNP RTfPuOWG8uU0QPoODiYAylaa0JvqrzPLCK9zfsb16K0lSZNVlUxcllCyobW3Tog2NK /j5QNsFLdaZ0ZKMXF+B1woqdvgAlb3A9/Gs9BCZk= 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 21B0561272; Wed, 6 Nov 2019 06:51:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573023065; bh=ZsvqiKsUgwzvidsH733Ht926Ip8xR5FYo1WDIpEdXxM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NIBOQNhvdBOUAz51RVVEHmBM9nk5IQdM5eqL7bR0YL0IOIhNuOQF6gbsozDfDAPY+ fuRZv57XTIryQJSWgONm3mt9ZOlBuQZCXnTn3LNPNMU4ksqqA/p64sj2kgRsDK5GHS HQU8hdb0zp+gLVdessCXxT+i9467kkRmTqzgiEic= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 21B0561272 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 v4 04/14] arm64: dts: sc7180: Add device node for apps_smmu Date: Wed, 6 Nov 2019 12:20:07 +0530 Message-Id: <20191106065017.22144-5-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191106065017.22144-1-rnayak@codeaurora.org> References: <20191106065017.22144-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 17870dd67390..ef52cd7efc88 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -210,6 +210,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>;