Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2134379rdb; Tue, 20 Feb 2024 19:48:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVhdSOdDSuutgJwszgukq9zclGlmtL1GEFsbMSbePGdDjj+b4uDyoriKy7nPY6r3DxX0IY1YB3NJx056lN0Ad/gaBCc0zQBW2onmQ5xHQ== X-Google-Smtp-Source: AGHT+IH2CSFddjBv5eLio1d3V5wppVRvOEWOZ/dWoy3CBycl1eq2EheqCfgR1xjs378b+tKwZZ5h X-Received: by 2002:a05:6808:1882:b0:3c1:5557:5615 with SMTP id bi2-20020a056808188200b003c155575615mr9815921oib.47.1708487332046; Tue, 20 Feb 2024 19:48:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487332; cv=pass; d=google.com; s=arc-20160816; b=mMMC59qxY4/IfnREJPQjTrEvcNfiIJSdMrkRbWu1PVrm3iAWbvaGysz9hqk/3rG99r XEojAMquXsB8943e3MNgA715dA6Xv+jUXvCTfXUb4XnljDUba9dRzTYkH7yElGwtvLSf ulsmnYEhNJzELegYkVIq+HGZDoq3hkiyEL+T5+S5V7Xpl4yGQJEpZX7K7f2b/y4OSBPL b3u3tOJsrpWbsim/uDY24hlcbrTik0sTZLrZRMi5CQ5dqLQrKjzCTqo9OAjZIxNgr39/ glOe206jxWFRBtIWvONne9IkzLxjjvnWtSyUzRKlFi8RShI/yQUmBm+bTrEKJduZU7+7 Dr+Q== 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=FrGKuE+bhJNEU+TKQDK5plQ/6DBMhZ9pqdA/ZZ9D63M=; fh=SwgxeP7gIWDSSMC9T8wQjaknNMtsIVWmGC3YI8y24rU=; b=VPDMmHyy0rv7mBCKi97E/OUfaXOdYE3vb94KQ5xt57Z/pv+485W65rKTCeuGnLsvNR 9Egk/TdBgS/ecSQ78emMHUF8n34H9K3FoWOpeNGRzBklAddnB+YxvC4AIkj1KUFdPPSA w9O7n3wokAFUPKSRzyPpvcuGUQfObL6y0LtIKK0XMAn/BVNKuFbU+jM08vTZqyg4+rhw ZFAk5PXfONUyeI6C/y1DzzmhTXo1ziDUcDCJ0A6jlOo8DsgRzLLqlvf0rGstzIYN2NjX OlJJYDNvhUZcH+7WgX0w7TFPChPI853YYbrJ78MbbEgFo+ziTt/ZvRyvKp7ZeLpPNGaH proQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YMe7Npzt; 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-74020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f7-20020a170902684700b001db5ee597f0si7106368pln.305.2024.02.20.19.48.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:48:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YMe7Npzt; 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-74020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74020-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E3A11B2437B for ; Wed, 21 Feb 2024 03:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71ECD3CF43; Wed, 21 Feb 2024 03:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YMe7Npzt" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 111CB3BB24 for ; Wed, 21 Feb 2024 03:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486948; cv=none; b=LCK+rdK0Zi+L5tU6COLH3NodzLkNNBWWcOrDydfkF8Uz2U7ZNdCv4FywUU+pLKT4YUW60dJfsNA1M1QmnqJTpU7ySbgq2XGv0IRS5joxScGDVkFkPV6bg8jfOqcWiH2+kALX7Tyk4lL1mZjyNUsPI/FKJ1QwBa32RGURrQM9DnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486948; c=relaxed/simple; bh=wMGBDo8PfZNtRjeSzpd4083aE4V7NiguAVNg298g23E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f/DVwKYaPPPKU0qOLXh2DEt0TQweCrkikRbAwAsnZW/duhPrsSJEXVezr+TcQLdeOtxQv20xB9T5RjVEUbMpw/9sRhXn6924FqaZRVXjz5jBVJpvKr2w3/Wg5YGfaiwLgnDUb2Zfol8bmVqmNZioxh1uCMilrMKatRrKBtpl0JU= 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=YMe7Npzt; arc=none smtp.client-ip=209.85.219.181 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-yb1-f181.google.com with SMTP id 3f1490d57ef6-dc6d9a8815fso6079111276.3 for ; Tue, 20 Feb 2024 19:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486946; x=1709091746; 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=FrGKuE+bhJNEU+TKQDK5plQ/6DBMhZ9pqdA/ZZ9D63M=; b=YMe7Npzt1FmGLuT+zgFH8lP0uwkvnmrJlf10OGpqboCToBSAw9g/3SFoq8rrPB2U9r Y+6goriW8MHZn9PlZVp0BzdUBlvX8BcGCI8Ry8sd+da9onbVG7wChox8+ROuZ7Qvj0aN LksDkodEc/diJ5+e8gsAJQ5yDFhmmzdbYXxCTbNdOpUwaWOi+v6sRM2K1h4QN+So+h88 tfXkV5Zb3l0igyK2ho4ts9ofGhr5vU9TVC9NrfwxiF1l4X9UWqRWbCqUIZ3t/IsI1pMT F5281fBst5KiBkXExGiZ60mH5gSlcCkK2RTSBq2K/yrLVaCG3NQ9T4deZs0QSHCQsTDH SQdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486946; x=1709091746; 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=FrGKuE+bhJNEU+TKQDK5plQ/6DBMhZ9pqdA/ZZ9D63M=; b=iIZIcRLt+6dYlfV5XxYk0//ZIGERXONOXKMB7L+LggC21MCjGDRN5OnHHMGEe4EeMi 71f0qiiN+CqywC39lQly4hP9o+uNb4M/SEfm9tVFJ6mOcch1euFl7w37pScXTvibwPCS z9Bt5IUB871aZP/ca1fcHW27V3cTk5zhRri57tANi+OBP7yiCCp7h3bgRAmDsZ9vh+Co FafUo1Tnx9xFLkWPc5l/mFcUqx5MVnYgYKQgeO1FK6Fhbd7Jt+BJLVIx9ToVXKbka3/x kO6HA1FpW3nR9hCTJYFJNYlo527Pa0rllutj2ZpqSrCWXb6XpzZx7w8KFY7CY5Yl5dKU VrfA== X-Forwarded-Encrypted: i=1; AJvYcCW/qgG9nL3DKJcNFMpbxWncy/04niaj7tOqFxm0uGI4rGgC0lz2+PwM0BmROVK/zxwwTiz5OnmC6hpjxg6EVgl+CNbF/+YUjincZRXl X-Gm-Message-State: AOJu0Yxo59pV/tTnc+SZZjpR6M4Tz3dJ2wHrBVh5PKc2UhZ6rPLVoC+V nzY5VsAJ2pWNlOHSmNEcm9YrNRGtfU+4QxeAvrWycM+YnvofIdT3vepwQ6ETXS+VT26WKMdqddw = X-Received: by 2002:a25:c50b:0:b0:dcc:5a73:1cad with SMTP id v11-20020a25c50b000000b00dcc5a731cadmr15672193ybe.42.1708486945779; Tue, 20 Feb 2024 19:42:25 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:25 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:51 +0530 Subject: [PATCH 05/21] arm64: dts: qcom: sm8450: 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-5-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=1249; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=wMGBDo8PfZNtRjeSzpd4083aE4V7NiguAVNg298g23E=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEGPFkJEG2R9ixKQaN7nKfcNZLT7FLZdrDd6 HuoPkAS7DGJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBgAKCRBVnxHm/pHO 9Z17B/43E3+z6dq5RkjNMdjw/9k5gftRx7SBxgj9e3HiDqAqDtW3QFTVjYv5Qdi5U3HL083zD5C xJkOLw32bWrVdwiQB67tqljUNfGTUZUAyRN6D4YL4iyZKr3WSegnmwwZF82nCYoSEcey5AYoZO0 nRrhDxm+SvJOe77ZGesTk1RaGyL/87gBjhKSDC5ZGSCE1GX3Sp+ZrWiPD6j9dmnVwLcdi4Hm+91 Yeb6EtmgeaHTcCFDazT0jutoNHNVDpi3xmcfEaYDsdkbnq7OdMg34BIN7/slsjIklULkgcI4vw4 bUAjCSKrXPD3uDAfyY6OzDU3McXZGWA//4OhdosQO/1PKF61 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/sm8450.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 01e4dfc4babd..e874cc4f8e6f 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -1824,6 +1824,16 @@ pcie0: pcie@1c00000 { pinctrl-0 = <&pcie0_default_state>; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie0_phy: phy@1c06000 { @@ -1931,6 +1941,16 @@ pcie1: pcie@1c08000 { pinctrl-0 = <&pcie1_default_state>; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie1_phy: phy@1c0e000 { -- 2.25.1