Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2133830rdb; Tue, 20 Feb 2024 19:46:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdWQcRcREYMiAh3MOsIcLfdGGtpNSxZbYT5V7HXMRL5+4Sotam4OsoJSq3E3ElbsSgldumd49dvpOS1fRMrF83VoTN4OIFY9nhWOZyRw== X-Google-Smtp-Source: AGHT+IE9/5qXZt4SqwqYHSLwItoipwZ1H2zqJ9j9MWMLnmonDDVObwXAZCv5os1oHyEAtz9b7VC7 X-Received: by 2002:a17:906:1cc2:b0:a3e:4d4c:d120 with SMTP id i2-20020a1709061cc200b00a3e4d4cd120mr8618036ejh.12.1708487219331; Tue, 20 Feb 2024 19:46:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487219; cv=pass; d=google.com; s=arc-20160816; b=ED4CVVJaeStaL/kaKALI3AWOunMLx5taVmeFob0TkyD/338udwfMNy+eiQ142Wj90n DNwnW8IyVJQk9R3+HaTmu2BQliyV3IdbTN6ImOOMZr2zeknG1kKCYEeFcJPyl3q7IzHP ehcNiFUMMQxHpyjLAaYjiY0X7z4K5PZMorztXyFzfUMbQNxyAJcek4n9fzS8vM3nyQJA AngnDTp/s5BrDDZ6aCxAKJ58hpPv6KrUl7Hj9+d3pvu8syc9KaStG9PRoKWh2Gzyp0zt AnkjqqB3h8llY7CPod3WCoBcZ5t9cwuyy5/RzrcobWx8/TI3EppnynWQloX0YInK1kyZ OEOQ== 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=wT5zJKfe3mJSIBcjj+mcWeIeOdoNipqlSFuaNJP81Ro=; fh=LunobG+6/UVAWxldvjHmKzPG6EHjXx1UsdBLkqWIrLc=; b=ILffOIxjAobC99Izt7j2MbAy/4foJsoJUuKgxFuhAUFVjDh0lvPXfn9ri+Fd9kQt6D Kl/aZZw+w/vKpEYRnwyVlSE7ZL5kdaUHI6Uecye/w0I+gDoeiP+XWmM423ke+l5n2muD svDt6L09Ndz2WIuct/r5tLcCWNoFitW+t439KPtBnqrS9Q9NaOS9hJN7HnCK8LUN4DUi I1rV23TI/IyzLfZVKnZaNbJn1AYmKbUk/XlNXn8TAZC7v5E9B8/LJ7NlSVOS/AoBdj9m lpavAf0y5VTIINTGXn+3GA8Tbk8vO5I2YFWqBOZaz6PQfuHgxyiyGD2tKUOrVyfV6QdZ y3DQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X8S00cOu; 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-74022-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74022-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. [147.75.80.249]) by mx.google.com with ESMTPS id ci13-20020a170906c34d00b00a3f45da58cesi75469ejb.110.2024.02.20.19.46.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:46:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74022-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X8S00cOu; 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-74022-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74022-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 137071F2153D for ; Wed, 21 Feb 2024 03:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DE203D0D5; Wed, 21 Feb 2024 03:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X8S00cOu" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (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 B28323D0B5 for ; Wed, 21 Feb 2024 03:42:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486958; cv=none; b=GZIVCkSBqJKfWQVRs9u44zhnYic4o1djctONyZNu1VCKEBZqnO1uRDZGGZCPGhr7MERTnECNAzDbmrTAbPgZ6pHOVMc67c/RL+oRDtM7wPdgbyT/wAWng2sEkKmXeaVL1BGY8vfvQ4mBA34aRm00jGJSpQTMK9IhmtiunMcGXrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486958; c=relaxed/simple; bh=vlmqbgnc2zE6uRbXQ5io0O4A+An2Hq2nnGjL7KwYPjw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QGYlHnyZSjc1d8RlONh4/Bgwoh6xUE3dUyFtM21LON1InlWZ/Hi6YMJWKHjTTjuRW1D3Cz845ViWJtCLF10bMPa2KO0H4OlLrb+bXvQ9E/oGQGNbvQ6rVs0ZY3R8eM4M8VBARAdnWn93a54WE6JwR2+nlO7+sOYCp7YpJMP4b3E= 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=X8S00cOu; arc=none smtp.client-ip=209.85.210.170 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-f170.google.com with SMTP id d2e1a72fcca58-6e484011e28so752500b3a.3 for ; Tue, 20 Feb 2024 19:42:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486956; x=1709091756; 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=wT5zJKfe3mJSIBcjj+mcWeIeOdoNipqlSFuaNJP81Ro=; b=X8S00cOusS5jATk3guRg7LRsReBLOFuEh8w+RW0Zmb348xhRhIqyjNX0hzJKtphKBg dr5Nxcl30r4cx4sFirM7RItmW2ipFbqH7hXE19wiEZEU3YD7aQQyqkPoyUVdozJvy5Z5 0FoDTGww6tCbeJpc+WYK7BAuChV4iRAG3plP6zUQN4v+XRc4aAf1MkRTlGMnbJSjsziu EedyZvEYviicqBpvdh6SII0pQXnGWosQQFv/7IOMT1g0drL7+QOlPSZkKlX5RNd11SHJ WCELqN9pe0MopENCb7ZvDCTZUwkENw8wHWe0OhOh4ftDjblBwk+EGHodbifFVyRubv5D 7CzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486956; x=1709091756; 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=wT5zJKfe3mJSIBcjj+mcWeIeOdoNipqlSFuaNJP81Ro=; b=lb0cHV8w/1Ad6C5/QUGvGB/buyeVhW4QF6J4MDvoCOO+UJBA/PVbkr+VulKjfD+7Ia ZnNmtFL01BgCoqUNhboIrfuM+nMY6lMMEiegzAdGLYeWDi3mWe2AEgcJE3h5LLzZV+6n dIobC1PnWD78w+aOg34mkr5gfHieNr5jKBFrzPICH6YDDYipBiXXIv498L52XqUhlAYX 2YCEaCxM3/NYSDHCV55WNuJ1jm7zQw2UGv9RDXYL1iw365mC/FMgMokYTNHYU47DdSVh 3PttJ4uSMxKrAmrDQLw2+z5vkP8j072VmTXzE504oKAxF9RgswetWF+sJu+K7PIIfe75 u/LA== X-Forwarded-Encrypted: i=1; AJvYcCVR6LDCckl81jWmXHkHzSncfecGT1G4g+YpJEcUK4xUH3T0DD2uu1q/U5HeC5C96vqdjEy660dyez3j2oIfMN+QJbyy3Mwv9WRqZ4ur X-Gm-Message-State: AOJu0YzewfXybnPHTdGY23Q4u8HWvxsMB984oBZ4qOYeMw1pZ0A40Y87 YbP63pKC0rIWUHkPqaibi5JdDj4e5c3uRRLfZX7/8qSYQ15ONCprnRNEMLK6C6pqqrfmBnJUJu4 = X-Received: by 2002:a05:6a00:4f92:b0:6e0:6c89:e308 with SMTP id ld18-20020a056a004f9200b006e06c89e308mr7579623pfb.3.1708486955880; Tue, 20 Feb 2024 19:42:35 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:35 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:54 +0530 Subject: [PATCH 08/21] arm64: dts: qcom: sa8775p: 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-8-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=1204; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=vlmqbgnc2zE6uRbXQ5io0O4A+An2Hq2nnGjL7KwYPjw=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEGfNb2dYai0ReHxSZcuQoXXDUQKnXKg8McO thFk7Ih2/6JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxBgAKCRBVnxHm/pHO 9ZMhB/9zerMzSx5fPfv5g6wel9iiAjiESnN6iQj/RwJaLAL6RBXsgdSr1aPuuVrewus1+sE8gNI R8nhp35vemjWeGa1PXORJbDOpLkNpg62twtc6aNbkQ6ZPXqOjvGLhXDz+Qhsm61PbbJ7FYThFgM cTafYnUWkTnNFZ9uIVj9YPpSHgT9/28FNmiRjqzLG9DT+tg0BV8kwZq+Ci289uH52ErNj1OxKUz I07Zgs9bl1iOANT79/T9aqsdfCIdHtLnpS6DVf4vU1hFI7XDf1zQgGPPDa+k9ihTYlPavCNM3Bu 0meHRN76lIy2I4CKruq5IWtdM9BURv92usq/sKKHTyFT09Ed 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/sa8775p.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index a7eaca33d326..2d810d64b607 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3584,6 +3584,16 @@ pcie0: pcie@1c00000 { phy-names = "pciephy"; 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@1c04000 { @@ -3684,6 +3694,16 @@ pcie1: pcie@1c10000 { phy-names = "pciephy"; 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@1c14000 { -- 2.25.1