Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp60294rwl; Thu, 6 Apr 2023 13:11:19 -0700 (PDT) X-Google-Smtp-Source: AKy350Z++7YJF8uZzMgnnFnVEU5ash20Fben2dbWXmcEvcJHnGZjYZAbT7xnKY1Z6X4JZ6GQ8Xx2 X-Received: by 2002:a17:902:db0c:b0:1a1:ca4d:120a with SMTP id m12-20020a170902db0c00b001a1ca4d120amr8814270plx.7.1680811879653; Thu, 06 Apr 2023 13:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811879; cv=none; d=google.com; s=arc-20160816; b=oJJnQHBAhx9WYbXuAHTAbYKYn1JZhAz6EUblO9BXis/DfiBAFLnT+Z1JzYumJwjYs7 E2ZyIWi8Cgj/C+d7pOssucQONPdRCILVjOaY9mJmzxUKwhWYepekpRaIB7s1u1mZagRp XoMGaxWPArh7C5Qs1rxstzS7wcnjOzhCFSy41B/MlD0sEwL/DpaPVCASL/lGltZyLAyj O0F1G/hRrU9l7MeQ/SlJeDOHbeluCmDXImsY9xnSRfji460ybaMounaPGkZSknlwnHzb XuGICJGAyzaeM1NVJ/zsz3ilwRYYohR+l4qzB8m5mO5bjbgxo97GbqoXI4N/92gL1WLs JOXg== 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=m52Fvcr35MflUMHJTsLpmYtRZScsn7h+EREVPBWogx0=; b=LWScHF+ObKfItz78APEYDxgwNZ9OQQ3KEmP64ZePNmSqca9NkjBlxZKSTHWBBtG51G 9o6Z2Msp7xAFgmCSJPHOiHf+4LnkH+5t1k++VESV9GCX99n5FLbXQRTsI6UVR7ircspX jDrYFgcloX64KwXw3An/GOakXNMOeLo/M2Qf2aqWtcfe/ZQLqCh2MMoAb/KU7EEnSFPv y9ZTEIl53oc2J6T+kRsGcUyH5RNGqXk7EEVAkTgPdtrd0ZIcArs9+dYofDWJyVS7+JAh VbQCTQ1QSjfkjK4TXzZlpEfNfoLDy+s/J1oS/oMfLoKng5vpjVAzxjmHqwQjMphawMCj JsVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="FtP0/eW7"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jf18-20020a170903269200b001994a4f9d34si2212502plb.145.2023.04.06.13.11.07; Thu, 06 Apr 2023 13:11:19 -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=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="FtP0/eW7"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbjDFUIV (ORCPT + 99 others); Thu, 6 Apr 2023 16:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238788AbjDFUIE (ORCPT ); Thu, 6 Apr 2023 16:08:04 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15C2093F9 for ; Thu, 6 Apr 2023 13:07:55 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id e18so40643271wra.9 for ; Thu, 06 Apr 2023 13:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1680811674; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m52Fvcr35MflUMHJTsLpmYtRZScsn7h+EREVPBWogx0=; b=FtP0/eW7E1kTl+x7xopru+dzz4dGbL19ET6V852K4bydrN4OVov2baH8oQ2bxfW1ou A2a39Zix/GM6gMJnX3LlTU5gFFKaQI5/oAEsLTJRp2Gc2h0KhP5oiePvszdIyU0WWDNF axa61RPGGTix+oVcDM+4+9skVyk2fCbYP07Smr+3mqwFk/ZsjM4BXHia2r7Clwf30bv6 ASbVp9SpcFg4FNN4LLy0uZKoxtCN+GtEA2y/mZMsdl+Pl/qkQ7fm8IIrKFJsnTQ7BH/W I9G/QNaeY2ErIRzIBkxX3bK126H16Mi/6wLdimXnO6EECDY9RW3mFmDMCpeQ4tc+NOCW 1Dow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680811674; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m52Fvcr35MflUMHJTsLpmYtRZScsn7h+EREVPBWogx0=; b=5tJMoZHQvA2eS4oyruFMWyvQSLvWGr+ATwfQe5YgvtXUmZhprCpSyvr9MA3pajzIiK oQMvD0RV6ziUr1g0xsH+eBBT56PQCbVZyZrU/caGabN+wecES/uOg8fm8yDaYpYNK/Tj Oc/B09VpiSrk1+YSFgGXgSZfrnPJna54W40QEMzD7IVWoXNCgDfuD+2+gIa7PfmXS2mp sgaza/ZlVuxcxdBbdvZgLeOK1wYgQc4hCsDutWy+WWRF0Mqyt/4rjdgJajYR+8YnFrGX eiMk5M0TU6TUPI2mDALIIio5kJHOrd0xIo7uJEdv9aCtvOBdWl+8BUpZriFOvImYfRtq 3gWw== X-Gm-Message-State: AAQBX9f5GdzrGTleFmofIt1EAW0lqLhIiQOf8OIG0dPMex+JnAprlJYU m4Q0xf4gFE/EcD56lGRbdr1R2g== X-Received: by 2002:a5d:5103:0:b0:2d3:fba4:e61d with SMTP id s3-20020a5d5103000000b002d3fba4e61dmr4436015wrt.12.1680811674335; Thu, 06 Apr 2023 13:07:54 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:4793:cb9a:340b:2f72]) by smtp.gmail.com with ESMTPSA id c11-20020adfe74b000000b002d89e113691sm2560506wrn.52.2023.04.06.13.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 13:07:53 -0700 (PDT) From: Bartosz Golaszewski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Will Deacon , Robin Murphy , Joerg Roedel , Catalin Marinas , Arnd Bergmann Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Bartosz Golaszewski Subject: [PATCH v2 5/7] arm64: dts: qcom: sa8775p: add the pcie smmu node Date: Thu, 6 Apr 2023 22:07:21 +0200 Message-Id: <20230406200723.552644-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230406200723.552644-1-brgl@bgdev.pl> References: <20230406200723.552644-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,UPPERCASE_50_75 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: Bartosz Golaszewski Add the PCIe SMMU node for sa8775p platforms. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 74 +++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 2343df7e0ea4..9ab630c7d81b 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -809,6 +809,80 @@ apps_smmu: iommu@15000000 { ; }; + pcie_smmu: iommu@15200000 { + compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500"; + reg = <0x0 0x15200000 0x0 0x800000>; + #iommu-cells = <2>; + #global-interrupts = <2>; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ -- 2.37.2