From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71391C43458 for ; Tue, 30 Jun 2026 19:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6PLBAT0/Wz3wkIWb0nHw8KbpGKSfGDYPVMxwPZDpsj8=; b=leWqio5YxQUFEx deaqJFlfQn04wObRZakm3nj29oGmuJOAQPkecEfufnm4nsFgNjIPt5Ry5GtNcf50uTLjZ3o9lEn5C H/F3wCEuwD2wG83bnonQsyrjy7nOlQfcjF46N76NmZDDk42N29YbuVej0a+wTEXpJTDDHuaXEMdat fxUwX+9t7xeU0Xc13TVr4+/uYYXRAMSLdWOQnu0j/1Uxh4iqIFgOTQxps32V8FbkotMHp/g/5vql/ PfkiUIlNzLICP6/PBP2r9BsrGgvtmqn2l+lWSBKPyIHS8OaIIi+qfH+y416Q5qGNPv/VP3kmQq8Cr JqFs/lfsezyWNOVBjCPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wedkc-000000005K5-1lkg; Tue, 30 Jun 2026 19:04:08 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wedka-000000005JR-0LGL for linux-phy@lists.infradead.org; Tue, 30 Jun 2026 19:04:05 +0000 Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65UHkdgv2730306 for ; Tue, 30 Jun 2026 19:04:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= MJzQYy9NeGXvGWgMiVeRkyydULurB3BuYT/jaTVqZGo=; b=iQY13eIQJj2Swzf6 lFYC9I9GlAk2Zp6dH7KT9ZqhTVHH77VVJ3ymTGZUvKRwDBEA16hxG/N5ksQ4d8oh y/IeUDoaPg5U1VAVxEGXS6Sk7bZtGyBhoe/SHLv4mI0SRsM4cTBIlsVOQ2qIi5fv tzgolmi49ksXAzIYR8wNKWtU8nHUmtqscmXPmCqJjPqWd8k9vj5inNh5UR5EtUNo drH/Q/3JaSP2EVeu81YQ/cLm3m6+A+yWypW1LuAC+S5dILcysi+/LilIE45/RMkS k0DNIXOjAvrViJI/cue35pNLEU4LJPaXBeJhtfkXH+1TY6ZuuEE7qRYEN25dJePJ TM6sOA== Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f4j99gf4y-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 30 Jun 2026 19:04:03 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-30ed53abff8so2507814eec.1 for ; Tue, 30 Jun 2026 12:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782846243; x=1783451043; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=MJzQYy9NeGXvGWgMiVeRkyydULurB3BuYT/jaTVqZGo=; b=dYyM34k393fShxczda1j4Rv71wRzEtU5gb+GcW5l964v13a5jILBaqQMZ9+E4wqcVf ss36mztr+fKkSzzddOy+zrVqOe0dwyci1o9HjQhkTrZyeFg4cViPe6SGlpe5tWDHA3c8 5liR91apG3dmhN7M0/aDR4RTMwmzv5/nT3XHkoKMbGrThYO8Vg5UqjWWBYRVg3S8LOe1 hnIMKYaIcfp8BePfsLBIWwAujpvqdmU3FZ3+6yEn9142qxRfGD9hi0QWTlL8vZzTENDT GpmU0ACAsC5m7H9bgk6TaR7wvP5Tz8Y9oQh6QBRp1H6NzYmpgj9pwpvvuBRw74KaE7Fa NBPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782846243; x=1783451043; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=MJzQYy9NeGXvGWgMiVeRkyydULurB3BuYT/jaTVqZGo=; b=KT00mQ+IUouPY5Quu3UlVEfy4gj45y/8hClR68RHCP7eIKdUi/CQ39xJPAC+33M6+o UtjJamFaW2Xt3IyK3DrYZmZOvIehxxAYerp5StGNp5AYZOw8qSWDfnIVIeq0CSFA144D 8ZiremJ0TkYpzAUvMDM0+hPrMchwvZrMXuo/mAEc/JbkrfzcP5tGG63U3Cstj2MdB7bY i+obbSwAXOWP8VXLCcmxV+ii8V/kI+V5WNG7Q3J9WePUdYXLu2NI4xpr1K3oL01pp3sN HmdHxEbYj6zcIqhQUmNhv+8nRJT2G+bDdDqfqGlhusTcWAgN83g4mP4Ci2b/7j4473BY BSow== X-Forwarded-Encrypted: i=1; AHgh+RpFuAvT51eiS8itk2z9hjCdWDH84vzenyh9oll/KnKAdrVS5Nk2cOmcV4fR3eRlbVJiaKcprXqXP4Q=@lists.infradead.org X-Gm-Message-State: AOJu0Yx21YnooIodxE1kqrdRShI7p4EgimH9/fMgoptijGk++XEYwKhx u14/z9tl1g1Udye6uy92VehQ45qsuDLxClj0i8A/key8maETBPNRC6TBj4WtNpAbBc0Dcz7s/Hf F6EYVYbzvYuSnqIJPYtZomDbixrFEAcolNe14Gpfv01uPZPD3YP5ZdfWFfZB0fLr4W8ux X-Gm-Gg: AfdE7clthDe9kjBM3AcrGM8KZ0We6ZmIPrta6KQ1Q4aq+A7CCgZw50PUHmw9RWXYPew fKz3x7Oyp8pXgIzwYoIBKVY+RbRyo6unUpjpV3q5ie8KR2xIOZtb8dQbegF46eRezjXoi7DGv1u werV+4jHkeIVFYOLse+tWtHaCNphqU9on5ODX2Prp06Dg9SViBhtnKxunP/lr41NjkJJ6TvLn+y PLA78rtLl9aqDzLiDXTO0P/3Eq7moK3ZPhwpJnBPDvNSacMU5FbZRE/QR/EHwaMczP4aeDgoe3J juuWBX5hTmYtxmqWxGL5kM3J38SQXcr1VQv4y+P+rykbA+jBM/drgwATSfDnVbumsre8Mb9pjL4 sXICbw6DJCqQ1lUvffoZ+ql+rtLdyzlXPz25Zp9gwZdwHk+k= X-Received: by 2002:a05:7300:80d0:b0:304:997c:d4b6 with SMTP id 5a478bee46e88-30ee1365bc8mr4242297eec.17.1782846242535; Tue, 30 Jun 2026 12:04:02 -0700 (PDT) X-Received: by 2002:a05:7300:80d0:b0:304:997c:d4b6 with SMTP id 5a478bee46e88-30ee1365bc8mr4242260eec.17.1782846241987; Tue, 30 Jun 2026 12:04:01 -0700 (PDT) Received: from hu-sushruts-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30ee317095dsm14963815eec.15.2026.06.30.12.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2026 12:04:01 -0700 (PDT) From: Sushrut Shree Trivedi Date: Wed, 01 Jul 2026 00:32:49 +0530 Subject: [PATCH 7/9] arm64: dts: qcom: shikra: Add PCIe PHY and controller nodes MIME-Version: 1.0 Message-Id: <20260701-shikra-upstream-v1-7-e1a721eb8943@oss.qualcomm.com> References: <20260701-shikra-upstream-v1-0-e1a721eb8943@oss.qualcomm.com> In-Reply-To: <20260701-shikra-upstream-v1-0-e1a721eb8943@oss.qualcomm.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Bjorn Andersson , Chaitanya Chundru , Bartosz Golaszewski , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Sushrut Shree Trivedi X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1782846191; l=5080; i=sushrut.trivedi@oss.qualcomm.com; s=20251127; h=from:subject:message-id; bh=i8Jdl2WiUlL3/xlUPB1sMuP/iZyKKJ+dGe+Yk7hYLjk=; b=nKH00pm4XpSnA2IJzI2OB1m4FymqWLvziEtBlUCtRFRQ9VBgdgOGj9I4PShoQVqJU0i5RY2g6 gi08NEv65s2Bg23ei43Nw828LsVorLAzxpAT1DeP0873ocGlzBuiQTq X-Developer-Key: i=sushrut.trivedi@oss.qualcomm.com; a=ed25519; pk=OrUHTxBaSg1oY3CtCictJ5A4bDMNLRZS1S+QfD9pdjw= X-Proofpoint-Spam-Info: AW1haW4tMjYwNjMwMDE4MiBTYWx0ZWRfX1vdVFTkpdqgJ iG33tYwRXM0NN3ZOmnO3MHToRSsn1vkDN++KoVKxD52kiBCAo8oqv89B7w6klRHn+BNaUF8no1X JHUosY+5J5lgJ/gkTyLuFq3saoN8fYo= X-Proofpoint-ORIG-GUID: g_73-sW-nBEUDSn8UJgEWeS2mLg1toaM X-Proofpoint-GUID: g_73-sW-nBEUDSn8UJgEWeS2mLg1toaM X-Authority-Analysis: v=2.4 cv=bNcm5v+Z c=1 sm=1 tr=0 ts=6a441323 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8 a=CK1i0O_xw7d_XAuQu4wA:9 a=QEXdDO2ut3YA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjMwMDE4MiBTYWx0ZWRfX/P1xJ4tLvPxp R8KY1B3uw7EHZYAcZ/giPbWMWLcLoQJ/o3nuWQXlVBougFvD44GyoEfhK3I6WdFrMeQ0N+nR1Nl XFEREMpMPYKfTuSASjGDnZXfhW0uVkQfX8m9/j5iSnaWSynMKAUPZQQbf2KboYLaphlRdX3WYia fK31Uu8/uqLP0A5Isho8TQd+ENgjlclNY7mnrsXv4M5ki96oIVlFGLDIgmCZLyo6uamiSbHcuuG MFRUVYn8RRh3FnOaDBe9N0IAXibrimy0rE9Mt6ifcfN5dUbYtAVwcN8SZGbXaookNIDZLnYNIDn eHwbxO3EPOmcMSeoedq5d+J4cc+G8/N9DEh/dXkbgY2ro1xvxFcpQgT2N+q0RNtcevv8n8BSrrC wE8Eg8UQvQ4XG+2NvKZOH6EfTLOL2RtyyZ2TWvWWxI/KSaluORkfIzykZVCVRCbcSPeppfVArAN xNBf0cgZ3GAt0TdACdg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-30_04,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 adultscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606300182 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260630_120404_148591_3183A6FE X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Shikra supports single PCIe instance with 5GT/s x1 lane. Add PCIe controller and PHY node for this single instance. Signed-off-by: Sushrut Shree Trivedi --- arch/arm64/boot/dts/qcom/shikra.dtsi | 154 +++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi index e67fe047a683..74d51ba5bde3 100644 --- a/arch/arm64/boot/dts/qcom/shikra.dtsi +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi @@ -998,6 +998,160 @@ tsens0: thermal-sensor@4411000 { #thermal-sensor-cells = <1>; }; + pcie: pcie@45e8000 { + device_type = "pci"; + compatible = "qcom,shikra-pcie"; + reg = <0x0 0x045e8000 0x0 0x3000>, + <0x0 0x60000000 0x0 0xf1d>, + <0x0 0x60000f20 0x0 0xa8>, + <0x0 0x60001000 0x0 0x1000>, + <0x0 0x60100000 0x0 0x100000>, + <0x0 0x045eb000 0x0 0x1000>; + reg-names = "parf", + "dbi", + "elbi", + "atu", + "config", + "mhi"; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>, + <0x03000000 0x4 0x00000000 0x4 0x00000000 0x3 0x0000000>; + bus-range = <0x00 0xff>; + + linux,pci-domain = <0>; + num-lanes = <1>; + + interrupts = , + , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7", + "global"; + + interrupt-map = <0 0 0 1 &intc 0 0 0 499 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &intc 0 0 0 500 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &intc 0 0 0 501 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &intc 0 0 0 502 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map-mask = <0 0 0 0x7>; + #interrupt-cells = <1>; + + clocks = <&gcc GCC_PCIE_AUX_CLK>, + <&gcc GCC_PCIE_CFG_AHB_CLK>, + <&gcc GCC_PCIE_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_SLV_AXI_CLK>, + <&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, + <&gcc GCC_DDRSS_MEMNOC_PCIE_SF_CLK>, + <&gcc GCC_PCIE_TILE_AXI_SYS_NOC_CLK>, + <&gcc GCC_QMIP_PCIE_CFG_AHB_CLK>; + clock-names = "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a", + "ddrss_memnoc_pcie", + "tile", + "qmip_pcie_ahb"; + + assigned-clocks = <&gcc GCC_PCIE_AUX_CLK>; + assigned-clock-rates = <19200000>; + + interconnects = <&system_noc MASTER_PCIE2_0 RPM_ALWAYS_TAG + &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>, + <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG + &config_noc SLAVE_PCIE2_0 RPM_ACTIVE_TAG>; + + interconnect-names = "pcie-mem", + "cpu-pcie"; + + iommu-map = <0x0 &apps_smmu 0x800 0x1>, + <0x100 &apps_smmu 0x801 0x1>; + + resets = <&gcc GCC_PCIE_BCR>; + reset-names = "pci"; + + power-domains = <&gcc GCC_PCIE_GDSC>; + + max-link-speed = <2>; + + operating-points-v2 = <&pcie_opp_table>; + + status = "disabled"; + + pcie_opp_table: opp-table { + compatible = "operating-points-v2"; + + /* GEN 1 x1 */ + opp-2500000 { + opp-hz = /bits/ 64 <2500000>; + required-opps = <&rpmpd_opp_nom>; + opp-peak-kBps = <250000 1>; + opp-level = <1>; + }; + + /* GEN 2 x1 */ + opp-5000000 { + opp-hz = /bits/ 64 <5000000>; + required-opps = <&rpmpd_opp_nom>; + opp-peak-kBps = <500000 1>; + opp-level = <2>; + }; + }; + + pcie_port0: pcie@0 { + device_type = "pci"; + reg = <0x0 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + ranges; + bus-range = <0x01 0x8>; + + phys = <&pcie_phy>; + }; + }; + + pcie_phy: phy@45ee000 { + compatible = "qcom,shikra-qmp-gen2x1-pcie-phy"; + reg = <0x0 0x045ee000 0x0 0x1000>; + + clocks = <&gcc GCC_PCIE_AUX_CLK>, + <&gcc GCC_PCIE_CFG_AHB_CLK>, + <&gcc GCC_PCIE_CLKREF_EN>, + <&gcc GCC_PCIE_RCHNG_PHY_CLK>, + <&gcc GCC_PCIE_PIPE_CLK>; + clock-names = "aux", + "cfg_ahb", + "ref", + "refgen", + "pipe"; + + resets = <&gcc GCC_PCIE_PHY_BCR>; + reset-names = "phy"; + + assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>; + assigned-clock-rates = <100000000>; + + #clock-cells = <0>; + clock-output-names = "pcie_pipe_clk"; + + #phy-cells = <0>; + + status = "disabled"; + }; + rpm_msg_ram: sram@45f0000 { compatible = "qcom,rpm-msg-ram", "mmio-sram"; reg = <0x0 0x045f0000 0x0 0x7000>; -- 2.43.0 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy