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 EA69123395F for ; Mon, 15 Jun 2026 10:32:37 +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=1781519559; cv=none; b=EBRriRGtluV4+B/Lyuin6v7wyK9WP3WMfMPaHVho3+5YxEcA9nV3mWW+SYyQeNgVY/AxJFWUBiF84VKz6hX7z0XlIpausc8vndPigpJypMX6lC+PhyZQ6b4bQV5JnXiCynReiE+I/KN92MNfIlluMqLF5EJaWo6TVrhWinZFGps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781519559; c=relaxed/simple; bh=5CS48o3NUE/p9tkz1ZXoPwHkU23aA9WjgEWkXpewHrU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=E2T/Lg2e3IdKirrLAiN5orL4iSkURPfNekRmK1vEVYM8tS1bf6cfrivW3BPJ2+F/E3qh0qD+6Pd3nTNzhGo+no4qWpafoMgQFf/+9pFcd/0oNcnm1/1acreY9GV+GlpVgZLnrBCWK+43HhRtQhe+olsmiItHgpbR6KOgIoHM/sI= 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=CAoRfxNv; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=LdkGKtBY; 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="CAoRfxNv"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="LdkGKtBY" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65FAKo7R291276 for ; Mon, 15 Jun 2026 10:32:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=3VLtpRKJqYk es1Jb1zMn3Spr8QKzWjGNJukQtiigmVM=; b=CAoRfxNv+UkYGIlbCbZzzknqAcA MNH6riD3rGagg7aqRK3LgdVcG8xcUqSRzWQyxeMy1e7sXLpc8qBwZ+WYrSytfyce e/7JESW6Uwy4zzYVoqbMjK82mKLPDvChGc4aFb0XsL2Q73KXf99G/POgrTCfVub1 DMlFEykYuMBVnDr9XYiKhbsCIrAtHw95YUb+VJvoLq0cgiGNW/g5L7h5H6DhC4iV c4DY4ICuGy6vhWCh1rwu/tpaZktjfs3yKBIe24fai0iHfuPgm0BZIr6Uoamy4yBZ zh56D0lS5z+wgPXmRIOZtL88JDkA7o4BJKN6jPxBsv0mdzkb3n/GFf35EDQ== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4etd2c8r14-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 15 Jun 2026 10:32:36 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-305eb106829so176860eec.2 for ; Mon, 15 Jun 2026 03:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781519556; x=1782124356; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3VLtpRKJqYkes1Jb1zMn3Spr8QKzWjGNJukQtiigmVM=; b=LdkGKtBYS2nxWj+fHvoMSJlhk61IMa2Y5QCHLouQHgp24pOBJvdZ/SnxT2FpkooJsE bw3wSP95G2TiE4sulHpYs9/itZp/P4Mp+36PJFuPJr48ZW09gBcqc+awU5lYuCQe8Yu7 3Jw1Nm24x8+gtKfmQIrJaSE1j/ttLltw0LYxe8k2VI+uEgWmff7UizQvS4n2Gszw/WHd paJ3lyk7H9lWFkAyslnDz5QV5Tp5+KibWY1AjdZjOg+YYGzcaaYp9VOe6Mg51ZvbGQNf g8HAYbFF+GwwqwrGHC2fqki1PLcya80v7aPTvrM4D6AVemTMRZ4d9PX/eGCVawY+4xqp 4n6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781519556; x=1782124356; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3VLtpRKJqYkes1Jb1zMn3Spr8QKzWjGNJukQtiigmVM=; b=F45JjPwJGpNzSEakMcoT4ac0hXOASsuPt3cRZGXBn+zf+Ic3BnhfdJvINybqWHECAT oc40dcbtSBFcsWJaMqOooLZOzF4vZ8bEeBRnLC2gybSIOHLCkCVBdZQdlKbYK0nrWHbO 8hupS15kNGJc1L4b+oCZKMGrCIw90tgL5Ncj/d4+otqL209sBzZ2XAbPrB6dUpU/HnZT lalZYTgUXDvLjwjxEuZxd2Z9s19WTUCwpvAk4aXvjfR4SDEcQntV/wae65MAiFsN0kLs TpvIgfppbf6jVMo55zGVRJNxbPWLuII08Rqip/Bq75AkoOi5oJ+p7vdhx/5yQuk2FkdX kxZA== X-Forwarded-Encrypted: i=1; AFNElJ9bFFqZdN2Vrl/MOPZy1VAXitpb+jipxox/7ilpTAbeBukbvCCywZUnHxWv+KiSJC4GENxZ32vEXAK9flM=@vger.kernel.org X-Gm-Message-State: AOJu0YzOubc0A4xphT1JhUPvrHiGCtVRVsAYVBMZP04pfowxjmdonT0e XeG0B2yO+qVINBLd1G/wdrqcPmUj2afOUrSvawZxnvlSriqBV68wy8jW3i8jIlVHJtDnx+HF4aa blM90yS8AGS8BSsV6OWKQn5oE372OJnnrqR+MUSKBM9JhzrSt5faFSKhCF3e7vldX8hZazZ/oio qxQA== X-Gm-Gg: Acq92OE5tkQkoVlOeAXk5/9hXYk5vT93Za8hKIv5aqQ3OY6jdHi5URAWmqKWlx1ep7i cokOecZrwhvLkl5fTzoSX+0vJcq2g/tUKXPCDq7ZzhLIKEwYT4UJ5QUa25/Tu4qGDPmHafIf1AL MY/e5eiQ1uS0sja7+w4oPCfR5TiEE1+Fpk0niVum/rZMw3/SsyXXz/bT5xKah+bUGXLcPIzlUig EmrxPN22i7DXxKi5Fj0T7n7+v2tIJD9WaBO3Qn9gVIMNYeVI3ll43nxzDfAbx3kzan3xoiI3fgQ fyb1jUOPuLsAfgB8B0Bu+jW68x1JmPqfC8ZAAx1K2E2CQ6FUrgBgmGwCNF/+SvZjr9tsF4skP7Z pCV/4rEualPO+aJvABTQcJ67oZ8LcFRarJIORcUdD81SOwwoGJ0p0K6mOLS859a+6ZTMgWEZ7 X-Received: by 2002:a05:7300:7495:b0:2d1:9b35:4f03 with SMTP id 5a478bee46e88-308200bcee7mr3676879eec.5.1781519555506; Mon, 15 Jun 2026 03:32:35 -0700 (PDT) X-Received: by 2002:a05:7300:7495:b0:2d1:9b35:4f03 with SMTP id 5a478bee46e88-308200bcee7mr3676861eec.5.1781519554947; Mon, 15 Jun 2026 03:32:34 -0700 (PDT) Received: from hu-weiden-sha.qualcomm.com (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3081ea43b80sm13594502eec.21.2026.06.15.03.32.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2026 03:32:34 -0700 (PDT) From: Wei Deng To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, manivannan.sadhasivam@oss.qualcomm.com, bartosz.golaszewski@linaro.org, quic_chezhou@quicinc.com, cheng.jiang@oss.qualcomm.com, shuai.zhang@oss.qualcomm.com, jinwang.li@oss.qualcomm.com, xiuzhuo.shang@oss.qualcomm.com, mengshi.wu@oss.qualcomm.com Subject: [PATCH v2] arm64: dts: qcom: lemans-evk: Describe the PCIe M.2 Key E connector Date: Mon, 15 Jun 2026 16:02:28 +0530 Message-Id: <20260615103228.3104083-1-wei.deng@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260608091702.3797437-2-wei.deng@oss.qualcomm.com> References: <20260608091702.3797437-2-wei.deng@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE1MDExMCBTYWx0ZWRfX+kuNl4eiQpYg 1Dn7TfkxU5PWFQqLrjfNFo6IKpG/mKCqau1+EpRO62FGEl6UrLpOe1cw7Ceu2gavs2ChWc+2INB B9cu2MwMpByt9geNZ3j1/a3REZBA6gz0D+ba6m7zSP6ilIPdT03SA2UXcjWsWPo2qJOo4eWTA3g npw77hJafj5soxdDmeyX2Fr3X35gLTiYAPG2bMheNWlYPpfJSpPtLvJf3tjYDgjdQBWt2db3DNE Yb60+EK5FN+VXutJWSfIEHRVT5JIo9isPg1jb1W1A/23NpnNzW0EOzrRpjEy2c5r8NPu02j7kVE ECa5dFigUMl561UDnkmJdCWwr5m/VY1J7MTKLO9s8P+bTl4ifA8c3bjn8N2k7CZCsRSluZLHbbF Mfi8rqMeMRfC12s0PrW89uTcuh53gfvA8BLuynhm982OALEKWu9AS4nDulSHYPbiInEL/5uaCNo VXsdm9wc+LVebTHTXfg== X-Proofpoint-ORIG-GUID: Gm7SaXAwuB6GUKdARJOt5cBuJ8d60u0c X-Proofpoint-GUID: Gm7SaXAwuB6GUKdARJOt5cBuJ8d60u0c X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE1MDExMCBTYWx0ZWRfX9wrQ8DOV4DKc MFRKfOTDVwgcr340Ll50g7hswUEul7mh+OSRMY5+LG5Hq7yDW5vADzJwZBiM8U8Ub0fwRyH+jVx zIXGvP3X0nZdtgu8oPvjvBwgUKfeW7Y= X-Authority-Analysis: v=2.4 cv=MsRiLWae c=1 sm=1 tr=0 ts=6a2fd4c4 cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=KKAkSRfTAAAA:8 a=dne0pE14ni_oFMc-94oA:9 a=PxkB5W3o20Ba91AHUih5:22 a=cvBusfyB2V15izCimMoJ:22 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-15_02,2026-06-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606150110 The lemans EVK has the PCIe M.2 Mechanical Key E connector to connect wireless connectivity cards over PCIe and UART interfaces. Hence, describe the connector node and link it with the PCIe 0 Root Port and UART17 nodes through graph port/endpoint. Also add 'compatible = "pciclass,0604"' to the pcieport0 node in lemans.dtsi to allow the PCI subsystem to associate the DT node with the PCI-to-PCI bridge device. The M.2 Key E connector is powered by a 3.3V fixed regulator (vreg_wcn_3p3) which is sourced from the board's 12V DC input rail (vreg_dcin_12v). Both regulators are always-on and are required by the pcie-m2-e-connector binding. Also add the serial1 = &uart17 alias, which is required for the Bluetooth serdev device to be enumerated on the UART17 interface. Signed-off-by: Wei Deng Reviewed-by: Bartosz Golaszewski --- Changes in v2: - Collected Reviewed-by tag and reorganized the patch Link: https://lore.kernel.org/linux-arm-msm/20260608091702.3797437-2-wei.deng@oss.qualcomm.com/ [v1] arch/arm64/boot/dts/qcom/lemans-evk.dts | 75 +++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/lemans.dtsi | 1 + 2 files changed, 76 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts index 34dfc8d22b6a..b2967cb53760 100644 --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts @@ -21,6 +21,7 @@ aliases { ethernet0 = ðernet0; mmc1 = &sdhc; serial0 = &uart10; + serial1 = &uart17; serial2 = &uart0; }; @@ -88,6 +89,38 @@ usb2_con_hs_ep: endpoint { }; }; + connector-3 { + compatible = "pcie-m2-e-connector"; + vpcie3v3-supply = <&vreg_wcn_3p3>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + m2_e_pcie_ep: endpoint@0 { + reg = <0>; + remote-endpoint = <&pcieport0_ep>; + }; + }; + + port@3 { + reg = <3>; + #address-cells = <1>; + #size-cells = <0>; + + m2_e_uart_ep: endpoint@0 { + reg = <0>; + remote-endpoint = <&uart17_ep>; + }; + }; + }; + }; + edp0-connector { compatible = "dp-connector"; label = "EDP0"; @@ -178,6 +211,17 @@ vmmc_sdc: regulator-vmmc-sdc { regulator-max-microvolt = <2950000>; }; + vreg_dcin_12v: regulator-dcin-12v { + compatible = "regulator-fixed"; + + regulator-name = "VREG_DCIN_12V"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + + regulator-always-on; + regulator-boot-on; + }; + vreg_sdc: regulator-vreg-sdc { compatible = "regulator-gpio"; @@ -191,6 +235,19 @@ vreg_sdc: regulator-vreg-sdc { startup-delay-us = <100>; }; + + vreg_wcn_3p3: regulator-wcn-3p3 { + compatible = "regulator-fixed"; + + regulator-name = "VREG_WCN_3P3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + vin-supply = <&vreg_dcin_12v>; + + regulator-always-on; + regulator-boot-on; + }; }; &apps_rsc { @@ -742,6 +799,14 @@ &pcie1_phy { status = "okay"; }; +&pcieport0 { + port { + pcieport0_ep: endpoint { + remote-endpoint = <&m2_e_pcie_ep>; + }; + }; +}; + &pmm8654au_0_pon_resin { linux,code = ; status = "okay"; @@ -970,6 +1035,16 @@ &uart10 { status = "okay"; }; +&uart17 { + status = "okay"; + + port { + uart17_ep: endpoint { + remote-endpoint = <&m2_e_uart_ep>; + }; + }; +}; + &ufs_mem_hc { reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; vcc-supply = <&vreg_l8a>; diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi index 353a6e6fd3ac..9afd6e8ebcdb 100644 --- a/arch/arm64/boot/dts/qcom/lemans.dtsi +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi @@ -2779,6 +2779,7 @@ pcie0: pcie@1c00000 { status = "disabled"; pcieport0: pcie@0 { + compatible = "pciclass,0604"; device_type = "pci"; reg = <0x0 0x0 0x0 0x0 0x0>; bus-range = <0x01 0xff>; -- 2.34.1