Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp376872lqp; Thu, 21 Mar 2024 04:17:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxTbNKhPnws16bxAUnFnELgKR2ZYlrkGNqE6IshpdL2YMy5fe7QkwQPfTLZ882KENhDm2l5v9llbqBwtd4EZcj9frETC822cUTyQDWog== X-Google-Smtp-Source: AGHT+IHiEYjyM6tuUzLMOL8OpEu2WQlgc+ejZODws8V/rWJ/ZCg7dl6vYNEZogxTBXf0uf0aVvuK X-Received: by 2002:a05:6a00:2d1e:b0:6e6:c73b:bec2 with SMTP id fa30-20020a056a002d1e00b006e6c73bbec2mr3254642pfb.14.1711019857637; Thu, 21 Mar 2024 04:17:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711019857; cv=pass; d=google.com; s=arc-20160816; b=hu+n9s52XUcTj7WjXxd/WXSnywc5N1HqpKd7Wtqtsgdl3m/QsuWokdpBiyjZmJgmNw DxzYmYKjZeMyVjaQRzr09cEmho3SjktouHDNTZcfoEiArlrOLlDgHpgLoBkjOsc4hzgS kcUxtr+dzVA+ydsZG1pamgNW+l3UTF3InB3vvbu3TQk5BGI63eAzKfDnKo8zGUFukp4p qEYbmVEhllHlAOsz9fP/N1+JcCqXJ1EMtBa6r2lSmrUW66Uz2D/XOvMGmpnvL6a9N9yx qd2z+EUrZUBGmB9R/hV1GG6/iP/MyzAq5HbDmbM7C/khugU49HcIUKkCYFQ6bV317HqL JiPA== 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=KCgE3LULkY+MlLhJXel1FLYizfuhO7rE/6pBSxAbnjI=; fh=dCgPpmu8yYLd9C8rX6ylgcztxuw9JQ6pbagdy5G2yJM=; b=upHz0mZaET4KbyPLAh0TYkhzheHlvIKH851b4pUaexdtHyBeDOjLjSM6FPoGqjxGNO tuyvgGDSE3zqMok9unu9Wk6RWyRmueJ78unUYSEebOlC5sYq6yRiU+d4jhE99YoTXlVS /l1vlRATynxH38PU8lE58XD45cexiEKk1eNXfADitNuXtkqCI3cn8RqLgwzUR3N+aqFG fs8D3eAanHM/vXoySfuYPPCSWEvjAPtpqjvJh7G1aWnVmWjUldh76iiBvHGJ1Cox6/Aq YtI10sNis+3mM64GOLW07ftj3V18er7GO/F9NAqdWNG7/OS2c7eLxp1me7Vkg8umylh+ orvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GL24sxDN; 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-109938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109938-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o11-20020a056a00214b00b006e6cc8f8ccfsi14769161pfk.362.2024.03.21.04.17.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GL24sxDN; 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-109938-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109938-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 50A322824D7 for ; Thu, 21 Mar 2024 11:17:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFB4D5B05E; Thu, 21 Mar 2024 11:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GL24sxDN" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 A41695A4E9 for ; Thu, 21 Mar 2024 11:17:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019827; cv=none; b=GrWDBlNN4EiJyxwN2i3ObcgE5wLP8txVAi/SmnYgYqHOIFT+/kYVc5CZk8cA9mr/yNH9+LV4DWmYkH3/wJllnjgevPRnz9SUzLGY9fd6CQvbIv8PSyQHVfWSu8K2KaAzT4EY0MDrnSX7zaQENbi2g4+mCKlc94hJE6YBMTgB914= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019827; c=relaxed/simple; bh=5GcAJHlBvKdEoubmGeSAXTJD4cDVK4cWaitoqpJbgQY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tvdUy/GNfqopdJFtCO+kP7+wgQ1rWvMYyURK3A0ICEh33ZwgILpGx3tU363cKiurIVbJaEgDdIeq3+32AxHb5XfqJe3UGBdPwJK7EnBmVdV3n8Kh40V4kIHwI7DR38rFGNaH7MFOZRyumNdPQrYNZeEsmxP1vB8jvPmB4AxHOxI= 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=GL24sxDN; arc=none smtp.client-ip=209.85.210.172 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-f172.google.com with SMTP id d2e1a72fcca58-6e8f76f18d3so710610b3a.0 for ; Thu, 21 Mar 2024 04:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019824; x=1711624624; 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=KCgE3LULkY+MlLhJXel1FLYizfuhO7rE/6pBSxAbnjI=; b=GL24sxDNiMNFjC+QrfBYKBjDOHVKxC2bM/v9BOGdbQE2GMg13wtJ4TGPHZ3Vqqb/N8 pH/lh/F9JtzOYNQ/g/VjmeeKNWjvc64gnKfORwCPX1LWKQSLaL2PplVkTmqNXc3SHj4l 1oCVesGN5cSAEC0rHaQZOkktEFBpaGgBKXvIJ4L2cBpWXriIeLQEKllcvS8otrd5eHon pnrPpARE//Id96VpsaU6+inhbQV2+2vk4gu0uSVyDQGm2uNSwwjUTU2PLVDYECNJiRMA 9uV1xUS7FwjAi98XqiuX0NJ6KCJjbwz62TfSZncksMfYikjd83GhpLOKYcN4JBjbGoJE 6V1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019824; x=1711624624; 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=KCgE3LULkY+MlLhJXel1FLYizfuhO7rE/6pBSxAbnjI=; b=K0cngmjxhAeAjYvGsId/0AnnG3924yyIJ6cefcgmMCVkWgddYL7Trx7oHOk3R/PEmr tP/TZOujuHveSLN8mqmg1ezVt6m72Q9PnxX2u1gWMBy9BfUBreD5M3TUbGBazhIo7EEy CCdiyvi377oY4nyysqdWwjHNyVl8eg1FaoW9L4u3SO0fbsBOJSAjP91aPJ8v3sGe8B/2 OhKIRr65xvxVI6J+GV+i3YeFVEKo/AFzsmrdgDmTP8XQi+s2S04fYAoQdsGnirYnJwEY eyBb6hFAAU3SVP0TLKHu7F/aSIk6FV4W/+GYg4LlJN1eNRmdvXwDu7VMAeZGSZx3V1wn dSdg== X-Forwarded-Encrypted: i=1; AJvYcCWr4ATkNvP/+1x5NzmPycdQkHAFeN72Q8I0Ng+4JbkDRlbZhYeXjUAXdtjzL6HiAnkjsD6LB+HWPaaO53At126acWFOjwdD/bnzbQYq X-Gm-Message-State: AOJu0YwGCo2DTSbCNaQovfU0cX41tqoueMUb580ee3EfKHsuptcULUJs XuQ1NQHO6d50ntPQuZc/aSLoVRwgjSr22CnqdRX648fhffHSRF/XTS+pdfMHAw== X-Received: by 2002:a05:6a00:399e:b0:6e6:2dc9:dcbc with SMTP id fi30-20020a056a00399e00b006e62dc9dcbcmr3435556pfb.10.1711019823619; Thu, 21 Mar 2024 04:17:03 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:03 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:26 +0530 Subject: [PATCH v2 06/21] arm64: dts: qcom: sm8550: 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-6-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=1280; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=5GcAJHlBvKdEoubmGeSAXTJD4cDVK4cWaitoqpJbgQY=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcKdnv9eU+5NjUZRC2zsEE6+iJujn3ML13Tb OUIoeLu57GJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCgAKCRBVnxHm/pHO 9RObB/0V6WSbb9d/QuL/IN/igbT/U8ZVi1TtULvhzAA19in1yQ0fF4lafvGCOmIQVgqmIZEFUQf jVc1UIGQLl7Z8nQyazTRu2bGDscoNcLvQBie5ijCUVnAUlA13OF4xYYf7dkIkoW7b2/TMZZgxPR jhe1yM1n35EOKf6+UD4eVfbP/1jFFXLoUrfAW2Oq3OORJvCRgt8ooHasDNKyu9GbcazPrKg/lIt pDip4FZ0aDDsnvfyJxGz2Pl5Myr23sM3pj4qh5YDdAWbqk8HXVU7VhFEu13m1sgUnHb2RNjiFy3 kFYcA0IpJ+9LBIxPDS87fGvAIqn/+abQ47HQNEXQ5PLvthtY 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/sm8550.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 3904348075f6..760b6a6cb59c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1770,6 +1770,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@1c06000 { @@ -1883,6 +1893,16 @@ pcie1: pcie@1c08000 { 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@1c0e000 { -- 2.25.1