Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp377120lqp; Thu, 21 Mar 2024 04:18:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXimejOG4I6NRevq7yacbwPl3CXhrIKF3S68xKUbtt2JIpkkfzm1cDvm5mzgYfYkIvIgbdg9gyphjhwyZhBA46He54NjMvGY4fQaqaXgw== X-Google-Smtp-Source: AGHT+IFkDWXeu5cFphREhTQFs41g52L5MvOgEqJFetWN4/02CmnfELfnQR/vVaZM9Y9fF5+U1v94 X-Received: by 2002:a05:620a:842f:b0:788:2f37:e7ff with SMTP id pc47-20020a05620a842f00b007882f37e7ffmr1404766qkn.32.1711019888564; Thu, 21 Mar 2024 04:18:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711019888; cv=pass; d=google.com; s=arc-20160816; b=qtEsY+uCYw63Mhp2yE2CH3gSDfG988bxdu8s1EAK0+UR/NsAyEns2BoZX+f260geUQ a83uRWFEsVR+n7agVKs5eVczM7HwoipCngX+EFI/7qOXOPhblQxCkpEgnf37/OtJjBq0 JXPi3ncr8YS42FCQGI8iP45uWCgqnxDFQ7HGztarpN/iFy1UvpI/fp70xd11RxdYXotn RtnEniJSRj34Ivkyo1T83p6qrvrGoomljIXm+/Jw4F2ybz/AB1pK1gMMLpHRlPNZSSt1 kfhZ2ruLt/wNzFzzT7y054hsyT1UTjdu1og4cce3APJczBIHALPvyKArt90pIbbnj7A+ rymw== 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=qeRBNhNilcculoc8WtFmkZK+yb1tJsGxMndVAL/yXVo=; fh=rvw1kLIRbVey8CmYY/Y9G1fmRfX268lQKZYVAi+UZgg=; b=Se1nrs3wmsbJNdg9CJ3yR98D79vtKyPe83EUtlenmxOVkt80WOkfCbxkJaRB3XUPyw kC7ig0TzxF9iiE+eqBWH8GwzXnD3XWe81XW/8zVhEBK3/rQr7Yu8cQOMT65iUDvfO23V mB0C5AZdxBDDy3OZ1tZ/JhA5ajXg2wLmWZS3/NnnLqZaMcgjB9e/+4Jj29X/z+TjKPcl +cyQWyxMqNqC34oMxPGfq3hxRCJ/HuUyThoVyU3tEQKhVHhDFrbf/5SwuINkWXl/vPkf pjFtER1eePEoXNpAFLZqQp/6NGjH0FpgzCg3rfnIcpGoLtllrRfChZFRel6wkSheHTmp 6+6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jbRERg36; 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-109940-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109940-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wi1-20020a05620a570100b00789ee2ef4cfsi11205726qkn.325.2024.03.21.04.18.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109940-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jbRERg36; 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-109940-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109940-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4B2151C21625 for ; Thu, 21 Mar 2024 11:18:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61CF258AD7; Thu, 21 Mar 2024 11:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jbRERg36" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 19A6458ACE for ; Thu, 21 Mar 2024 11:17:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019842; cv=none; b=aJufBr0oCbtbvajcZGZ7vBXOFuBSEBRfzWPBanz4sZq8eD6eWNdHYTWKLdxEbLytLvLn/xkOeOvgoKIFEf0ZF+1s4XbUUfS+UDe5IWFpoP9SUcAAkdyZL4tmw5nWS+TP4g1OReVv8A3IOtFf/Fq7cd4mhF/+tr/XSDON2s4mBKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711019842; c=relaxed/simple; bh=IZvlsFRd/io8/lLci8Xst/yB1RdYXUKGx4G/k54i+hs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iqssOyiPZcTwaEJxrt+oSGC6C0Y7BrNEpYylK6KnKGfbrGLBDhTkvnm61WgobUEFEQ8xjPm7WVO0YoD/DNPL1m00x2x/9LnsY7VHK0x0IRStdehfevUvz5+DBfR+jf57V6bE2HbaOVgejTp9Jxt5JQegOZlYM2/pPYY16FTcUag= 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=jbRERg36; arc=none smtp.client-ip=209.85.210.182 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-f182.google.com with SMTP id d2e1a72fcca58-6e6b54a28d0so604712b3a.2 for ; Thu, 21 Mar 2024 04:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711019840; x=1711624640; 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=qeRBNhNilcculoc8WtFmkZK+yb1tJsGxMndVAL/yXVo=; b=jbRERg36C8RU39k8wzBWxlMG+MbLHQFhYvOtg953nfnrvOAnUMbq4cSgr9OGGSl4jf xQ2KIRQ3lFcw8lZNH0L3kIyV+gquq+s+R7DDDY8HROL6iPONxIJF6Sa2EYolJya7JfMX IjxvvIpfzmSaHna8AldRQAoyhWkXYym6WmelXFdtHQWeZf8mcDnAfaj122KOqGn72stc 9YAnFI88cC78tdH5BXH9wbD1dXC70ekxxmSA0xL29kL2CTytquXOHffRvst0f04uQ1wz qwUSLDIzkTPAoDk+h+6ZMKTWMEX8W67ZlkxrSGg7VeA2qcg3XgKRwJlBDmdAPaxe+o3t Rwaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711019840; x=1711624640; 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=qeRBNhNilcculoc8WtFmkZK+yb1tJsGxMndVAL/yXVo=; b=ntJ4Ah0+AqGEjfL4AX6JH7DjHM+rYwoNs1DqF2ab1iTBGG4hrb1FMTUdmMl+XmEN0p lBJqWSkR0zydEGCN9PopPFU9yVrB7ojGwR73LT0pPnbFBKmHUz0I1eWNEUBVk95C0kPS 4VZHtFarm7TOitv5DUsOhFs7k+Ncp9RnubHL/QlgmN+T68jZo7TBTcuR+nLsTb5/G3kl DpzpjXtUna5EY6jcVtT+QIBra0FiP+8UxvVbLBe9dPRmlwtamzJ15PTiW5M9KQZIo9re WXd7t+gnYbVBIo71ppBIfp5f0M//Xqs0ehM2B0mS5y4b7EO4ouydaIUjggBFVNe4nPkj BH6w== X-Forwarded-Encrypted: i=1; AJvYcCWC0/58BBXzC7t/Le2ho95RFfhqKZOiWk1eHABEeY17DzQBGEMuJMDsOdLOMeFJkjpqdssLnHW5Px0wxwE7CO73y3inzYJeQJ2A2N6q X-Gm-Message-State: AOJu0Yw2vWCtwvY/JXLYXXPaO06UcEswn+ec3hbqTNs6xdvE4vO9PgB7 /Hhpkr0gnWFReSRYWVSeybBr0wkSKuTfJDNV/FZpXiBvrlIwvFPtU7J8lRSVug== X-Received: by 2002:a05:6a00:1783:b0:6e6:13a6:9bd8 with SMTP id s3-20020a056a00178300b006e613a69bd8mr1956235pfg.34.1711019840259; Thu, 21 Mar 2024 04:17:20 -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.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 04:17:19 -0700 (PDT) From: Manivannan Sadhasivam Date: Thu, 21 Mar 2024 16:46:30 +0530 Subject: [PATCH v2 10/21] arm64: dts: qcom: msm8998: 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-10-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 X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=963; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=IZvlsFRd/io8/lLci8Xst/yB1RdYXUKGx4G/k54i+hs=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl/BcLJsmmf1/3whfwiEfF7DlWSN0HkR8ykSM8d 8Js69Ai596JATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZfwXCwAKCRBVnxHm/pHO 9SD1CACkmq967TLg2byz+bPC1qRq5tQ5qN/x+8wAbyH2Qau2L7reKq8mbk864MkENvJK2czjMjZ 7IlV1b9CepvCAhkU0NvpYirVHypcwafP0gn2LJ34/iIBvUXZzirAQdK5tpJV4vbmXoyOcDV21fv YPmcTz5SqqRuUe1ZPIIj2OILkzhJOp9ZAxpIrNa+98F2r8OfQyjR6QPuxOy3eXDzbcCPpdnr3QE hFHOeGO+R8rjhvJhcurR6pS6C2sgS8YxWu/lOBs8lJxbM112uUt1pGm8HRDZj72vdQfUHiKE8my 0385HqAvEbij53Hp3O3juZzObI1ahRA+bq3AQpB43EtqnLvv 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/msm8998.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 4dfe2d09ac28..d795b2bbe133 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -972,6 +972,16 @@ pcie0: pcie@1c00000 { power-domains = <&gcc PCIE_0_GDSC>; iommu-map = <0x100 &anoc1_smmu 0x1480 1>; perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie_phy: phy@1c06000 { -- 2.25.1