Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2133918rdb; Tue, 20 Feb 2024 19:47:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCuDmLJ7oWsBx3pSt6pZCBYVx5w7nHgPu9RChdC6Z8w8b5RFlyjqwUt4dPkALYWOZg0GBYSFAWTslw6TIZLNhHhZEqU0DceN0KH3v2pg== X-Google-Smtp-Source: AGHT+IHn3JnAPiCVfH43UPC2ntm5PCEFPizXXdlEGV0TuiYTXzc+vkKhuSurH238B5nazV4ZjYE5 X-Received: by 2002:a05:620a:1359:b0:787:18cc:722f with SMTP id c25-20020a05620a135900b0078718cc722fmr18985670qkl.32.1708487232993; Tue, 20 Feb 2024 19:47:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487232; cv=pass; d=google.com; s=arc-20160816; b=A7yiLav8NuFMksMaNShWwqwggHuDCSmNcsG/u5lrAuNCBcmwBKOgINYw3JPHg/nB7k YChAPENLR/LVfv++s3n/waSw3ZjQQgxxdP2AeoH5Qpp2PZiFvqEbgj7VPY/RMmPKTqHh 4LhwRzmtEa5mnejk+Ow8LNS7ftQ9lPZkaTbFVBs1Jzah3gkUNXk/NTw7Oihz5HNhZ29P UH8qkJ/RTf/6qqw82D+lpkH9lWrq5UiVYIECYRZpTqlcK+VMhlw78NJ60CVnVet171Ce 4wFrddyhuw/G6Woqb3ZgaQ3LVe8QXjfoW36UwYRobFW3DyI9Bn3rG+uGX7cOmFxtqp27 k/qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=svQuwDqN8Aua2DyNWtz00OJaNcdfBXctx36EJVb/tcc=; fh=jgS/mcy0TPnwBPxJN40i9OFXIj8HZ0lkED1M7Pj/Uuw=; b=zot5SzPSLgSThW8s8WKJc69rfUscMDKyd6XpyCGw/WXJCM6x225RH3f5gHCLTNGjLm Pe560I2rXb8D0puzOFc3pSa+/ScgubzP0m/gx5elkMIi2sfVk9xQjNxRopI5zf+c6EOu mj/rjvwTQFTx9g3Ph0eDOU8EpfCn2m6TzpdyG9tul9Thsfw2Xrn3smXFyI7GPslgZB/S GLujMp0Ne488lO3n7RvS8ztWBM02uLM8YlMvrFpd0eglVZqcIdel5V5vK1UMcuOeq+px cHX85/NLd7RIVvGfzkQl2YRrqf3MSz06CbsepMGAI0gQfOyeffVbheAcvyb286AZ2PKv k/AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U4b1BMas; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c7-20020a05620a0ce700b007874168f246si9970809qkj.532.2024.02.20.19.47.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:47:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U4b1BMas; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BACDF1C21F74 for ; Wed, 21 Feb 2024 03:47:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4C383D57F; Wed, 21 Feb 2024 03:42:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="U4b1BMas" Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 845373D57E for ; Wed, 21 Feb 2024 03:42:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486966; cv=none; b=KHT7SNo33xDmdp6KLApeNVsLAsHunWk4YlMmspce40fJRb9Ww/qO2sq56G1fnhYlrwwY6eTOUB6cbTfYZpdzTrmiXjSNXziP2f3R7BePa/JNA+53KRrlp4Ekf4/y+c7a0scDNx0WC5Kg0yD12A7EO8nj4c4YZZCmcX94QsllTNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486966; c=relaxed/simple; bh=tffzXa3DoKPMppUuLMobDKNhyQ0O38YNG+uD8DziAhI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P4EJquoD6XhTOHMvVJk3WJbslrTXZ0AsbHBzwUjJNOzgoP6GidTzZGX60raZpxxCvhFM+3r0vtnYcAVg29v8fGaFcaf+DdQbiOOkA+mv/h/86xfeNnXCkf8PGsmMZw1P7eV6x/Zz8wA5x/Vymr/xbuWwdwd+342KBvWU1q22hRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=U4b1BMas; arc=none smtp.client-ip=209.85.167.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-3c0485fc8b8so4994067b6e.3 for ; Tue, 20 Feb 2024 19:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486963; x=1709091763; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=svQuwDqN8Aua2DyNWtz00OJaNcdfBXctx36EJVb/tcc=; b=U4b1BMashPY4WT2DowJFtxTiccNDDckGF4cqHAmqPJA95TVNI/x1seV1p0iHPXcjZL XhU92fB0O5SH6GYECldsVv3s6ziowBHqoW+K+BjgwoCE+jlli6SbxsiFes7wPigzJP2d JUsNcWC2EejKxc6wP+SHkf39zoEUWklz8Jsda2pwfM40yceJdGiqgsGD37dxcejLVIqS KrDjYES8vHJ7XqTth3BPfqehMyxSCpD4/ND77VobDsAZk0XJ0UD+sfwLjUqVDeUBchxJ yWTTLVUpKwYWkNypkycOkZxmXA39EB7DkTvGaLrU2UpkKBjz0RYTce0hdz0nM+BITS8O DduQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486963; x=1709091763; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=svQuwDqN8Aua2DyNWtz00OJaNcdfBXctx36EJVb/tcc=; b=vzrJ4o706lXUzSy/Hbs9UXpXBVqkswvQq7sPUXMOpkFDYdKXfYlq/O+sXkX5GuirnD rni813EiHdiYdVQTMrCUouP87YCtCr4KE+LB2W8lNK34ZmQzRNrJuh3GfzmQazSFMKJT yEGb26XHL49kx/uN1ysaAYrYhNObG3XBALG8LpItU4KFfP9kTJwre5XTQ8SGECnd5u72 LKWNo79gSdlYx1OTmMkbC5d0K0MWJgIIYbnc9ikMWkCPicGTr+rODeKGQaW2Us8IdjEp OBTeuJTgm8D8cNdWyhPZsL5m+DfwzCpvUnP0O1rQIWjlIONM3WOghONFPgK2D1fVEO0s kPHA== X-Forwarded-Encrypted: i=1; AJvYcCUoHQxLCVsMqkpM00OSUYdckAtfW6O/dA8mqOTCg7HodhPiUum+BrVMdut3wEnaICsh5MUjzONuGnyJ9nsm9Zk3uRgIHxMMgHFp3+YM X-Gm-Message-State: AOJu0YzgyOMODjbY0T6edaU1ko4kgCWLo/p2TF5PNWPmqdKaXHaS1zaf Tj9gHwadw2GjRLls0eNceCzid6SV+uybxE7GwaYtoml6TupemE8OVXu+Aw2s3RFeQROiPzjS//M = X-Received: by 2002:a05:6808:b0b:b0:3c0:2bf5:7c11 with SMTP id s11-20020a0568080b0b00b003c02bf57c11mr17768558oij.17.1708486963568; Tue, 20 Feb 2024 19:42:43 -0800 (PST) Received: from [127.0.1.1] ([117.207.28.224]) by smtp.gmail.com with ESMTPSA id o23-20020a056a001b5700b006e466369645sm4436231pfv.132.2024.02.20.19.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:43 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:56 +0530 Subject: [PATCH 10/21] arm64: dts: qcom: msm8998: Add PCIe bridge node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240221-pcie-qcom-bridge-dts-v1-10-6c6df0f9450d@linaro.org> References: <20240221-pcie-qcom-bridge-dts-v1-0-6c6df0f9450d@linaro.org> In-Reply-To: <20240221-pcie-qcom-bridge-dts-v1-0-6c6df0f9450d@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=963; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=tffzXa3DoKPMppUuLMobDKNhyQ0O38YNG+uD8DziAhI=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEHGC3zOV6q68tBY8dcZcSTIBlW5Uooj368m 42fH9zvfHCJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBwAKCRBVnxHm/pHO 9TCkB/oClG2z3p2G6fQV0sxntYgVm/ZxjfXOZYjAwzvhJpOnC2keT50NyO2Yrc0VSHgwRO+7tHD gdCbmOnB7KVevv2JuWKGC8OY3iLPKHfh8OISq8WKSpts/pr8+7QPprZBUmMUzamoPscjTgLA3BR 19F41BF3YtFib0Y4e5GG/SqorNDqDA2N/58Gi1VGnU6xsRt32PTdfhTgfJzQEB8hIeDgE0As6Z3 /QtdgK25EDUN6XvLVdLtgO78y26yMYY91W6rUMu9XE+H1Sj8YIxyBQptsEovFNV71k9FV090TyN YKX5XT2/dANqBwc2SbwJF+u9knWE83ccQzXNBvlvPtWsAOk2 X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 On Qcom SoCs, the PCIe host bridge is connected to a single PCIe bridge for each controller instance. Hence, add a node to represent the bridge. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 2793cc22d381..5d85757628d0 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -972,6 +972,16 @@ pcie0: pcie@1c00000 { power-domains = <&gcc PCIE_0_GDSC>; iommu-map = <0x100 &anoc1_smmu 0x1480 1>; perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie_phy: phy@1c06000 { -- 2.25.1