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: 674780 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 248A5C77B70 for ; Mon, 17 Apr 2023 13:04:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231375AbjDQNEA (ORCPT ); Mon, 17 Apr 2023 09:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjDQNDm (ORCPT ); Mon, 17 Apr 2023 09:03:42 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6AB11BB5 for ; Mon, 17 Apr 2023 06:00:42 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id v10so7109311wmn.5 for ; Mon, 17 Apr 2023 06:00:42 -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=cWoEHQk2yWJFowkEJXRWYH6IZBCSDKL05cbzNuDdl1HBFe6kyp4H5Xfs1ftQuoSUnw ANDSf57n6uYQlspUiU5Ny/TDjpsesh45wjPkSIHrzbZLC5XJ+F/F0lC68HqNZ+Wx4TcD 0taRP4cTJo9OjXXEYlravGyFlpKsLEown5wvi7Hkq+F4BFyb3SBX7HdeM8SqAO0tCtd5 xbIYRGTK0V73yLJFZ7/FTr+oR8sSrofqirgQelaXtSlSXV9T7Vm25kWoV+N+fBQoM6gz eENjCPCwTh2t9/BIT2kHiuYXnZNysJpJPiS+6iTTzI05h3FG/VuSnDtL39H+wUNvDag/ Ihyw== X-Gm-Message-State: AAQBX9fVMEZPZGC1dDqTZZszqLscpepYeghIYs7MyK8jh5ZZqAg//qyZ H4PTZQIwsdrU+bQ+lJCeIJ/khg== 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: devicetree@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 */