Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4725568rwb; Tue, 6 Sep 2022 11:38:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR44CUhljkMqOnJQJhLXTCwfzaaJsUDLIcqIhK32HR/k0AwUXvz0Z3ZxSQvO2eJxNWm36I+2 X-Received: by 2002:a17:902:ab14:b0:176:9fd4:d61d with SMTP id ik20-20020a170902ab1400b001769fd4d61dmr13676245plb.76.1662489518686; Tue, 06 Sep 2022 11:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662489518; cv=none; d=google.com; s=arc-20160816; b=ZQQdS2I0iWp48UpSCvcnua0IHdQuG/4VNTVgdPWvNT7nBVYcc+5wUVXqqq8sJuUy2w 6Vzqjc0AphoquGveVrkuYRI8iQsPZZWFlZY5xpzO5jf4kpbng6weC6hWogFtL85ehf0g gihC4NpBDCwWRyjkt5xfn0VyNL8bHi1ThPrCrwcipjax5H4BonbVCSO6+aed8y4Z8eRt +pw6IDTj0WN9SUs/Jot8r4A8OWV+UwzTHPHNmJguqOv5JGvXLFK9+jkmpOJcPlTRUM+X p5kQV+/fugEb0fr7doULzJ6mABbBBWz1i2Bdz/+m86cuA2cpoVErnolpgWrXI1BIoRYE ylFg== 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=MkFJ2/HrcXx811mjyLVBagr3L8/C5iU+IsemrsmAT7Q=; b=IibAVv6p0AygXPhpD9GqKfvR0HQoQa1OJgw0Gd4KKtUcTyw0y2RUKfblMHQnyjIMww l/Ch9qLEaN6N+s+iMLMyJuuaSA/14H9Szeam1a3I+Njl0tgXjO05ekW8JZUv3bSCd8oN r7g2Qq/n0uO9XjMSALIczvXW/w+Ohq2fhvsAM+MqJI5evMK4bQkSZhcbyH3d5i844vhB azysjEMNhsD4sTLPgmkO7QQBQfQVWwOJ8gQBqSDnACHeE7x0aR81YjvHFXkijRnxK3Ru omnskxv6PLlWNaHrcUhrxjbKmc0CU5MdpPzaOhkf02yTAxIPgdPahUbJHodjH5zYP3QJ YhhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=pBod8VVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a656281000000b00428829af8e8si13680966pgv.663.2022.09.06.11.38.26; Tue, 06 Sep 2022 11:38:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=pBod8VVs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbiIFSfn (ORCPT + 99 others); Tue, 6 Sep 2022 14:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbiIFSfT (ORCPT ); Tue, 6 Sep 2022 14:35:19 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B64F2717C; Tue, 6 Sep 2022 11:35:18 -0700 (PDT) Received: from g550jk.arnhem.chello.nl (31-151-115-246.dynamic.upc.nl [31.151.115.246]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id DC235C7638; Tue, 6 Sep 2022 18:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1662489317; bh=vfQvf8c7u1J/tA4v3dX3LnzyRuvLcCoLlquLrZC49aE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=pBod8VVsfY6LyshKUzsvyRiGUFq02dIOOqT0gZZL+Or+Cmdb/YQtBOztgHhFesfBi ugrDm3TmBQihfY+xV+0W0KJNg5bYkdMD9tpWq/Qt6TDLIGK4owIwePrT9bBL1ZoItI caIejqWkQYEgms3Q2RrHn6MCo/Hw+0O8J5ag2rUM= From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Vladimir Lypak , Luca Weiss , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] arm64: dts: qcom: msm8953: add APPS IOMMU Date: Tue, 6 Sep 2022 20:33:33 +0200 Message-Id: <20220906183334.203787-3-luca@z3ntu.xyz> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906183334.203787-1-luca@z3ntu.xyz> References: <20220906183334.203787-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vladimir Lypak Add the nodes describing the iommu and its context banks that are found on msm8953 SoCs. Signed-off-by: Vladimir Lypak Signed-off-by: Luca Weiss --- Changes since v2: - no change arch/arm64/boot/dts/qcom/msm8953.dtsi | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index 8416a45ca4fd..3d11331e78d2 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -726,6 +726,42 @@ tcsr_phy_clk_scheme_sel: syscon@193f044 { reg = <0x193f044 0x4>; }; + apps_iommu: iommu@1e00000 { + compatible = "qcom,msm8953-iommu", "qcom,msm-iommu-v1"; + ranges = <0 0x1e20000 0x20000>; + + clocks = <&gcc GCC_SMMU_CFG_CLK>, + <&gcc GCC_APSS_TCU_ASYNC_CLK>; + clock-names = "iface", "bus"; + + qcom,iommu-secure-id = <17>; + + #address-cells = <1>; + #iommu-cells = <1>; + #size-cells = <1>; + + // vfe + iommu-ctx@14000 { + compatible = "qcom,msm-iommu-v1-ns"; + reg = <0x14000 0x1000>; + interrupts = ; + }; + + // mdp_0 + iommu-ctx@15000 { + compatible = "qcom,msm-iommu-v1-ns"; + reg = <0x15000 0x1000>; + interrupts = ; + }; + + // venus_ns + iommu-ctx@16000 { + compatible = "qcom,msm-iommu-v1-ns"; + reg = <0x16000 0x1000>; + interrupts = ; + }; + }; + spmi_bus: spmi@200f000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x200f000 0x1000>, -- 2.37.3