Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3954770rwe; Mon, 17 Apr 2023 06:08:25 -0700 (PDT) X-Google-Smtp-Source: AKy350YfVbFHJauYscjDRIbaC4z5HZf2+CzV0RyuTn0ZlNKSyWQYvtX/wLU2qNOr2RE6q+id16WL X-Received: by 2002:a17:902:f68e:b0:1a6:8f8c:fa1a with SMTP id l14-20020a170902f68e00b001a68f8cfa1amr14615377plg.16.1681736905230; Mon, 17 Apr 2023 06:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681736905; cv=none; d=google.com; s=arc-20160816; b=FmASk5UXW8f+4cxIugCLFXb7nqX9gbcl3uYBnDCYsJD6hEDqvObYpPzZU8II1BpB7T x02uhKKG/iGMnf0y7BRMPDOXWVT9G/J7JeBgBSsTOSV1DZRIyUtaZ6C7zeFBXgBl8o4O +DRVRsshf6Te4L0Aad4E+djOyrhy3yi9BD5YysH/JvYkgHhPP2s0et9IM97nVNfVuACg QEXBbqAvFjjbnLQSQogfG37osZpZP0M+343fCmE8iqBEGK5mVDrDZNFy1BKs/eZ36qCn kuluD4qKgEnK4y89q2nx2WsA/6NbVzGf1866C0S23zlfhzUPC2Yj5YfJYBzqFRfjSG+o KZSA== 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=TuLAeQGEV5K3iInBKoewzkhME+2oUBqCQOoUHj0zOJc=; b=wq+LD7M2G1KXJYbehJEc4yJimF2cM903nAevY5ouebV4OU/RQsgYNNApCjSMBt/vc7 OCxK+OtRPBPkJK9smwfxPNrRozBJwZzIWr0/bHCCh8aLJ3YBnUDeLrpZGICdooCOLw5a D1SYGXz7jQ8NS7koY08y3KlsDL73kEtD4csQXcKFb58pJMPquhp7U4ALbh9gAlzoHHO2 5tbQc34J/45YR+BUf2/7UNAwU8CPT64BeNjpYkytrnWIrvjLbkxXINreX5uhKM5oFAJx NHzU0sd3h1gkYfQRdvvvnEL7RjxCxz5c1sk64tuRl0eYvJyzx/Dl7jnEFaV4UugmG9jb DmLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=LAVoC3fr; 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 c1-20020a170902b68100b001a4edba687dsi6477974pls.287.2023.04.17.06.08.13; Mon, 17 Apr 2023 06:08:25 -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.20221208.gappssmtp.com header.s=20221208 header.b=LAVoC3fr; 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 S230463AbjDQNHd (ORCPT + 99 others); Mon, 17 Apr 2023 09:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbjDQNHT (ORCPT ); Mon, 17 Apr 2023 09:07:19 -0400 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 358BC1258E for ; Mon, 17 Apr 2023 06:05:01 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id q5so13719679wmo.4 for ; Mon, 17 Apr 2023 06:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681736330; x=1684328330; 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=TuLAeQGEV5K3iInBKoewzkhME+2oUBqCQOoUHj0zOJc=; b=LAVoC3frABUcIcM4W8TfysD0QNkmleresWKOgg+OW+Kk6OzVWC0LR1K/h6hvapY6zo eLwfMeGyxAcsb9R5afGScEThjei0WywdwpXvZK+Uk+pXmE1OUIwIgZowCSMyNtj6N/oK w9S+zqStL7+SbeJCqQh0MuN/DY8qL+nzqxZUwHMcvmymT7O7TMsWPMhBjUXRiyrtNz3e M8BwsSfcIaXBCrvnqCxwMUUBQlIuLX6YSV7UOwXTfAQLKP8xsplJ6C0bMRUfWxgNts1z eHkxWZxRr+KCahQkfv7eP188x8/aBDIw3hk40gSQJLBwPiP9lcWUHh7yGgvoyG3AVUqN uBrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681736330; x=1684328330; 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=TuLAeQGEV5K3iInBKoewzkhME+2oUBqCQOoUHj0zOJc=; b=X8mUDBp+20oUE2PnI6zP11pAPrxqBLNlH2FUKBF3IGXrEv1G4fltgWYvGgM1wuH7XX rOuQXfWOoCQOA6iMd2GOx+1CBpVDpRYOM3mDwcD49P7/8Pq2QnDOchNd/uZpiVdJWJ9s umM5hyFVrMH2L38I8OsSIPl6j6j8NxwXOfKp/7YFjzZgrZYY2WO+Z5jGuVIJ34xBSNk4 L0el0itsu5FUavThv3NgaEeYYtBJtOQXX+KjCh+NQ28Kp9M078ISxwruYs2ZrT7Cnu4B SsrVkvYbHXGiQndlxX/4xuBqrrv+48I9LVvJ+mseB4XSRZpk4ED3DBDXWZHWu8MFlIJb gJjQ== X-Gm-Message-State: AAQBX9c5eigeW80lQjvjgpryaj7q3fK+sv5afYPilNS23DaPIkpULuNS HBGtJyPC5DYSuShnNv26n4IBEw== X-Received: by 2002:a7b:ce89:0:b0:3f0:68ce:5465 with SMTP id q9-20020a7bce89000000b003f068ce5465mr10997468wmj.7.1681736330339; Mon, 17 Apr 2023 05:58:50 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:374a:ffae:fd26:4893]) by smtp.gmail.com with ESMTPSA id v21-20020a05600c471500b003ef5bb63f13sm15557546wmo.10.2023.04.17.05.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 05:58:49 -0700 (PDT) From: Bartosz Golaszewski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Arnd Bergmann Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: [PATCH v4 2/5] arm64: dts: qcom: sa8775p: add the pcie smmu node Date: Mon, 17 Apr 2023 14:58:41 +0200 Message-Id: <20230417125844.400782-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230417125844.400782-1-brgl@bgdev.pl> References: <20230417125844.400782-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,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..a23175352a20 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 0x80000>; + #iommu-cells = <2>; + #global-interrupts = <2>; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ -- 2.37.2