From patchwork Mon Apr 17 12:58:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 675176 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C604C77B72 for ; Mon, 17 Apr 2023 13:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231384AbjDQNDm (ORCPT ); Mon, 17 Apr 2023 09:03:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231332AbjDQNDT (ORCPT ); Mon, 17 Apr 2023 09:03:19 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8192A33A47 for ; Mon, 17 Apr 2023 06:00:13 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id he13so18738675wmb.2 for ; Mon, 17 Apr 2023 06:00:13 -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=lat0m7BnbFfEH9/x/eEVHad8idD1OAjlAHyHRxOakOIbe4I7howjHAmKElAvjJC7qU Fzy1vAfMzPLOR7VrtVqQlLvoLDVa6qQJjCA2lfXit5VHKitmzHB0y6heWTrO69OS3tdQ AzASj4D1HbrhwAgZ2X7KRoaasWWlM6m0DfoSuZftyYwZuZrk9dZPsQk7MR0YJCHjijo+ p2Nvy+vuNGFrkXrXi1PiSkniEt+fxBsm5rD9hS6PfZh+wSTFC/+DJB9RgnhBafytGqHi 14On3f0ISkq7rocZgqLd+nCFgWjgGa/hrfPl4SJ8vd5qJf/v2kS1BxHBFy9i2E6G/hb9 3kqg== X-Gm-Message-State: AAQBX9dQ9HT1SIR4liI2wuaK9bVibvxVOVc+2CK3b2ro54zSfchX4Wqq XqZF1R30OO65bQ/t8/qID3dFGw== X-Google-Smtp-Source: AKy350ZL9HIGqOIu1JUX8VDnsU6FUspP0bqWPR1PZzY8mrZazbEIxlAA42XLH3yhjSonSxOVLCEQ0Q== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 */