Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2134141rdb; Tue, 20 Feb 2024 19:47:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCULwWGScWNZNkMQaoAIAD81cQlfOMh6W1P9fCwPyVtRK+9mxBmUCEtOPMlG/pOWmHxzm/iIiFzlokgCYplHGGpKlItiY/VLvFEEQUix7A== X-Google-Smtp-Source: AGHT+IFgdeRaxwpDBJigyB9/Jcm3IxNhfsvPD0FTzmE3vCmzsc1BMxUYoJx6lZw2kVmvNi3Qo5tE X-Received: by 2002:a17:90b:1017:b0:299:3236:734 with SMTP id gm23-20020a17090b101700b0029932360734mr13321270pjb.42.1708487276876; Tue, 20 Feb 2024 19:47:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708487276; cv=pass; d=google.com; s=arc-20160816; b=x4zC+3lRNECl3PJ6xO2kX5b/XA1xHfsxEhm2uaUjOFDE7nScUNIbOy7eSX+tIILB3G zUdcKOCxyVLAXDgnz7GrBDgTwWgTF11q31sym+c7vBqNFy/vixw8zMLF/zov1VBZhjDb SVilZoBQ0E8XElAcFVz5X3G68gbHI1gesapbUzF8bwhmcwi1hxclpvKcAk+k1LaNtGJD bygbQl9jiJZKtbkGoCmjhzgqiNR6NvNIHWYSNqc9BTvqV9o18oigqaoCAI2d24WceCQR dQDgiInoOCfRjfP05IVBXdB29f4dOoRgHSbW6AMMNF1qXDb7xAoQvsuc42EuwXo2iOWq DvhA== 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=Suncx11lO3ECFLV2Hth7On+VVCqpX9h5Kh51+NyuNk8=; fh=Wi3KPf2Ng/xaIpp89szxF7BtGAP7rTesg2P4fqK6yd4=; b=bCKGXanMWZV0VY6Puxr3OxLtBWbfeeMZd8H/JaW5gpOpBg1yEO8Y97WdO2e2ASClX1 0FaU2vtR9oCjSHhvDw2sy78k/IYa0GXhlD1kUjIyNe6mXSq9MZqHJP5fCcxDsEW3+tQZ 2NbDv2tckxZSgp1mTImhZrDW+GGLSUBVClhoMPsZX00n8Ig8RBVe0NzeZXyAx3ZUtxBH YPk0ksuxeSktAD9dSJSnrICDUIzOEd5pHL+cUmN/huvfAlZ26Hai6UrTZ9OEpRxtVHKf Cjoh5IpKJSB8Czgs7o3N3LuNKfZzgXdtiLYA3KMpD7rI0ND3mJYk2jbxSBfPwv+zfx4M vHnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R++d5Qgh; 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-74028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74028-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. [139.178.88.99]) by mx.google.com with ESMTPS id x20-20020a17090abc9400b0029a0cabeac9si658050pjr.47.2024.02.20.19.47.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:47:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R++d5Qgh; 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-74028-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74028-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 91B8B281E26 for ; Wed, 21 Feb 2024 03:47:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A80E3EA80; Wed, 21 Feb 2024 03:42:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="R++d5Qgh" Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.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 DB2C03E499 for ; Wed, 21 Feb 2024 03:42:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486976; cv=none; b=qRJj3Y1U3gk1BoC8laRWkdRM03NZyMts+wvEjUe25g0da/VgpXT9/R32R+HE5Ime7XkmtH2R1MMovDF4yENnLaLlLwNNe5ResL3rA/p2fLKdv/EU9Tq8iXOEC6o8jrh7Cti0gsBLfMpCIidexQ/O/wmzjNTr2sDTNes9J9/bcd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708486976; c=relaxed/simple; bh=ntCfHbJqyHo2IKloDJny626bPqnVLcdHkMXuobbQPMI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WZ589vmbvAGPyQfG0DRQkFtz3LXB0yuFX/M18S/7rAKTD6iapWvgyETbLTrBzJmR6wr5XMNi9hiQH4IYIT9oiualKHl5YLvgTJ4IRkilr5KlTaE6mbelAXV/7YKa0cApcPp8Uf5IeJbppxOxpgqZJXQ8lIIKSLHXt0vxIoJStNA= 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=R++d5Qgh; arc=none smtp.client-ip=209.85.219.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-yb1-f178.google.com with SMTP id 3f1490d57ef6-dcd94fb9e4dso223817276.2 for ; Tue, 20 Feb 2024 19:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708486974; x=1709091774; 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=Suncx11lO3ECFLV2Hth7On+VVCqpX9h5Kh51+NyuNk8=; b=R++d5QghGbCGGtwHzPcZRdNA3X+wkcMhVb/Gsy89tP+lFIltlyCae/SU+tOvOzgZfO NqKy0FJNEuJm2207rncC/HaYygJ6sgcShfNYFTKpwfrnAlOioz4oy2o+BSMBPL/O9nko RqGYNYD9xbRHK9ou4Kf7oKSTGX06mxmgPYLVVxHC68TqJFfLs/toKx8fa127D1+9RL8h O1OTIoTSLETSGk/WH2Dwjh2lhy0Mols1B9Cvrg4YQAy50oNm//pk6MS2rHWvX4fFtgd9 azn/MjoMbb532dEUv61TB0XU9XZyq5UBjLT1vUPWZMK1lwnK+sFS6g8qfg/j1fagnL4S nUwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708486974; x=1709091774; 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=Suncx11lO3ECFLV2Hth7On+VVCqpX9h5Kh51+NyuNk8=; b=tFnjDmt/vKCG2gYv+5R/n8Sckjffb3Dxjb3Od51Hyv5sxlM8u7MnzhJM8jPdRR2awL KnJtP2SNVf/k/QGl7hnK3ohctfRYSJdrYpDBiA+2MOvCHEZ5ryjUp+aV/zzUKY961Zl0 5mJpd/T9DeHWxB1dzoczHEbs35JxOorlG1OkB315qZbxoPMVgRBZAvaa2O+OL3oYvrJL pClZa2bWl0u3ptexzNbmYn9xTQkpgmk+LEbAGw48qPPG7llWFIyMRtESRB5jmZAmtYqE VbWmqtEklJ/PU8cBVu2gC3kgPxhSnljW9MZt8RYwg4n24Rk1B9xx30IqOQQSrqfZBs9Q 90OQ== X-Forwarded-Encrypted: i=1; AJvYcCVGKbn9L8XED4XXcYCnIiU9fJRaYZieR/W2FnCpP4t2Y52hyLvJNOhRXmA/a5CrUVUAhrbIsB/UpVBR+GLNmXWxX7IGbwCfd6axYxRZ X-Gm-Message-State: AOJu0YzzoG+RTdsDlS5KKVJaKqmdlIzYaRLdgs3DmOQFf38+lW7bPfB9 IkSBUoyv4FEns4wi3vmgnTeqlxRKsISO5KpYDlxv0We+T3QozMme+J7RKwgDGfn0nwc8XNptpfU = X-Received: by 2002:a05:6902:250a:b0:dbe:9f4a:6bb0 with SMTP id dt10-20020a056902250a00b00dbe9f4a6bb0mr18319925ybb.56.1708486973847; Tue, 20 Feb 2024 19:42:53 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 19:42:53 -0800 (PST) From: Manivannan Sadhasivam Date: Wed, 21 Feb 2024 09:11:59 +0530 Subject: [PATCH 13/21] arm64: dts: qcom: sc8180x: 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-13-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=1867; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=ntCfHbJqyHo2IKloDJny626bPqnVLcdHkMXuobbQPMI=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBl1XEIB2OO7XO/U6sELwLIt1TGK59monBn7moxn 6dyHg9lzGyJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZdVxCAAKCRBVnxHm/pHO 9XX7B/94Zww9TR1j1Q15e64KFzc/uZLpFwM34IIZB95PjFpVYogq2AQWzgy3naGxRLAyHkl0d7W 2Bu9uCBLquvDI9nK5DyjS0qvy9Cx7UExTMBgUGfJt1Ix8hzpEc8gAING+JMwnBwjxPEv+msS3X/ MIyCYPEx9xaJjombvLjqkCkYsqDnwsLNoCWb+rjNNJqaAOb5IIasDG3KVBReN8dqLFOu8sYcPXF GSCgIfXGB97dnz2qIxXyF0SQLunP6hKSZZ6qRZBtmW5xwma4NFG3+j9JXowBJJgBnYAhbCBbeLc i19l8ti+zudL1i7KbRHEjzmXiTar/3jnKbUCAKAJqSOEgyJi 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/sc8180x.dtsi | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 0430d99091e3..a6134f454e53 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -1754,6 +1754,16 @@ pcie0: pcie@1c00000 { dma-coherent; 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 { @@ -1851,6 +1861,16 @@ pcie3: pcie@1c08000 { dma-coherent; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie3_phy: phy@1c0c000 { @@ -1949,6 +1969,16 @@ pcie1: pcie@1c10000 { dma-coherent; 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@1c16000 { @@ -2047,6 +2077,16 @@ pcie2: pcie@1c18000 { dma-coherent; status = "disabled"; + + pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + bus-range = <0x01 0xff>; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + }; }; pcie2_phy: phy@1c1c000 { -- 2.25.1