Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4876915rwl; Tue, 28 Mar 2023 12:38:34 -0700 (PDT) X-Google-Smtp-Source: AK7set9HqAXhkSIY5yBQc4sMVQMoPsPbjFcrYtcXMScBqpOFjfKx26nphqjr6xWmcWlRO3SMz3oj X-Received: by 2002:a17:906:24cb:b0:930:8590:95ef with SMTP id f11-20020a17090624cb00b00930859095efmr23682690ejb.18.1680032314046; Tue, 28 Mar 2023 12:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680032314; cv=none; d=google.com; s=arc-20160816; b=HrFCd4PgDBXWAFqvFtNXxa68FZtiltexG8RqqTvvNU2WUg0UOQMmSdZwnUhhgpys/X hlA9jO/WhQ8O+vW9+bWGTGdfwmX0uihmAvpkEEBhMDUaneHBZqjSMiDpSuC8rIriHbeg V5thCmj1lu6YjXV6rNUJnvE5/k+JcHMe4ZHSKxnwNtwRcPT0HqXVsKn5V8SB2vZRbQz7 RSdMoBwjTvN5HVYR8ajjRtv2PSiIPIBOHmIN6kFKtnPkG1earjXYCbG9n3z8Kmdrgcvq 0K69S0YEu+XpbVoWMrjbocaAFGkb47vTheq5RNdcA9lhg/ugMl+v6j0xpGrMEbm+KIvT 6iUA== 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=tXyJ56MXTgaGuaRJ30aQZ32hSfK274M12CnrDdVzkv0=; b=ITlAqPYktjim7wchQ7Eo3RKWh+lbU6/gcZ0L7W6IWrth5aG2bPRznKbq7wWvZxtleu zw62OGV1v8ejsVtq34sfwcnF2bVHgpXJrkbIshrSb8ofONiRQWgqMOPQzrWH9XkST+2Y nKDbt6op5iIXk/QPG50VMVbwnG5IRMegiuz4BtYd9YE/K75bW5EP5qvMMVEs3dHxrwm1 NYHqf6FJZQA1TvdkEe/zMZKn4KDAIMfG7RKxD0RajbvNBLnomJNxq3mfBv0qm5RfEMst w2/BiCnjeyyjSW13e1gAC/oMhwOF0XeSoJ8U1nEVblm1fyXc/FpYCIdCZbASpJwXhyhy rGbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b="7/ds7V0h"; 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 b2-20020aa7c902000000b004fe96b95bbbsi29758995edt.570.2023.03.28.12.37.56; Tue, 28 Mar 2023 12:38:34 -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="7/ds7V0h"; 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 S229729AbjC1ThC (ORCPT + 99 others); Tue, 28 Mar 2023 15:37:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjC1Tgu (ORCPT ); Tue, 28 Mar 2023 15:36:50 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAA313AAD for ; Tue, 28 Mar 2023 12:36:47 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l15-20020a05600c4f0f00b003ef6d684102so4809935wmq.3 for ; Tue, 28 Mar 2023 12:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1680032206; 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=tXyJ56MXTgaGuaRJ30aQZ32hSfK274M12CnrDdVzkv0=; b=7/ds7V0h2S7otrMbbA+WRdoPc9dImUqHRtmje+FNFsl9xyx9EEbO7F6HDPQCIW8WwV JbmVJQ8SdGzxzuQbXVQcBJK3BW9aV2zP6ujODZez8NY/9GloaYqmSXhF2r4dptAO9KgS sNXxr3lOn+gzuQUffD4qmT8I1IcpJGUsKu0Tqu/TacoI2TRS4pE3jPViB3eozKjC8C1W yQ5jworz1MIfE+ckBqhkXMr4Ab9vymTkBVXnmPpqWilyKMIkNe/XC/Z+QI88ghg1qrLN jmgGYn89SgZ6YEFa7w3E99kyzWWonxDnNn3Z5aUppiWgm5sIP+kyYbWp1wsgIDoVuomQ nIWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680032206; 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=tXyJ56MXTgaGuaRJ30aQZ32hSfK274M12CnrDdVzkv0=; b=ohepSErshXLwWLxAYBfKsz02my2y2cR4S+LLgw3dr7e1xNKYaEuoPE6y/LiBRWPeSQ gx7i3nqTNcVp17IVUHNhsUbKf2DicO8UBQPfjLf/T1H51e/FlXZI1+KBj/+Zq0DW+YM2 wKXx1mgmgZYlkHSPw5Y4C/ZDNN1FO/kPwbzLdImB6lFXyM/W3hmT7QsrOnIBBcyBJC+R 7FoDoiH+RvlO90uGD8mFB+jbltfrY6kZbbikGNDimg4MyekQS5UGnxUPqpZspq+rSDUk r1yk7GX41P9NOxogcZJC1hr6AvUM6whOLMCS6mjGrDtTqDH4KGJX5LudCSTtQY6hM/ci FbcQ== X-Gm-Message-State: AO0yUKVp2vrFqXNo3vUOgrNVR7BLnKRcbDQiDAm5XLAlMnQtmZU9xax5 sATjYNH/rygtQWG6Yfy2mopBPw== X-Received: by 2002:a7b:c04a:0:b0:3ee:6161:7d98 with SMTP id u10-20020a7bc04a000000b003ee61617d98mr13903002wmc.16.1680032206330; Tue, 28 Mar 2023 12:36:46 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7b39:552d:b2f1:d7e8]) by smtp.gmail.com with ESMTPSA id g23-20020a7bc4d7000000b003eb5ce1b734sm18060544wmk.7.2023.03.28.12.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 12:36:45 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Bartosz Golaszewski Subject: [PATCH 5/7] arm64: dts: qcom: sa8775p: add the pcie smmu node Date: Tue, 28 Mar 2023 21:36:30 +0200 Message-Id: <20230328193632.226095-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230328193632.226095-1-brgl@bgdev.pl> References: <20230328193632.226095-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 --- 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