From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 673DC3D812D for ; Tue, 21 Jul 2026 05:26:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784611590; cv=none; b=DfNsVabX9THdbdW+lsOOW5hIHkdIbNwwWRb3OzQB4EPqDfxu3UAL46RS/QpeIaQ6wcxDOebnD3h0oZ8PcPtrS0g/g/mUOqOAzFAyAjwOXNXwrqWMDpCRy7q4WyF+pJl18lPVEcZIk4O6uGWz7+lHeeDDcSOJSPrLx0x0jmIFKig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784611590; c=relaxed/simple; bh=LANuCJkB6nXzMBBjiSyLvoxsquUOuL54/jiE6FqHLOI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gwFdim2YU2lrzV74g9xfYaLnSB4TAG1Fc2uAWojFyXW0DsV38GEMUJBou5hENUDswQwhDrc8+Rnb3ySn3bA+AxfjbiUPsdK2s3ax71A/p5y1Uk82LwoAy51ICQlcgJH798KfxAg52sMTTAzNgopcSkxzC/LReXFTSBfUXzH9hgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=XexN0C7L; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=PlWAvdtE; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="XexN0C7L"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="PlWAvdtE" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66KNCZVX3884088 for ; Tue, 21 Jul 2026 05:26:28 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= Uto5B3n0eGCHOA43nYgEYRfaslRQmvbRDMXREj3vbCE=; b=XexN0C7Lrij6xWQV MbbvwH6jE8ckCVIjfwyVPt/k3+AetSZ3YOWR7N9K9W6M/3x1GfVdZIoaVpRv8aoP qUc0RqD1X8SFypXFqJyAHrm66PNvvIMZU3I3ZAEzNYi5e7ELiZEEDtANq705JSjT GnuUrL/WwXccJmP92qwwstypoG6SujTnv2wL/FKe3a5ghvLlUxpSP6ydaGyt8DMP BfK5xp1hBE2hmnmzwbbhOExWBaOBMeshlWbUc9OKgyTcHmkgzKbmFG8Lh13SjIQH Nqm6/bVnURd+onH3b+BSl3E9rJ0jwF3smL/tJvgjm9H4ku0kU9j1dasxR04e8ELx Wa+qBw== Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fhqvcaghb-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 21 Jul 2026 05:26:27 +0000 (GMT) Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-848662cd2a1so8078066b3a.2 for ; Mon, 20 Jul 2026 22:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784611587; x=1785216387; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Uto5B3n0eGCHOA43nYgEYRfaslRQmvbRDMXREj3vbCE=; b=PlWAvdtEZayOS2Uz3cQQQw/pYmCFHl1OmMkrxX87w1vHGQlWDvDf99rMOjZqoeFree H9e9H8pIn7CH2y/yOtngnCjnVryVplmzLPxjvaCzJBhNz0PvhPIEoNjAm8txwFyoNRIA 3GuEQf1DPdmXAI4au6ek8TsM7ITzog+mgAhiK5j9dwu724O1KbXFY/Z5ihia76Q965Zs vk4vlUUISaoP3dCV8DB0E2StV96neaBmFcTvVBtI9PaR2o4EzY1drPBFLT5WcBWxgZy3 Y5eGAARkXAu6zz4jghQcg55Xso4663cccdBMWH9k8pRR3Tj8KAPbISovU887llMDMfMY AP1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784611587; x=1785216387; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Uto5B3n0eGCHOA43nYgEYRfaslRQmvbRDMXREj3vbCE=; b=JhpzhvcoQfIYSqeOhVyvHfa2ijixu2X+u1/pbJcQYZ+bhtyXUiqgHbnHSADyvP/Mnx 73lvt23EhMQqpVRpiwaw94hDB8TRAPJJQzWf4XJYe3QvjaquQEPvzHkOXr0Ng639As5o d+YIuP0HupPw9b8x79n/DkKD14OB0MJKsCZYxUh7un1l6thW0poDeEVB7YkTmhd1Ls64 7ZuX7Sn/t1E8W0u62krLlk/2vV2Ffeww2sUHcVBM+abKNHfq2CmaUbAN/BMh/wW90r4M 84JlN/7CTGOoQbT/93LXTur1anHs8Bb0q+HFgx7vAWK35cZ7MqoAb9qhQU5e8nCnBBoe hkMw== X-Forwarded-Encrypted: i=1; AHgh+Rr8d9b41PMY9O9jnd9EtfjU6xbf/DnIJj45AXLTboNORAxLPf7sW18GaxjZu2hsjlWOWdKhqzAXS9JsWB4=@vger.kernel.org X-Gm-Message-State: AOJu0YyBKQ3YlAljh1vdRDIYfl+bm3r8YyLpNDDer2164FItstfmvjwO fAhB5n4XIMfgGP7EFJgmZdgKAyLRkXU6AN21OG8Qacbs1sNXQeUdcaUgRgTVoNUMuLleBLREENX Y8hGV0eNhvZT79DhtKJl3U96w63VAQCZwp1u5S5u+liOc4e3ovmtlOzq33upn0JU6Vb4= X-Gm-Gg: AR+sD120lZWH8thiJKlMKaOddNgciQXiJcm/zJDC0+Qylf4ymeLIAHqLu70AjsEXl9T jXAi7Ca3OEvkQ/pSrx3J35dniusbdtpXLnZKOQIv6Oo+loPcNYrGkSDp9y8F9Ct8O1H4rlDTfYD /+B9iygu1tw1ZjNA9Wo1CVlPMJlFwHPZNqQ+i3Lpe7DXz06wnniQOY+6nT36K5Z3LDlD5O1cOVo GjWuZaSSd13qp5DeoDR5hXm6HM9Jkgpl9B1x14twVqJypK1c7BPEf19LDCh4a5o3eR0kmUFBWio UFsO8jUC6kPY6vJCeycpheQjRNiCpp7FGXS8hb0aOebZhu7F2CqqAaz8joJk9kYzd8Znt4LEAUN kO0lYxUBFBkHrhHkgScy0AlqmFdaE3nVA X-Received: by 2002:a05:6a00:3e26:b0:848:2f74:d8da with SMTP id d2e1a72fcca58-84c294c870bmr15377108b3a.75.1784611586688; Mon, 20 Jul 2026 22:26:26 -0700 (PDT) X-Received: by 2002:a05:6a00:3e26:b0:848:2f74:d8da with SMTP id d2e1a72fcca58-84c294c870bmr15377086b3a.75.1784611586174; Mon, 20 Jul 2026 22:26:26 -0700 (PDT) Received: from [10.218.35.45] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84c2af6e401sm6649207b3a.48.2026.07.20.22.26.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jul 2026 22:26:25 -0700 (PDT) Message-ID: <76288f31-57ea-4a42-ad50-8504d8eccfa0@oss.qualcomm.com> Date: Tue, 21 Jul 2026 10:56:20 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: eliza-evk: Add PCIe1 with TC9563 PCIe switch To: Manivannan Sadhasivam Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org References: <20260708-eliza_evk-v2-0-c599246ceba1@oss.qualcomm.com> <20260708-eliza_evk-v2-2-c599246ceba1@oss.qualcomm.com> Content-Language: en-US From: Krishna Chaitanya Chundru In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzIxMDA1NCBTYWx0ZWRfX464RVvBscDQW T/1/fRbCELvjaToIaErytXhwnEkQOIh4CQ+ZCawtb54tC1OS44YHkgbeawE/N5EiCKNDoCJTNKv j6U43cDFILWrRjmYHlDAoBhMusjP8dI= X-Proofpoint-GUID: tOWX5d1E7-I2sNXVH9CSlqJN5LqXE58O X-Authority-Analysis: v=2.4 cv=OMYXGyaB c=1 sm=1 tr=0 ts=6a5f0303 cx=c_pps a=rEQLjTOiSrHUhVqRoksmgQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=WptVsyCosi7Mub_EgEwA:9 a=QEXdDO2ut3YA:10 a=2VI0MkxyNR6bbpdq8BZq:22 X-Proofpoint-ORIG-GUID: tOWX5d1E7-I2sNXVH9CSlqJN5LqXE58O X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzIxMDA1NCBTYWx0ZWRfX0eO0yMnppnuW 9NWCT6PwA2LZM0eFG9z1IsgnUGilIyOJqhBfwYb1rl3iXU6d+Ffj95tU+wv4VKqfzRQ2Td9eVKS DuKUyltHO0mdGwmC5WLGUMi2OLPllvRVqqZmg+antD1FwDF+1kcgDQIVFn3sTxRJ+V7fadpWP0J G0HhClcSrLF5aHPBE9aJ8v7SViO0E2bhg3hHpTvNM0meZX/PcsO+ibWa94TWIuI1WUDg4O/IJ+D oFIQJpbbTJX02FL/6tcHHSxdPG/kJPSt1HqSgtLTqVPNnkthdItl+fBt4qAXm261Tni5laOn1bQ fmokMfX4VMp0MVWKiLEGCpZfRQAeqeGNv7E0k+7+MITsg39d4SFJopbcYWEs6+fpFePtwOuJtYu 4ndA0xsgI0nTtHkqo8rEIq06bH/+IWLLq52i1ozWGl786nVIykmehjyXSt+a0LK4LS5FPpZ/vTQ iYTytyO71zi3ZLwch3g== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-20_06,2026-07-20_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 clxscore=1015 impostorscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607210054 On 7/9/2026 6:37 PM, Manivannan Sadhasivam wrote: > On Wed, Jul 08, 2026 at 11:47:17AM +0530, Krishna Chaitanya Chundru wrote: >> The Eliza EVK board connects PCIe1 (8GT/s x2) to a Toshiba TC9563 >> PCIe switch. Enable PCIe1 and its QMP PHY nodes. >> >> TC9563 uses I2C (at address 0x77 on I2C4) for its management interface. >> >> Override the base iommu-map with the expanded set covering all the >> switch's downstream ports (0x1400-0x1408 SID range). >> >> The TC9563 RESX# and PERST# are OR-ed internally to assert reset on the >> switch. Use TC9563 RESX# pin via a TLMM GPIO and skip wiring PERST# >> from the PCIe controller. >> >> Signed-off-by: Krishna Chaitanya Chundru >> --- >> arch/arm64/boot/dts/qcom/eliza-evk.dtsi | 112 ++++++++++++++++++++++++++++++++ >> arch/arm64/boot/dts/qcom/eliza.dtsi | 1 + >> 2 files changed, 113 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi >> index 6d76715ccffb..e099b7c8c371 100644 >> --- a/arch/arm64/boot/dts/qcom/eliza-evk.dtsi >> +++ b/arch/arm64/boot/dts/qcom/eliza-evk.dtsi >> @@ -12,6 +12,26 @@ chosen { >> stdout-path = "serial0:115200n8"; >> }; >> >> + vreg_0p9: regulator-0v9 { >> + compatible = "regulator-fixed"; >> + regulator-name = "VREG_0P9"; >> + >> + regulator-min-microvolt = <900000>; >> + regulator-max-microvolt = <900000>; >> + regulator-always-on; >> + regulator-boot-on; >> + }; >> + >> + vreg_1p8: regulator-1v8 { >> + compatible = "regulator-fixed"; >> + regulator-name = "VREG_1P8"; >> + >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <1800000>; >> + regulator-always-on; >> + regulator-boot-on; >> + }; >> + >> vreg_pcie_m_3p3: regulator-3p3 { >> compatible = "regulator-fixed"; >> >> @@ -99,6 +119,98 @@ pcieport0_ep: endpoint { >> }; >> }; >> >> +&pcie1 { >> + iommu-map = <0x0 &apps_smmu 0x1400 0x1>, >> + <0x100 &apps_smmu 0x1401 0x1>, >> + <0x208 &apps_smmu 0x1402 0x1>, >> + <0x210 &apps_smmu 0x1403 0x1>, >> + <0x218 &apps_smmu 0x1404 0x1>, >> + <0x300 &apps_smmu 0x1405 0x1>, >> + <0x400 &apps_smmu 0x1406 0x1>, >> + <0x500 &apps_smmu 0x1407 0x1>, >> + <0x501 &apps_smmu 0x1408 0x1>; >> + >> + status = "okay"; >> +}; >> + >> +&pcie1_phy { >> + vdda-phy-supply = <&vreg_l1k>; >> + vdda-pll-supply = <&vreg_l3k>; >> + >> + status = "okay"; >> +}; >> + >> +&pcie1port0 { >> + wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; > No reset-gpios? RESX & PERST are ORed in this platform, as we can declare at only one place we declared it in the tc9563 node as resx-gpios - Krishna Chaitanya. > - Mani > >> + >> + tc9563: pcie@0,0 { >> + compatible = "pci1179,0623"; >> + reg = <0x10000 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + >> + device_type = "pci"; >> + ranges; >> + bus-range = <0x2 0xff>; >> + >> + vddc-supply = <&vreg_0p9>; >> + vdd18-supply = <&vreg_1p8>; >> + vdd09-supply = <&vreg_0p9>; >> + vddio1-supply = <&vreg_1p8>; >> + vddio2-supply = <&vreg_1p8>; >> + vddio18-supply = <&vreg_1p8>; >> + >> + i2c-parent = <&i2c4 0x77>; >> + >> + resx-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; >> + >> + pcie@1,0 { >> + reg = <0x20800 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + >> + device_type = "pci"; >> + ranges; >> + bus-range = <0x3 0xff>; >> + }; >> + >> + pcie@2,0 { >> + reg = <0x21000 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + >> + device_type = "pci"; >> + ranges; >> + bus-range = <0x4 0xff>; >> + }; >> + >> + pcie@3,0 { >> + reg = <0x21800 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + device_type = "pci"; >> + ranges; >> + bus-range = <0x5 0xff>; >> + >> + pci@0,0 { >> + reg = <0x50000 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + device_type = "pci"; >> + ranges; >> + }; >> + >> + pci@0,1 { >> + reg = <0x50100 0x0 0x0 0x0 0x0>; >> + #address-cells = <3>; >> + #size-cells = <2>; >> + device_type = "pci"; >> + ranges; >> + }; >> + }; >> + }; >> +}; >> + >> &uart13 { >> compatible = "qcom,geni-debug-uart"; >> >> diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi >> index cce65e18f979..363cabc5f55c 100644 >> --- a/arch/arm64/boot/dts/qcom/eliza.dtsi >> +++ b/arch/arm64/boot/dts/qcom/eliza.dtsi >> @@ -2102,6 +2102,7 @@ opp-16000000-3 { >> >> }; >> pcie1port0: pcie@0 { >> + compatible = "pciclass,0604"; >> device_type = "pci"; >> reg = <0x0 0x0 0x0 0x0 0x0>; >> bus-range = <0x01 0xff>; >> >> -- >> 2.34.1 >>