Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp376744lqp; Thu, 21 Mar 2024 04:17:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGYTrkx5T0WM9Wr9pFRXxqOkNXfNb9A/9f0hDwYCNJ7M3b+JeYqSYmb1CI5Csuqr0TiW7PKvs5iyTwVY3UGOKkTWG3yoLUE7LhGAWxsQ== X-Google-Smtp-Source: AGHT+IGGd5mS3R5o6VKCUGsDhlPabLMQCDOLRJ2IgdvE5oZeRW75PN1io7bXb2OzDpGsyXO80oeT X-Received: by 2002:a19:ca49:0:b0:513:c771:57f7 with SMTP id h9-20020a19ca49000000b00513c77157f7mr1143771lfj.0.1711019843624; Thu, 21 Mar 2024 04:17:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711019843; cv=pass; d=google.com; s=arc-20160816; b=c1tdFrj0apaiWXwaasTCQo6RvjF9S47gvfzmrNy0HkH+WfvI0Lb/k42CqJFcWUal47 +IrMbngxxyfqMFqbPok2bZzhc1qBwl3gDqU1LNU2L8iyw7/dbmp2bB6syrnwNFpTZcfQ 4WlQ0GTLdSd0C0FtYDdUQc84ezWJqrdw5fiCGiD2Z7f3TIwCSTZmrVHArcPcesPSLmRK 5o6haiN2ez+X7L0B+kF3Nub0qwMm6hVzM2fnbOYusqRFzo4sZUXK1en6+sa86slQYbNw VDBkDCVT9gB2ynA1PX3Fmui1E8YIoOitYNSziycPU/vvMRyFvqz7fokNsYg2ljr60yIj mjNA== 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=dbXW3RaKwYBp6feCRJ6SHji9fzUu9q/UmL+nhOiS4FQ=; fh=KH1I+dn4PH5CFsEc0FON2pHs+qo3eBJiMzCQGKZmLkI=; b=JRa3LwtqRiZzJbu67wGKufPfMB/MNiJwPNPz33zAhWdV6qC9ZHlr6bfGj+fiMWdr/e A3Vk+0quXqrIfLEXS2xR4AP3u/WEuyYrffCoiLnfz7DpIb8mOKJnWSnN5nA9SBGRQpR7 32dl1vr+1HkNqrvKYVnI1xV42kjQ0Ey6/S53YohglbjcnVGSCFncuBCe/h0yxpFplOhr hmarDUsHaU1JVJcHPBPN4hGQ8IemodJ1Hde87jAUVoZjI1zRxdxpgl+q+zxSKxPQ0PvR a5n1eowoQ6QluDHduf0ErUdrCCVqQX1bn3wDXtzzJ9I3iX3P1MY6mkPrr3st4mXhQK2V n48g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZOKV6P1A; 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-109937-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109937-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 c14-20020a05640227ce00b005694e013fa2si4367638ede.636.2024.03.21.04.17.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109937-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=ZOKV6P1A; 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-109937-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109937-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 27AD91F21003 for ; Thu, 21 Mar 2024 11:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0A6B58ADD; Thu, 21 Mar 2024 11:17:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZOKV6P1A" Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (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 768F058AC3 for ; Thu, 21 Mar 2024 11:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019821; cv=none; b=Np00pITvZsIb5TAhVVmnf5ucGtIOi7kEKTN2gqL6mhRjh0ZjHZzUwaAlbRDp4++yAyBiGZ1KvXq2wnv52sSQnihHlZowX4OCyKYe1gdC7Df/UIGLerHaeZzcpKu3GGrnBwylPKAldbxj1YemzAUkDjXIDYjp46NAtxT3GKZh9XY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019821; c=relaxed/simple; bh=BP3xpp0v4tnL/9I1fNzpSMYSMwKKsX1sNJSehWncIwY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AjEK26cgh30ma1WHIqjRC832mR0zO9JIKrpgE6AT0Wa5+b7u+FaK76Er+IkX4AsI9Nmt/GkO6zRedqaQ+kE4EP1i2a2VPmhg2eZQxA2qMCqR8aAR9ATsgL7FkrKzPzur5+Zvm8BZ0W+hUCa5mcQvGaX8KEzuuyy+MkIo2rhelXA= 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=ZOKV6P1A; arc=none smtp.client-ip=209.85.160.47 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-oa1-f47.google.com with SMTP id 586e51a60fabf-229bd1776dcso325625fac.0 for ; Thu, 21 Mar 2024 04:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019818; x=1711624618; 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=dbXW3RaKwYBp6feCRJ6SHji9fzUu9q/UmL+nhOiS4FQ=; b=ZOKV6P1ADFO+w760S3HlmG3fg8+wV8/kUVZoneR8QYGRashxG78KEO07Qll6Se7plX beaXMqZsHMIlvsaOjI5hou8pw07RukyigRgIXXFlsxOVyeVd8LDyraHTdpocSiiz8ntL 94sj6gXMO5Eiluf8TweVv1/HADRLch0aRl7y5fGKoNqyYplFz9BWUJ6Bh2zfkMuK3109 OBoLvY9XD9s+OpWsfolSleobnweo4svTYrC2uBklT3f0XgOty5VxDHCZNLX1oT/Yiu2c kh/yFLX/boqwm60IcodIT5FiHjVENFIrvaG1uW53dYhq/zmr/Z1yrwro3NsP44odK75V t/nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019818; x=1711624618; 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=dbXW3RaKwYBp6feCRJ6SHji9fzUu9q/UmL+nhOiS4FQ=; b=diwoKjBV3mkjB2qs7bKkc8D40y8VLu2ZnVJJp8nr+zocC5Eenv6Z+mfcOEZ4eCH4py 1E70qavrLfI81gKC7Ew4EUt7Ym4OFVIMYTEj3PLp1pu51IqiZZuxhNZjjrNmhzAz4kZe +URYhhBUn5ejWbQoRXqoBUHnMPJC28Kbj4fG/P1DPJkMkvKWyDpklSnZIEbAtgG8cM7l ru0fHzbbcPpVSbUcm9sMyK1H8EemKox9pPpNld1NQ0w4a6z1Y1RnR2UWsxtr9DdBQWGX ZAcxvx2kLckcL4Y2fIjfpmbaP40DyGqPXsIEJU5rTSs5k5We+PCI8DGl36p/dz4je60c abyQ== X-Forwarded-Encrypted: i=1; AJvYcCXwnGLubRJmsdFsdvtunQVc1IKIjP1xiw5AAZQF3hv0FsLHSHCcdYfFmobWP4ZikNux7heaeSad8DRUFlcdkj9KprjoagUknvpbC0mk X-Gm-Message-State: AOJu0Yxd/FShQJF7nov5Y/vkVzFramXVsKzarwh1YPHKSgxmoKhnjrcg a0ZPOHUeqmUbsoRkuTtCUi7mNIvHavQ3znjO54KH2UICXIEJBCrEBzO5UCFMmw== X-Received: by 2002:a05:6870:f728:b0:229:9307:5ae7 with SMTP id ej40-20020a056870f72800b0022993075ae7mr6686086oab.2.1711019818506; Thu, 21 Mar 2024 04:16:58 -0700 (PDT) Received: from [127.0.1.1] ([2409:40f4:102b:a64b:d832:a82a:837c:6d3]) by smtp.gmail.com with ESMTPSA id ka6-20020a056a00938600b006e7324d32bbsm5531120pfb.122.2024.03.21.04.16.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:16:58 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:25 +0530 Subject: [PATCH v2 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: <20240321-pcie-qcom-bridge-dts-v2-5-1eb790c53e43@linaro.org> References: <20240321-pcie-qcom-bridge-dts-v2-0-1eb790c53e43@linaro.org> In-Reply-To: <20240321-pcie-qcom-bridge-dts-v2-0-1eb790c53e43@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Neil Armstrong X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1306; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=BP3xpp0v4tnL/9I1fNzpSMYSMwKKsX1sNJSehWncIwY=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcK+PRb1g48X4N+HBsPz98fCwxJJpV1gchQM N4EuzgM896JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9X7eB/0Q5ajmD9X1C3Z5xChBXdgcY4QYTzjaKHXD8Mww9L3OyaWYeMLGuHnJimU7PsyNAhXUwqi XMvyMdDPOWM2IT2VavorgIH4oRYQPdUt8Cs4LmyTMynXsBxkdzepsltBY4fSndcYWqZYeg+RPIO wuzrxoM6YEYndf+CRDtcaL8xdSDoUCQUJPPeKOgIaPwbTucjLNPizf9EHgFaJA6ek4hYs+QbOz/ Pm7ar/l1DjdHZ1d2tfbYE3bWwYgowOVZLcBXsmxvrlm3WnbijQCpHuCfwamU/uPl3BSpdAtxqIR V3QkibGvMF06jH1RFezsZXo/gW5DZ5yiiFhxXnAA0vHcCuK5 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. Reviewed-by: Neil Armstrong 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 b86be34a912b..b42e44b922de 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -1850,6 +1850,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 { @@ -1971,6 +1981,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