Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2133075rdb; Tue, 20 Feb 2024 19:44:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVEM2bYuBQfF/rG1uvgdLI2BcDndfUL++V2tJ0mGcwMIYhvY7h0owcArCHX853Yf4a3+hDk5fWGLw9a+n1Op+3LHtI/hbyP/896D0YLzA== X-Google-Smtp-Source: AGHT+IEx4PYHObyl5OtLLJGqvG1DKftZju+SMsVe9IDWfb9Pz2KJ/FyIBa1icxt1qyTONHnM9Zj6 X-Received: by 2002:a05:6402:28c7:b0:564:754c:45bc with SMTP id ef7-20020a05640228c700b00564754c45bcmr7739148edb.18.1708487079354; Tue, 20 Feb 2024 19:44:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487079; cv=pass; d=google.com; s=arc-20160816; b=LYVz3tGccZ0TltFZyJMjePJXs5oR6tbIyvYCsJFEK/l2ZQmLXJGxYHHIUTdRHxF+m3 TpUP8Nv4lMkjJr+HCpXXOzJjPx+2wcnz1GxPA0lsAEtSln7xwRXXQ1MP2fNm8XxZ+v7/ judXrs3dSDt4aju65f3pj86H46isqu3F2hD+gu8v6NOQT92k4xBpdf/3Xzpc9njvnNlO i+l38NNxH6ZO+IoqD56W8+1Yo8Qh4zE/txlFMogysQs3sRm5A058fxsJC1feKzY/pQ8f /N7NJULK4/mBiCh+6CaXWknr9o/UUqg03EL0wAA4qE1DuCVXOW1FYEZ8VVp/Z0RI8DBP LcRQ== 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=DC+RBD8xa7z5+jHNAaczlNmwqvhjSg3R2s5n3RctooI=; fh=XL1rN0/o3TjPWGil37h9XpyJuceN6y4hAI4Tw/OFeeo=; b=osuJLSGXG+ruNzUy2Xd7XIiSUJesWxmMmTrRuxfM4ogeWKQjxEAA7uHzabukOPG2uS 7iCRyS4cj0RLzTWLDoBlJjmM3iYUl2p+qg0wKJqfyCrXmNHc654PqSuDmg+FEqGQRAO/ BzaJihfaod1nxD6DRrl8MX9SO5G72tS404W2Wx7yuLrNEC4JSGpJArxpvG0nNmMVF9nr 6s/JBBBkF9JyQhi8UlUJiCLyr82ilGu/7tqF02JqGGeKxfMxPQPV4LjyHhkT6WjjXAp+ cBu2+J+FbNqVgF6FTMmuT+ZZ+A9dE2GHRdnxd/uz25B19lImDynJqEaL+6MIwHfO68Db 4/AQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LThdpo/0"; 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-74016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74016-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u13-20020a50c04d000000b0056435bc75f9si3347212edd.467.2024.02.20.19.44.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:44:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LThdpo/0"; 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-74016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74016-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 20F171F236B4 for ; Wed, 21 Feb 2024 03:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3ED93B793; Wed, 21 Feb 2024 03:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LThdpo/0" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 04EF23B193 for ; Wed, 21 Feb 2024 03:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486941; cv=none; b=bni1lh3kWzivPfgEZMgNt2obwI+z0L5zuxTHAaK9DjZqzvEZ9t+1VdOXDTSrMdOO3JS5sMIgkM2iikmd0MQqtsEISs5XnUo7U/ggB3xvbrbbynoK4pJxvD7zPGJAYOp1tKDSMwa3GdFtes26A5/M47w3K53bCB4+aZs/UP/eTy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486941; c=relaxed/simple; bh=6OdqvnqpDIHcssx6HxD8cVyF7xhLIDSsl6jVQmAddoI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LWQhMbyFtL1FjctX5fB1RVhya2WQCmK9+/tZ0vzGTabehD4OdIk18Of9P/yGP1KgyNp95tN11OTRMpmFnBEilnbUAZslisJZY+N2jAkVcIWye18z19nwifuadXhFbBCP6eyUYt8DQ6QC4SI9XEu3Xg8t8ppHK3XAEqST5RbmNsA= 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=LThdpo/0; arc=none smtp.client-ip=209.85.210.178 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-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e484011e28so752423b3a.3 for ; Tue, 20 Feb 2024 19:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486939; x=1709091739; 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=DC+RBD8xa7z5+jHNAaczlNmwqvhjSg3R2s5n3RctooI=; b=LThdpo/0MqTj1tPiQWMd845noICP765O1jdq0ZCZhnkldJvjdyMpn0+vHY7pbXYXaZ 4tUBClDSdj88aWf/8EaRZfnZrl5wOQWIThW64NmsLlgtumb6vVH1Ke5GtuKVSmeYMD2L 78H2sEzBrG0+FZbmBMVOQ/5C2wPfMMTcDM7lTRhTMpeUUIDgPMLNkqVrvm+yQYnSQxiA gqmluaeNmlINCU/z1Nv6BNbeQec/vjPFMr27NU1wjGmRO4AymeeGaiuIziNS7YPHJutK 6bskOTCFpYrcjnSH+Ik4qwRlv1l0SFfLTUP2qXB3nhgsOMzM4i7U4NYWaUXvScoPyohN JYyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486939; x=1709091739; 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=DC+RBD8xa7z5+jHNAaczlNmwqvhjSg3R2s5n3RctooI=; b=msrDOoqrQ3gwTLiSInGloFRva7aJCqvtWBW8LVL7n9rcqYtL2p5IseSlgKdkvkU9ir JrWxi45p1AYxhdp+1GwJigNvASuQ1CTPZpE/MdJFDckSNnagGyPr+4P6Eqp7CRnTbx2T bpG36OlsRO1FAaA6ghXm2gZrQusd2mCGCWmIQHyoBmk0NMG+Kr2XnrhLo4B+eVgpvZIN YYl13ORnBTiHTHF1giDJjZ5aO5w0IzrNtqBgQBC692ho+hX5zS3lMgjW9t1mwxPXHCA/ Pj52sP6iQN5OXMl3LitEN96XMogwFQxJye8J306ie+gLRsjJGe22jVE6qahECTAv/YAx c1VQ== X-Forwarded-Encrypted: i=1; AJvYcCWureBXhmiUjmxCI8a7agT1/2ZOE68re4aS4cCEGBrFfH8Aebivab+jiYsyv9DhUCjspI8/6xSuBSQte6MfScVtspe87MGr8eKFY3v0 X-Gm-Message-State: AOJu0YwbFjymRsx0pwWR7l4tVAJzC3UoygOQt+kQqsmul8UwJWkmb40d qsJ+kR4yiQiL0ECdlGx1Bvk1AqxeoVsEFWoO1AaxINtCb1kIzju/qRq5JpjdBkdiQa21KIru/YE = X-Received: by 2002:a05:6a00:6a09:b0:6e4:8fbe:cb33 with SMTP id hy9-20020a056a006a0900b006e48fbecb33mr305615pfb.29.1708486939057; Tue, 20 Feb 2024 19:42:19 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:18 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:49 +0530 Subject: [PATCH 03/21] arm64: dts: qcom: sm8150: 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-3-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=6OdqvnqpDIHcssx6HxD8cVyF7xhLIDSsl6jVQmAddoI=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEFZAe/t1aSotuopKDU6sQYhZIGV3GKq6Tmj 7VLGBm9mouJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBQAKCRBVnxHm/pHO 9TLYB/4lqxmDMuLB+j6HDWQjpGOBFU2Xy79ijVi9yBtEwqT41Hulx9Q6TAWQzcVAVZGQZl4YPU4 wz9du3QN0nFvLPIjrUyOilzChk4URG9+aEvYt0VXpHX6uLZCB586Fq9+XigjqvVdAS5URuPiGjy hYLecLcic4antYMeZMUxujwK4EjWXhuSFL4Y1MeQHlYCa8PGctbzEzCe3T/5hxfRXKOggK24NEw MFQFhmo78dXD8ii92olMhSKvtp9bCZoGoaPAWFPs2qzOnyAg7Co++KH2zZKzuhAeIgbZOzz9mpx 7eWHkU2EOhhtfUh/I3sC1oyYqc0W8i9g7tVznc9yPM2xtVfT 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/sm8150.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 761a6757dc26..c9c46ccecb69 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1885,6 +1885,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 { @@ -1979,6 +1989,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