From nobody Sun Feb 8 13:28:10 2026 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 A0841326935 for ; Mon, 22 Dec 2025 06:03:40 +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=1766383422; cv=none; b=pWYPBgn+ZO4PMXGJediuqXM4ZlBqTDqAJztfo0ZTpdiOklahf5YTlnHmWtdT4l57UREkp5Qvvrgn1P5MWRAfjTsM6aHW/hbHzutfi1lNtKGi+/V+bd172yeTf7lpkb44TE7bbFpU5+xs76VbQra2ltk8oaQDn7hpNd9chfFZNXE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383422; c=relaxed/simple; bh=2HOdIFHx7rQMqAGvzHoIwZDSOaSh9TN+QYrtFLDPAoo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tRHaqVsg+5RJo+T7cxasnx3lwDr4wv2aMU87+ihnrUh6vBTuFuHq0Ys8fl8mZnX2bvKVCQnUX/kvgfO2pJinAdXtBKfMNduOjBMNUJFw47py2hMLRzumFIKdk0bA+HZ5RlSw2ODO3dYoKckVt0ql63EE5u3Vwf/wur98uBJk3c8= 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=ADDhwNWc; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Y/278gyT; 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="ADDhwNWc"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Y/278gyT" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BLN1OBU3395346 for ; Mon, 22 Dec 2025 06:03:39 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=jRrEo65pOkA 10zcqstnnxrzqRwyrbM6potO7GiKVyKI=; b=ADDhwNWc2afmYB8uHyDEdnQtK42 Z6y4b2Atwnn6oJ/a2nKfIPZ/PQyR+oeJz0F33l3YWFCZJtWVHRBRzYWX2+ALeWC+ et+IPcCpjSGAA9Vjpc7j5ib+aJV0+6aOwQFmpckUyc4uXSIo7KOugiuByKhwDGeG GRphpBh8p1l9MtbExV0yMeriVEXb1qYgm7iE559JVLNEqFDQpzNLK+OWiKwriqmP ApuE79DCsxp2Zktz4MIXpi6LqKfQJhF9d+FSdzq6SWIfjloyh7ZMFNQMrPo8kxyX 1AZfYngeZLJDfIw3KPyHo94hiW3sdiOWOeNtUAAJBAEM5+SEWWjC53nmqTQ== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b5mtqkvw5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 22 Dec 2025 06:03:39 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-34abd303b4aso10407513a91.1 for ; Sun, 21 Dec 2025 22:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766383418; x=1766988218; 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=jRrEo65pOkA10zcqstnnxrzqRwyrbM6potO7GiKVyKI=; b=Y/278gyTrPjTt8VB5oMOAzrUNlLBRckDz2iHBj9ZFQg+D47TPbO8yoarRZl+8xOuSO Xi9g1DaUHV3ezXsw+FAOoVupmjJLNLyib/sg4SDD8yJM+w8f5OqRvq4Grwz38NZYOc1o +SXuXSaCfC+DZkgVzboSMPFhKTiHNPyOT+IFvWFVkbMPvq3RNcCN8H1LrjTeArRNfR6z gTR6AcJZvHQo5Li5Mfz289+QNtFbZF9NHWhgpzW0qw1vpvBXJpezNMLZs7XXshq1lz+R 5ME2Fqja+8/9NCCy8op0gpnd+JCmt9IVzi5MrY1zKjTjBLCnDsiy8hJj5i1AAsvBzPy9 bxQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766383418; x=1766988218; 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=jRrEo65pOkA10zcqstnnxrzqRwyrbM6potO7GiKVyKI=; b=Vbx4XL3lXbH1D64MRs4KaoM8M800uKLnUGqevupHGb+QnvpbKU3FurzBPVI1sUqGq3 331AxgGN2K79fkRDRLztWSiehcgHSblHluNnd3Jzwp3he40BSjIjp1NwwyMdQfVcGHHm D9SH8SwV+YohiNMOCpa87aW2e6AeitlWvxVWl3sAChy9glNARZkgXbgqyTPKdZ/aWaZE 3PFWqpAldtwNCXnz29LwEE58K7aMzc86/vnGgxNGn6gffF3uDzezYYVOneomwcHGh0CB /uVm5v7Ye+6qcy7VN+H/7ixB13VUhSu2iMOFd5/2ngNebRSsqZVLa1pZu9YqU66+8dU8 tYXQ== X-Forwarded-Encrypted: i=1; AJvYcCVd9ESx/r0XgnBGN+0rVJQjBzQ3/n1bL732+YYVuDlDGQ/YloEXNky7ms4EM+m8Xa/2AfmEOLrGHPPsdsE=@vger.kernel.org X-Gm-Message-State: AOJu0YwYEFLClK3ibrNaW5U69OqjTRR3r3ao6mITgLK3WNbTFXC0hXxE z/akPnSwWc5Eu1vZTmiEg4WK1Q5HMoOnMVWcx2RRuLTPSOx88KpAzyvC6VASVF47e98+/S3t8mg uW1TooHG2kV1hKChVL6aXbJUoPZe7JI/0LcJ5iovCtJwMaQnbdbjqlsjmGU7fKiv5eQs= X-Gm-Gg: AY/fxX7QlIIUMsaodQGcv9rUYbNI8JLIyrPpOCjAQGosslByYVZq+MBLVHu9UCMwoV/ M5edJIndzFzHsRlkP4mEeLb2XHMgtmc+yVHmYUlbUCtVPRog1MJRHfd6UiEobJcoUbMSOPMDE4m fooMHww1FaIgWr99BWEDcSzp07bzOb0juwUFVrB7KDIt/bqdTdmujbw4jq7R/Swv9WrwmGcYTEd NUeFKUOHZG9llJHJNa/isJiessee7oZyI1RItjSERkCyyU419ifeSqMd0lXy0/B6ssluP0St6FW cjjkwQjfRRM5A+GnPXzZ9eMaavVvNeDV4PG6IOcLCJyBDPpvPNpd1Vd1gfJDL79XSiSt1b34VUn BLfp3DRSFLFx9z30Qe8ZZj0log2+90dko+DC7D6twfMXY4sdgQ7PYXffmqwpoIDmfAG5BV/dkST w= X-Received: by 2002:a17:90b:37c3:b0:32b:65e6:ec48 with SMTP id 98e67ed59e1d1-34e921222e4mr8407957a91.8.1766383418511; Sun, 21 Dec 2025 22:03:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGKA3D0UZC+xjfh66ByXXzYWd/qrhrAJAJRBonmIq0VE51dl8kz7ILkP/PfuaCUcDaBWyqw9g== X-Received: by 2002:a17:90b:37c3:b0:32b:65e6:ec48 with SMTP id 98e67ed59e1d1-34e921222e4mr8407938a91.8.1766383418083; Sun, 21 Dec 2025 22:03:38 -0800 (PST) Received: from yijiyang-gv.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e769c347asm5846668a91.0.2025.12.21.22.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Dec 2025 22:03:37 -0800 (PST) From: YijieYang 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, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/4] firmware: qcom: scm: Allow QSEECOM on PURWA-IOT-EVK Date: Mon, 22 Dec 2025 14:03:26 +0800 Message-Id: <20251222060335.3485729-1-yijie.yang@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com> References: <20251222-purwa-v1-0-14ab9316e5ff@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: quoted-printable X-Proofpoint-GUID: IIJVKi021j8dY2k4774M32JAcqLetFk9 X-Authority-Analysis: v=2.4 cv=dPWrWeZb c=1 sm=1 tr=0 ts=6948df3b cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=A5G4tF9_Y6NSfw4zGTkA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: IIJVKi021j8dY2k4774M32JAcqLetFk9 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MiBTYWx0ZWRfXwtHRkRiVjWQA OYQc3dE68YN7haLAHtMSjmZloPXZczeXjJZruo0Kz18p28rQa4f+aP6Slj40yAbz1g3PiD5xBpS /LYarI1Vrk0HaevS5Nc41r0fEkcmTyeN8e/xu07NlVvZCGmh2MPdmoQ8U1pxIF1EthkbguBkPUd gKtFS+5bYX4LaocFi8T74aLTIfRp9Xyii9Zbo0n1jyeWGoHfuSlnKBL1o0XL2SL58ogv7MqATv4 s3mbmUMUsG3L6dHJKNQaxzT8uYChDKmXmhoQCQEFhuIiGBYF2nnFzuhHPJkrhdykpSCLKbALdCB jERtmF20YLniU2efIDc+f++7M5LsmMlDzANRUxpVdulz5pevWWkoQ2h6c74JOv+0iTUaDLpl/pu cVyoCG1n6UtiIlTDpGwC0sASo2LzxPjYHHNW9CJRxezNo5PXRE1s1X03xyhB4hFclqIiuY6FW1c 4UgUfDx3MACChek7Vjg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512220052 Content-Type: text/plain; charset="utf-8" From: Yijie Yang Add the Purwa-IoT-EVK board to the list to enable access to EFI variables. Guarantee that subsystems relying on SCM services can access secure-world features. This change improves reliability and prevents missing functionali= ty or boot-time issues by making service availability explicit. Signed-off-by: Yijie Yang --- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_= scm.c index 1a6f85e463e0..1fed7a81bd29 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -2010,6 +2010,7 @@ static const struct of_device_id qcom_scm_qseecom_all= owlist[] __maybe_unused =3D { { .compatible =3D "microsoft,romulus13", }, { .compatible =3D "microsoft,romulus15", }, { .compatible =3D "qcom,hamoa-iot-evk" }, + { .compatible =3D "qcom,purwa-iot-evk" }, { .compatible =3D "qcom,sc8180x-primus" }, { .compatible =3D "qcom,x1e001de-devkit" }, { .compatible =3D "qcom,x1e80100-crd" }, --=20 2.34.1 From nobody Sun Feb 8 13:28:10 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 27761324B30 for ; Mon, 22 Dec 2025 06:03:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383425; cv=none; b=juO0FchnmUz3x7k4PeNNcnRzn3nL2gb8qEOhsW7+NciWq4iK1zRiwOspGZ7s4xUnD6qqAezZfwR+mvCvfuN6w6rh858Kxjm5+gXfFwA6EYoBz8KzKmPgeYF3Mqa4Q4svbrKLM3er+vRkpRN4KNt4GeFHxOR/suKVQ9EFn+GF19k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383425; c=relaxed/simple; bh=msK0TuEP/JpApn2dMeevzdu9ZwAt5ednACbVKZ/f5kQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=ejquulXWoBA2gdTk8mg+2kdIg2DmWtsVCcmoXM2+N1r3kegjzXyuqppyDTvedSajuJ+0FWQFEdWGjWRUgMitL64tYaKSYXyXvyJuPW588PYnJ3lcu4POxizTccyteJ7z0UKZPeCOU0HMPvVqpaW8ZX0uSKYaCJeFcUbRw/ZeD6Q= 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=S0msa+hX; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=KPZPZ3zR; arc=none smtp.client-ip=205.220.168.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="S0msa+hX"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="KPZPZ3zR" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BM5g3Pe2189425 for ; Mon, 22 Dec 2025 06:03:42 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= 8oYBWLRKtgR5GUmRZy2q3lvFAkDKmsEyHlu3oxM4gzo=; b=S0msa+hX5UtsWxOX PzpkQ1G9nP1d7wVrN8wtMFDPkWq+aMlbLXpev3e36b5i49mAA3uTtUi91hxyVabr k3slFs5HYvOUi9X87V6zaW3xShE3hn4xg3TKla+nH+R2FLd2Fr+sN7ek752tyedy sDiODlrEQlyUVOHXOUcPy3GtMQf2YH0gKahUeeajC38KRBcUgScT0BagK2fOC5Hu ItkDX3caYMLNU1+75P1SjKg4VyJ781gUj8aJeuhhsCVetp+7CvSpWXFoI/OuSwPF IrI/yd6YLWba7V0ow5E8t5PsAeIhALG/KU/hmZtkakxu/DEwcQRWEbNuxfM0fohP wFy3rA== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b702t81vc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 22 Dec 2025 06:03:42 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-7b8a12f0cb4so4202095b3a.3 for ; Sun, 21 Dec 2025 22:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766383421; x=1766988221; 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=8oYBWLRKtgR5GUmRZy2q3lvFAkDKmsEyHlu3oxM4gzo=; b=KPZPZ3zRdeWGzRv0W7avDSVyKHkjLxKY0xh2LRqaspussSnnSL8iOhvEM0haFOzv6F Y6bYQ25dCUXjVjiV+dMPQXv601z9IYojPYyIx8+jAxLzepqwyGdvyT3C64eE0mzJ/voS +H495GgXtH+UN/44SavZ9LQAsa4pUOsU2ZoEoYDwNM03IcGDhBRKb/mTRTHsS48fFKxv MDoJw+ZtqlYujFndPbXpRnHS10IVtHSaOxpgYONnL/M38tUDZaA+mq3otAp97JzGL403 uiBrbP/6r6ghK9bT7VJPb2N7Dk8vVOqieDFfIdTkOG2YJgW3znXGn6YEKVSQk78Tm98u vedw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766383421; x=1766988221; 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=8oYBWLRKtgR5GUmRZy2q3lvFAkDKmsEyHlu3oxM4gzo=; b=ilY3f38vLs4x12nrkM8Zr8B5/WnlxQZ70d+Hfr/C9CQNBmwcJ1X13WzP/GdrFnbV0B cBo3WQh9YvdDDDiesyO0ulr1dFmWtqpv652Q4Vb+L8F9ibd83UAtdkrVH8c+RDDLss58 MSDfqfGbggu1ivnVKxFRYDhFWkqPaLyDQKUk7SxWlDFUC9gbqQCUGTDxyNfv4TyuKUZS gIggJku03ibBlqWFH86CBPhAkmLwKQnU3FlcqnsGswKNZzMWIyQU8gHGJJttN2SBBAEI WSBrKnrbJpcBt6EreO5duCNeT/ccOJMyt/5bLS7y+s7HrQaPnVmo3MKl9SlyzYcyvzvy hk9Q== X-Forwarded-Encrypted: i=1; AJvYcCWu8eJXuXXk/aDdxyjdWiwVKrgsLNHJ2BPGxjtx1meaaHKOv6RFzqhK5ruXYJ1vZQDtwv0DFIZbz5rVhXQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzeCapOwdLzhkcukbyHTDfxsmsJpp0Qum8o+GJB6c8EK1z1O/Jq Uu+yLWjM0BlYE93ZzpjJ2mt+knWEkACrtrZFzKcWTBBEcBqkkvRD/sJIX5iDGGgi7MJta//EpJo WSnZiWHcGJMj24+Z5atXK/UHkTacjb02ynPA7AOBckyRNw7+ITUt1x99qZVdrsHuhvGw= X-Gm-Gg: AY/fxX5oQin0+VOgtYa1jx9ztPDkECBsrj83J0Ezy/LHSnjWv3/9CZzdM+iksw+G+Vs afN1Q2jbsjPxzSE6KcpCVrZTxXAIOBRYk3XZ2uCLXJ9hz2NGS3Uco3bradQqnCuAckMjRSfXEMu AEH1vRKuXmAIVHvQJaCnPR1M2PCcGG3NibImKNIL/29ALQtZBrcKxcH2doG53G690jNFcZSVtr5 eYjH0cZUNcslDfqgZ2YJoMBzuqi8RfsPpa5DCQWzP8MVQeaSNMQBd10RXrnA5cVUwgObKQPmS9p ON1PUe2ustqhg1BWTaenAefrlcnIdhnLPMGjyqSdpXGMGQWazaabv0VfLp9gksPaXqOAwba7sgD Ue8mQRsQDWszEgM7ATtRQS1+PCy3zbMdmZ/Pvhdhfuaj0OZaHxLtPJUgL4oDVm812u8Q1ZASfLG w= X-Received: by 2002:a05:6a21:6d9a:b0:35d:2172:5ffb with SMTP id adf61e73a8af0-376a94b9f40mr10230678637.47.1766383421510; Sun, 21 Dec 2025 22:03:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKJYBoyMNtBT5Dte36/oKrc3vZ2zhaYD9wtz28QE77DUg421v+i/Yk7bQVy13uqXEQzDpUlA== X-Received: by 2002:a05:6a21:6d9a:b0:35d:2172:5ffb with SMTP id adf61e73a8af0-376a94b9f40mr10230659637.47.1766383421001; Sun, 21 Dec 2025 22:03:41 -0800 (PST) Received: from yijiyang-gv.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e769c347asm5846668a91.0.2025.12.21.22.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Dec 2025 22:03:40 -0800 (PST) From: YijieYang 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, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: arm: qcom: Document PURWA-IOT-EVK board Date: Mon, 22 Dec 2025 14:03:27 +0800 Message-Id: <20251222060335.3485729-2-yijie.yang@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com> References: <20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com> 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: quoted-printable X-Authority-Analysis: v=2.4 cv=SIhPlevH c=1 sm=1 tr=0 ts=6948df3e cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=x-iFITsqBy0uP5guFPEA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 X-Proofpoint-ORIG-GUID: mZshK-o_vhI6TkmShtUyG2fnJexEgofU X-Proofpoint-GUID: mZshK-o_vhI6TkmShtUyG2fnJexEgofU X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MiBTYWx0ZWRfX42cnKTOCo3hF ToqvDYpDkY6AUtQ4JJDaBRWfXUuGUHPrRY0yAsmpRjQIimzTxvh8BnMKfuAg+R/DILn2KFhSDOh HIERvdzGFBZfC/q+8nbvXEb27xo/Jk0sovgchaRvHp5PfF/9xcPbm7IuxPtdqgRIX+LedANUPmW IGuYdG5iNlMZSwo0wvLXm7VGD2QifvVU+p2fai4LJCOJr1WWRfXSIjD9oHsn7/6Sm1lVyIf9Dto vTY/tc0So0D3/wEB+vzcVUs6Mx6ZQPxNgtAoT0JJr/1Q5cbe4GQpkIit2FVprL4CRaKlhUaE3sR tXsgDvweQ0f7X93irrxnFd8Hse7dxXifb9z5gqqlv2wKa/buBevcTAKJY1w7DgEhGxYqpDCHvfe 1IZWoEngYmKQ9R6VSxpkgp721Be2htP1mqVNYnPlJ8Uw1f/4kuKqRxqjohPEABBFYnwLNGt1lGq Euyri+mNwTJq6Ra+cFA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 adultscore=0 phishscore=0 spamscore=0 suspectscore=0 clxscore=1015 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512220052 From: Yijie Yang Document the device tree bindings for the PURWA-IOT-EVK board, which uses the Qualcomm X1P42100 SoC. Split the common parts of the SoM and carrier boards for HAMOA and PURWA into separate files for better modularity. Introduce the IQ-X-IOT series here, as both HAMOA and PURWA belong to Qualcomm=E2=80=99s IQ-X family. For more details on IQ-X series, see: https://www.qualcomm.com/internet-of-things/products/iq-x-series Signed-off-by: Yijie Yang Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index d84bd3bca201..5797bbfac9a2 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -1089,6 +1089,12 @@ properties: - const: qcom,hamoa-iot-som - const: qcom,x1e80100 =20 + - items: + - enum: + - qcom,purwa-iot-evk + - const: qcom,purwa-iot-som + - const: qcom,x1p42100 + - items: - enum: - asus,zenbook-a14-ux3407qa-lcd --=20 2.34.1 From nobody Sun Feb 8 13:28:10 2026 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 C2858327C16 for ; Mon, 22 Dec 2025 06:03:48 +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=1766383433; cv=none; b=Gv1hrw8O98sIinerlY1NjUhu3drG41M0oC6aWXXmCyQc5ktE89EN2xYbKj6GET4iYlYe3Hn4AR+TWDD6VpKYW1roZI+CMQdS/X6JB4lJ6CuFE/jxa2Ga0mUj/J9QVzv1sTeEq7MLr1miIdvQ8VLRuQ+SO08TYD1YlSYtKOjIYsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383433; c=relaxed/simple; bh=mQv4+Bd79zv4noswzg8vtNCZBOYQlBkKhK9Swo1fO8E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=poXPqYlduN4edDct8b+9JjRTd27E8IGbYCZdB6bctNbfdtDTJpBaR8ZxCmargINSeX63i4d+kODcgOg+s500hMSRzUkav4PC9HqFOyHm1yXNUcPmZndmsPhvDA9WMnrSuVevWbtSX39vxYWFLUy0LeuXKrKjNgy0240Xp9CMWcU= 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=f0Fbjb66; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=SXYSBrjB; 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="f0Fbjb66"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="SXYSBrjB" 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 5BLN0jA74123783 for ; Mon, 22 Dec 2025 06:03:47 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=O6g0TtHCzpC CjfO+Zl1o4E9vNSzGGitZeUErMTiBp70=; b=f0Fbjb66axkrOFel78g9Pg+YQO7 w6sCGNozl1UpRr30q2zEWw0Qz0PZ/TETm7ZcnSrKxSdvqQDh/p2cgH8PQOFZPkHr 93RrG4T0/WWeb6D4W9BzmcPU5FSAts5b6w0k9j53XQAtiwTFOsNAB5cXctKlshXx 87iXDhAG47WuW99hG5IdhKe9zWGtNULk/Mmw4HNeWzc6b+ZG7ph2rRnUFNcTK4uk NBfbG3UoUbXE7rhYlsmtWx8/kwG/g2dVefXW2fuFHbDhq9AdOImttofJUJz7du8N goA49UTLJ1VJwZqzJy8zyTN+m8D0xgTW4A5UWZb+/6PRJHp/CUR2TJK2klw== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b5mux3ukw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 22 Dec 2025 06:03:47 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-b9d73d57328so3889033a12.1 for ; Sun, 21 Dec 2025 22:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766383426; x=1766988226; 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=O6g0TtHCzpCCjfO+Zl1o4E9vNSzGGitZeUErMTiBp70=; b=SXYSBrjBs84cIzui6FR3ovFz7MtfJubg6IyRF4AwyvQknFF3hTbNzSBBS73+N213iO L99BWPC+Yr/QItrSJUiaCbM9GgM1oS0inTmiEWidu6NGHB6/KMB/FR+mfGSZCeASTlYX T3Aii6va1/dqVl7WekrmK5IJT8Xr9e6KZEuykigmCdqedJRDJwR5tuG6RrFyFXc9Adzq MJB59QFfNMp8v4uguu0RVYRh1ii3qusj+9doMnPTs8obqKTP+MBAppWGhC67xetmAojj AI50g2YoCeI29ctBFyOxyYZlTHw6FNncpUNbEJFkedN7q6xnJYtAnfD9zQNGXtW7ERmG 4zqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766383426; x=1766988226; 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=O6g0TtHCzpCCjfO+Zl1o4E9vNSzGGitZeUErMTiBp70=; b=rwb5nMiSg3YXMWktu/4m9qhiQhnMYiYs5yrwzowDoSmDpEOZF/1lMK8diqBj/px+5a pdQhfflS0wSQWto3m4Lwa+tutm6fw3fXEoZoCBrYOXD1KyeIKE4bOz/QX3ypEjY0fKGh +emTO6vPMk6BgPzdCoTW/AK02leajnrC2G7yDasySpCUXKVNGfZu/cWVtUjuW8+XaLwo g4Ph7bKlwCJu55qUeL0KwcSizXzOzWri5rCxOjNl9UfPItz3+CxAi9308GhkslBvn5P1 MfzmNDyMZ+U+fv7IH9Ikthih71kQVsi5KzgNTmqBCLcTwweRwG0UJiobkhbfgU/zT6Kv Nw6A== X-Forwarded-Encrypted: i=1; AJvYcCUQu0GI8GsaPffKiHQHK9z6+GC77AzX4e6/lGHt/1NaVFz4BUn+Uk5UmgBEEjUeQkkAf1kDuJGhwjS4G9c=@vger.kernel.org X-Gm-Message-State: AOJu0Yw9o6zMvs1radquwnS+c0hUh0Iqw4jupCt6mTVoFVqiEKOZMVHa exbBMu//M2m0a9ZiCsGy4aq8/2jIZcDnA4LlqnH8tictvAg7ujw/R1otN9tcDUd41qQa3CcwARD o/MTKTPn9XJvQFGtSqD0e2Aiak9WCFvGpfcyxnMBh/5qOr2urDG3msAUTgTshrZuL/CU= X-Gm-Gg: AY/fxX5X7YxLHcGZFrOX09opBdCZ6kaC+jPJ+SAanbjvChUsBSZZgnF2bOxp5v0P0Kt elCr20+9vF2g7ISNzsLBtPGKbjfhEPuIGgduNDqeO9vJCC7xP2CC5FGeoRRbfbNMfgWkOVXoa36 nTtPxgLrqfiUybJKP3gTuHXyQA7f5lbIxllzSk1ZKwyS/gztEdFgk8nvdrAG5bShjMzRY9kiSzO d3CEyvPQv4mzQ00496GHCKDlpSmTsl5cjRznu3ZMdLdKXjDZtcDk+Jj20BzCgYNVK9B52xaVrVy GfvCXqpYz1IiOC/CPOeHgl0mgwCpSsOVoRadvhwyXvet+D6XfT97NBnMPPs0tpSj5Mp6HHoa870 wymmRAPxtG3HvdjveZOhtF2A5+k0cdKpM0FQ0ecAndTW/WAZv1X9ARjxFw38VWqY44u+aya+UoS c= X-Received: by 2002:a05:6a21:6d98:b0:364:86a:46b2 with SMTP id adf61e73a8af0-376a9ccbb0bmr10044092637.57.1766383425358; Sun, 21 Dec 2025 22:03:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGWvfKrfzLP0IBlY81E1BWEZS0633wnqfCZRadnc90GqjG/vFRsrC6I1scd4mq741qUMVhbXw== X-Received: by 2002:a05:6a21:6d98:b0:364:86a:46b2 with SMTP id adf61e73a8af0-376a9ccbb0bmr10044052637.57.1766383424476; Sun, 21 Dec 2025 22:03:44 -0800 (PST) Received: from yijiyang-gv.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e769c347asm5846668a91.0.2025.12.21.22.03.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Dec 2025 22:03:44 -0800 (PST) From: YijieYang 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, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/4] arm64: dts: qcom: Commonize IQ-X-IOT DTSI Date: Mon, 22 Dec 2025 14:03:28 +0800 Message-Id: <20251222060335.3485729-3-yijie.yang@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com> References: <20251222-purwa-v1-0-14ab9316e5ff@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: quoted-printable X-Proofpoint-ORIG-GUID: u5NfIPbLh9UpBETgnXjIKNpuNosrQL-w X-Authority-Analysis: v=2.4 cv=EvnfbCcA c=1 sm=1 tr=0 ts=6948df43 cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=NDxcHBdl3gnZmD__7mcA:9 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-GUID: u5NfIPbLh9UpBETgnXjIKNpuNosrQL-w X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MiBTYWx0ZWRfX805pO3wzaf/m dlWZsA26DUriLV1znUUvxTIGFHPU6/pEj+1vzJ+mBh3OrlCPVld6DZh1Wt5cbX1ZHU3MOx/D2FK 4X/FfQI7JFNgenJ80DUrkjyP9u+0oIL3WJ1ITBlRnmwCWp22T3bGDjzrFYZgphTcmzQXI329LHK NfA95c7Q3FsD/+CbMPTopIfVR9cDBiHJ2RUZBtsfdo0NXoxR0dWZB4dHdTsS+Do8TCVri5Dw6fX nu08nzb/TYeYQS2LUcKJoTWq7xQ7jd/TIDFPmn6viUAXTBIEhsBng+SaOa+kG0rbDLMwZGV4eQr teVlCB2ELTiBqkS/YZJEP9IvTUMHc27440186YjswF2PTD6Cs7H3Os1kNX+HpeYfgY9zuFQ8qK0 qDzzzK5hRQR+ElMGPisv/qOPTKZ6n9BW+jq5/zv7KuV57Nmi6dx9AWD9QD1KrGMGtm2VmuFWmwQ X40pmexYrFZ9xiZ+vqA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0 clxscore=1011 priorityscore=1501 spamscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512220052 Content-Type: text/plain; charset="utf-8" From: Yijie Yang HAMOA-IOT-EVK and PURWA-IOT-EVK share a similar board design. Extract the common components into separate files for better maintainability. PURWA-IOT-EVK shares almost the same hardware design with HAMOA-IOT-EVK, except for differences in the BOM. The differences between the two boards include the following: - USB0 on Purwa uses the PS8833 as a retimer, while on Hamoa it uses the FSUSB42 as an SBU mode selector. - Purwa has only one camera, whereas Hamoa includes two. - Purwa provides a 4-lane PCIe3 interface, while Hamoa offers an 8-lane configuration. - The videos on Purwa and Hamoa differ because their clocks and frequencies are not aligned. Purwa and Hamoa are IoT variants of x1p42100 and x1e80100, both based on the IQ-X SoC series. Consequently, the two common files in this series are prefixed with 'iq-x-iot' to reflect this relationship. Signed-off-by: Yijie Yang --- arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 1328 ++--------------- arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi | 633 +------- .../{hamoa-iot-evk.dts =3D> iq-x-iot-evk.dtsi} | 74 +- .../{hamoa-iot-som.dtsi =3D> iq-x-iot-som.dtsi} | 9 - 4 files changed, 104 insertions(+), 1940 deletions(-) rewrite arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts (95%) rewrite arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi (98%) copy arch/arm64/boot/dts/qcom/{hamoa-iot-evk.dts =3D> iq-x-iot-evk.dtsi} (= 94%) copy arch/arm64/boot/dts/qcom/{hamoa-iot-som.dtsi =3D> iq-x-iot-som.dtsi} = (99%) diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/d= ts/qcom/hamoa-iot-evk.dts dissimilarity index 95% index 36dd6599402b..418d8a6c573b 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts @@ -1,1242 +1,86 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -/dts-v1/; - -#include "hamoa-iot-som.dtsi" - -/ { - model =3D "Qualcomm Technologies, Inc. Hamoa IoT EVK"; - compatible =3D "qcom,hamoa-iot-evk", "qcom,hamoa-iot-som", "qcom,x1e80100= "; - chassis-type =3D "embedded"; - - aliases { - serial0 =3D &uart21; - serial1 =3D &uart14; - }; - - wcd938x: audio-codec { - compatible =3D "qcom,wcd9385-codec"; - - pinctrl-0 =3D <&wcd_default>; - pinctrl-names =3D "default"; - - reset-gpios =3D <&tlmm 191 GPIO_ACTIVE_LOW>; - - qcom,micbias1-microvolt =3D <1800000>; - qcom,micbias2-microvolt =3D <1800000>; - qcom,micbias3-microvolt =3D <1800000>; - qcom,micbias4-microvolt =3D <1800000>; - qcom,mbhc-buttons-vthreshold-microvolt =3D <75000 150000 237000 500000 - 500000 500000 500000 500000>; - qcom,mbhc-headset-vthreshold-microvolt =3D <1700000>; - qcom,mbhc-headphone-vthreshold-microvolt =3D <50000>; - qcom,rx-device =3D <&wcd_rx>; - qcom,tx-device =3D <&wcd_tx>; - - vdd-buck-supply =3D <&vreg_l15b_1p8>; - vdd-rxtx-supply =3D <&vreg_l15b_1p8>; - vdd-io-supply =3D <&vreg_l15b_1p8>; - vdd-mic-bias-supply =3D <&vreg_bob1>; - - #sound-dai-cells =3D <1>; - }; - - chosen { - stdout-path =3D "serial0:115200n8"; - }; - - pmic-glink { - compatible =3D "qcom,x1e80100-pmic-glink", - "qcom,sm8550-pmic-glink", - "qcom,pmic-glink"; - #address-cells =3D <1>; - #size-cells =3D <0>; - orientation-gpios =3D <&tlmm 121 GPIO_ACTIVE_HIGH>, - <&tlmm 123 GPIO_ACTIVE_HIGH>, - <&tlmm 125 GPIO_ACTIVE_HIGH>; - - connector@0 { - compatible =3D "usb-c-connector"; - reg =3D <0>; - power-role =3D "dual"; - data-role =3D "dual"; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - pmic_glink_ss0_hs_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; - }; - }; - - port@1 { - reg =3D <1>; - - pmic_glink_ss0_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; - }; - }; - - port@2 { - reg =3D <2>; - - pmic_glink_ss0_sbu: endpoint { - remote-endpoint =3D <&usb_1_ss0_sbu_mux>; - }; - }; - }; - }; - - connector@1 { - compatible =3D "usb-c-connector"; - reg =3D <1>; - power-role =3D "dual"; - data-role =3D "dual"; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - pmic_glink_ss1_hs_in: endpoint { - remote-endpoint =3D <&usb_1_ss1_dwc3_hs>; - }; - }; - - port@1 { - reg =3D <1>; - - pmic_glink_ss1_ss_in: endpoint { - remote-endpoint =3D <&retimer_ss1_ss_out>; - }; - }; - - port@2 { - reg =3D <2>; - - pmic_glink_ss1_con_sbu_in: endpoint { - remote-endpoint =3D <&retimer_ss1_con_sbu_out>; - }; - }; - }; - }; - - connector@2 { - compatible =3D "usb-c-connector"; - reg =3D <2>; - power-role =3D "dual"; - data-role =3D "dual"; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - pmic_glink_ss2_hs_in: endpoint { - remote-endpoint =3D <&usb_1_ss2_dwc3_hs>; - }; - }; - - port@1 { - reg =3D <1>; - - pmic_glink_ss2_ss_in: endpoint { - remote-endpoint =3D <&retimer_ss2_ss_out>; - }; - }; - - port@2 { - reg =3D <2>; - - pmic_glink_ss2_con_sbu_in: endpoint { - remote-endpoint =3D <&retimer_ss2_con_sbu_out>; - }; - }; - }; - }; - }; - - vreg_edp_3p3: regulator-edp-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_EDP_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 70 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&edp_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_nvme: regulator-nvme { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_NVME_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&nvme_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - /* Left unused as the retimer is not used on this board. */ - vreg_rtmr0_1p15: regulator-rtmr0-1p15 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR0_1P15"; - regulator-min-microvolt =3D <1150000>; - regulator-max-microvolt =3D <1150000>; - - gpio =3D <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_pwr_1p15_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr0_1p8: regulator-rtmr0-1p8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR0_1P8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - gpio =3D <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_1p8_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr0_3p3: regulator-rtmr0-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR0_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb0_3p3_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr1_1p15: regulator-rtmr1-1p15 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_1P15"; - regulator-min-microvolt =3D <1150000>; - regulator-max-microvolt =3D <1150000>; - - gpio =3D <&tlmm 188 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_1p15_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr1_1p8: regulator-rtmr1-1p8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_1P8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - gpio =3D <&tlmm 175 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_1p8_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr1_3p3: regulator-rtmr1-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR1_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 186 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb1_pwr_3p3_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr2_1p15: regulator-rtmr2-1p15 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR2_1P15"; - regulator-min-microvolt =3D <1150000>; - regulator-max-microvolt =3D <1150000>; - - gpio =3D <&tlmm 189 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb2_pwr_1p15_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr2_1p8: regulator-rtmr2-1p8 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR2_1P8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - - gpio =3D <&tlmm 126 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb2_pwr_1p8_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vreg_rtmr2_3p3: regulator-rtmr2-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_RTMR2_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 187 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&usb2_pwr_3p3_reg_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - vph_pwr: regulator-vph-pwr { - compatible =3D "regulator-fixed"; - - regulator-name =3D "vph_pwr"; - regulator-min-microvolt =3D <3700000>; - regulator-max-microvolt =3D <3700000>; - - regulator-always-on; - regulator-boot-on; - }; - - /* - * TODO: These two regulators are actually part of the removable M.2 - * card and not the EVK mainboard. Need to describe this differently. - * Functionally it works correctly, because all we need to do is to - * turn on the actual 3.3V supply above. - */ - vreg_wcn_0p95: regulator-wcn-0p95 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_WCN_0P95"; - regulator-min-microvolt =3D <950000>; - regulator-max-microvolt =3D <950000>; - - vin-supply =3D <&vreg_wcn_3p3>; - }; - - vreg_wcn_1p9: regulator-wcn-1p9 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_WCN_1P9"; - regulator-min-microvolt =3D <1900000>; - regulator-max-microvolt =3D <1900000>; - - vin-supply =3D <&vreg_wcn_3p3>; - }; - - vreg_wcn_3p3: regulator-wcn-3p3 { - compatible =3D "regulator-fixed"; - - regulator-name =3D "VREG_WCN_3P3"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 214 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&wcn_sw_en>; - pinctrl-names =3D "default"; - - regulator-always-on; - regulator-boot-on; - }; - - vreg_wwan: regulator-wwan { - compatible =3D "regulator-fixed"; - - regulator-name =3D "SDX_VPH_PWR"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - - gpio =3D <&tlmm 221 GPIO_ACTIVE_HIGH>; - enable-active-high; - - pinctrl-0 =3D <&wwan_sw_en>; - pinctrl-names =3D "default"; - - regulator-boot-on; - }; - - sound { - compatible =3D "qcom,x1e80100-sndcard"; - model =3D "X1E80100-EVK"; - audio-routing =3D "WooferLeft IN", "WSA WSA_SPK1 OUT", - "TweeterLeft IN", "WSA WSA_SPK2 OUT", - "WooferRight IN", "WSA2 WSA_SPK2 OUT", - "TweeterRight IN", "WSA2 WSA_SPK2 OUT", - "IN1_HPHL", "HPHL_OUT", - "IN2_HPHR", "HPHR_OUT", - "AMIC2", "MIC BIAS2", - "VA DMIC0", "MIC BIAS3", - "VA DMIC1", "MIC BIAS3", - "VA DMIC2", "MIC BIAS1", - "VA DMIC3", "MIC BIAS1", - "TX SWR_INPUT1", "ADC2_OUTPUT"; - - wcd-playback-dai-link { - link-name =3D "WCD Playback"; - - codec { - sound-dai =3D <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; - }; - - cpu { - sound-dai =3D <&q6apmbedai RX_CODEC_DMA_RX_0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - wcd-capture-dai-link { - link-name =3D "WCD Capture"; - - codec { - sound-dai =3D <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; - }; - - cpu { - sound-dai =3D <&q6apmbedai TX_CODEC_DMA_TX_3>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - wsa-dai-link { - link-name =3D "WSA Playback"; - - codec { - sound-dai =3D <&left_woofer>, - <&left_tweeter>, - <&swr0 0>, - <&lpass_wsamacro 0>, - <&right_woofer>, - <&right_tweeter>, - <&swr3 0>, - <&lpass_wsa2macro 0>; - }; - - cpu { - sound-dai =3D <&q6apmbedai WSA_CODEC_DMA_RX_0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - - va-dai-link { - link-name =3D "VA Capture"; - - codec { - sound-dai =3D <&lpass_vamacro 0>; - }; - - cpu { - sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; - }; - - platform { - sound-dai =3D <&q6apm>; - }; - }; - }; - - usb-1-ss0-sbu-mux { - compatible =3D "onnn,fsusb42", "gpio-sbu-mux"; - - enable-gpios =3D <&tlmm 168 GPIO_ACTIVE_LOW>; - select-gpios =3D <&tlmm 167 GPIO_ACTIVE_HIGH>; - - pinctrl-0 =3D <&usb_1_ss0_sbu_default>; - pinctrl-names =3D "default"; - - mode-switch; - orientation-switch; - - port { - usb_1_ss0_sbu_mux: endpoint { - remote-endpoint =3D <&pmic_glink_ss0_sbu>; - }; - }; - }; - - wcn7850-pmu { - compatible =3D "qcom,wcn7850-pmu"; - - vdd-supply =3D <&vreg_wcn_0p95>; - vddio-supply =3D <&vreg_l15b_1p8>; - vddaon-supply =3D <&vreg_wcn_0p95>; - vdddig-supply =3D <&vreg_wcn_0p95>; - vddrfa1p2-supply =3D <&vreg_wcn_1p9>; - vddrfa1p8-supply =3D <&vreg_wcn_1p9>; - - bt-enable-gpios =3D <&tlmm 116 GPIO_ACTIVE_HIGH>; - wlan-enable-gpios =3D <&tlmm 117 GPIO_ACTIVE_HIGH>; - - pinctrl-0 =3D <&wcn_bt_en>; - pinctrl-names =3D "default"; - - regulators { - vreg_pmu_rfa_cmn: ldo0 { - regulator-name =3D "vreg_pmu_rfa_cmn"; - }; - - vreg_pmu_aon_0p59: ldo1 { - regulator-name =3D "vreg_pmu_aon_0p59"; - }; - - vreg_pmu_wlcx_0p8: ldo2 { - regulator-name =3D "vreg_pmu_wlcx_0p8"; - }; - - vreg_pmu_wlmx_0p85: ldo3 { - regulator-name =3D "vreg_pmu_wlmx_0p85"; - }; - - vreg_pmu_btcmx_0p85: ldo4 { - regulator-name =3D "vreg_pmu_btcmx_0p85"; - }; - - vreg_pmu_rfa_0p8: ldo5 { - regulator-name =3D "vreg_pmu_rfa_0p8"; - }; - - vreg_pmu_rfa_1p2: ldo6 { - regulator-name =3D "vreg_pmu_rfa_1p2"; - }; - - vreg_pmu_rfa_1p8: ldo7 { - regulator-name =3D "vreg_pmu_rfa_1p8"; - }; - - vreg_pmu_pcie_0p9: ldo8 { - regulator-name =3D "vreg_pmu_pcie_0p9"; - }; - - vreg_pmu_pcie_1p8: ldo9 { - regulator-name =3D "vreg_pmu_pcie_1p8"; - }; - }; - }; -}; - -&i2c1 { - clock-frequency =3D <400000>; - status =3D "okay"; - - typec-mux@8 { - compatible =3D "parade,ps8830"; - reg =3D <0x08>; - - clocks =3D <&rpmhcc RPMH_RF_CLK5>; - - vdd-supply =3D <&vreg_rtmr2_1p15>; - vdd33-supply =3D <&vreg_rtmr2_3p3>; - vdd33-cap-supply =3D <&vreg_rtmr2_3p3>; - vddar-supply =3D <&vreg_rtmr2_1p15>; - vddat-supply =3D <&vreg_rtmr2_1p15>; - vddio-supply =3D <&vreg_rtmr2_1p8>; - - reset-gpios =3D <&tlmm 185 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&rtmr2_default>; - pinctrl-names =3D "default"; - - orientation-switch; - retimer-switch; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - retimer_ss2_ss_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss2_ss_in>; - }; - }; - - port@1 { - reg =3D <1>; - - retimer_ss2_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss2_qmpphy_out>; - }; - }; - - port@2 { - reg =3D <2>; - - retimer_ss2_con_sbu_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss2_con_sbu_in>; - }; - }; - }; - }; -}; - -&i2c5 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - eusb3_repeater: redriver@47 { - compatible =3D "nxp,ptn3222"; - reg =3D <0x47>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b_3p0>; - vdd1v8-supply =3D <&vreg_l4b_1p8>; - - reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb3_reset_n>; - pinctrl-names =3D "default"; - }; - - eusb5_repeater: redriver@43 { - compatible =3D "nxp,ptn3222"; - reg =3D <0x43>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b_3p0>; - vdd1v8-supply =3D <&vreg_l4b_1p8>; - - reset-gpios =3D <&tlmm 7 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb5_reset_n>; - pinctrl-names =3D "default"; - }; - - eusb6_repeater: redriver@4f { - compatible =3D "nxp,ptn3222"; - reg =3D <0x4f>; - #phy-cells =3D <0>; - - vdd3v3-supply =3D <&vreg_l13b_3p0>; - vdd1v8-supply =3D <&vreg_l4b_1p8>; - - reset-gpios =3D <&tlmm 184 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&eusb6_reset_n>; - pinctrl-names =3D "default"; - }; -}; - -&i2c7 { - clock-frequency =3D <400000>; - - status =3D "okay"; - - typec-mux@8 { - compatible =3D "parade,ps8830"; - reg =3D <0x8>; - - clocks =3D <&rpmhcc RPMH_RF_CLK4>; - - vdd-supply =3D <&vreg_rtmr1_1p15>; - vdd33-supply =3D <&vreg_rtmr1_3p3>; - vdd33-cap-supply =3D <&vreg_rtmr1_3p3>; - vddar-supply =3D <&vreg_rtmr1_1p15>; - vddat-supply =3D <&vreg_rtmr1_1p15>; - vddio-supply =3D <&vreg_rtmr1_1p8>; - - reset-gpios =3D <&tlmm 176 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&rtmr1_default>; - pinctrl-names =3D "default"; - - retimer-switch; - orientation-switch; - - ports { - #address-cells =3D <1>; - #size-cells =3D <0>; - - port@0 { - reg =3D <0>; - - retimer_ss1_ss_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss1_ss_in>; - }; - }; - - port@1 { - reg =3D <1>; - - retimer_ss1_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss1_qmpphy_out>; - }; - }; - - port@2 { - reg =3D <2>; - - retimer_ss1_con_sbu_out: endpoint { - remote-endpoint =3D <&pmic_glink_ss1_con_sbu_in>; - }; - }; - }; - }; -}; - -&lpass_tlmm { - spkr_0_sd_n_active: spkr-0-sd-n-active-state { - pins =3D "gpio12"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - }; - - spkr_1_sd_n_active: spkr-1-sd-n-active-state { - pins =3D "gpio13"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - }; - - spkr_2_sd_n_active: spkr-2-sd-n-active-state { - pins =3D "gpio17"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - }; - - spkr_3_sd_n_active: spkr-3-sd-n-active-state { - pins =3D "gpio18"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - }; -}; - -&lpass_vamacro { - pinctrl-0 =3D <&dmic01_default>, <&dmic23_default>; - pinctrl-names =3D "default"; - - vdd-micb-supply =3D <&vreg_l1b_1p8>; - qcom,dmic-sample-rate =3D <4800000>; -}; - -&mdss { - status =3D "okay"; -}; - -&mdss_dp0 { - status =3D "okay"; -}; - -&mdss_dp0_out { - link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; -}; - -&mdss_dp1 { - status =3D "okay"; -}; - -&mdss_dp1_out { - link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; -}; - -&mdss_dp2 { - status =3D "okay"; -}; - -&mdss_dp2_out { - link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; -}; - -&mdss_dp3 { - /delete-property/ #sound-dai-cells; - - pinctrl-0 =3D <&edp0_hpd_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; - - aux-bus { - panel { - compatible =3D "edp-panel"; - power-supply =3D <&vreg_edp_3p3>; - - port { - edp_panel_in: endpoint { - remote-endpoint =3D <&mdss_dp3_out>; - }; - }; - }; - }; -}; - -&mdss_dp3_out { - data-lanes =3D <0 1 2 3>; - link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; - - remote-endpoint =3D <&edp_panel_in>; -}; - -&mdss_dp3_phy { - vdda-phy-supply =3D <&vreg_l3j_0p8>; - vdda-pll-supply =3D <&vreg_l2j_1p2>; - - status =3D "okay"; -}; - -&pcie6a { - vddpe-3v3-supply =3D <&vreg_nvme>; -}; - -&pm8550_gpios { - rtmr0_default: rtmr0-reset-n-active-state { - pins =3D "gpio10"; - function =3D "normal"; - power-source =3D <1>; /* 1.8V */ - bias-disable; - input-disable; - output-enable; - }; - - usb0_3p3_reg_en: usb0-3p3-reg-en-state { - pins =3D "gpio11"; - function =3D "normal"; - power-source =3D <1>; /* 1.8V */ - bias-disable; - input-disable; - output-enable; - }; -}; - -&pm8550ve_9_gpios { - usb0_1p8_reg_en: usb0-1p8-reg-en-state { - pins =3D "gpio8"; - function =3D "normal"; - power-source =3D <1>; /* 1.8V */ - bias-disable; - input-disable; - output-enable; - }; -}; - -&pmc8380_5_gpios { - usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { - pins =3D "gpio8"; - function =3D "normal"; - power-source =3D <1>; /* 1.8V */ - bias-disable; - input-disable; - output-enable; - }; -}; - -&smb2360_0 { - status =3D "okay"; -}; - -&smb2360_0_eusb2_repeater { - vdd18-supply =3D <&vreg_l3d_1p8>; - vdd3-supply =3D <&vreg_l2b_3p0>; -}; - -&smb2360_1 { - status =3D "okay"; -}; - -&smb2360_1_eusb2_repeater { - vdd18-supply =3D <&vreg_l3d_1p8>; - vdd3-supply =3D <&vreg_l14b_3p0>; -}; - -&smb2360_2 { - status =3D "okay"; -}; - -&smb2360_2_eusb2_repeater { - vdd18-supply =3D <&vreg_l3d_1p8>; - vdd3-supply =3D <&vreg_l8b_3p0>; -}; - -&swr0 { - status =3D "okay"; - - pinctrl-0 =3D <&wsa_swr_active>; - pinctrl-names =3D "default"; - - /* WSA8845, Left Woofer */ - left_woofer: speaker@0,0 { - compatible =3D "sdw20217020400"; - pinctrl-0 =3D <&spkr_0_sd_n_active>; - pinctrl-names =3D "default"; - reg =3D <0 0>; - reset-gpios =3D <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; - #sound-dai-cells =3D <0>; - sound-name-prefix =3D "WooferLeft"; - vdd-1p8-supply =3D <&vreg_l15b_1p8>; - vdd-io-supply =3D <&vreg_l12b_1p2>; - qcom,port-mapping =3D <1 2 3 7 10 13>; - }; - - /* WSA8845, Left Tweeter */ - left_tweeter: speaker@0,1 { - compatible =3D "sdw20217020400"; - pinctrl-0 =3D <&spkr_1_sd_n_active>; - pinctrl-names =3D "default"; - reg =3D <0 1>; - reset-gpios =3D <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; - #sound-dai-cells =3D <0>; - sound-name-prefix =3D "TweeterLeft"; - vdd-1p8-supply =3D <&vreg_l15b_1p8>; - vdd-io-supply =3D <&vreg_l12b_1p2>; - qcom,port-mapping =3D <4 5 6 7 11 13>; - }; -}; - -&swr1 { - status =3D "okay"; - - /* WCD9385 RX */ - wcd_rx: codec@0,4 { - compatible =3D "sdw20217010d00"; - reg =3D <0 4>; - qcom,rx-port-mapping =3D <1 2 3 4 5>; - }; -}; - -&swr2 { - status =3D "okay"; - - /* WCD9385 TX */ - wcd_tx: codec@0,3 { - compatible =3D "sdw20217010d00"; - reg =3D <0 3>; - qcom,tx-port-mapping =3D <2 2 3 4>; - }; -}; - -&swr3 { - status =3D "okay"; - - pinctrl-0 =3D <&wsa2_swr_active>; - pinctrl-names =3D "default"; - - /* WSA8845, Right Woofer */ - right_woofer: speaker@0,0 { - compatible =3D "sdw20217020400"; - pinctrl-0 =3D <&spkr_2_sd_n_active>; - pinctrl-names =3D "default"; - reg =3D <0 0>; - reset-gpios =3D <&lpass_tlmm 17 GPIO_ACTIVE_LOW>; - #sound-dai-cells =3D <0>; - sound-name-prefix =3D "WooferRight"; - vdd-1p8-supply =3D <&vreg_l15b_1p8>; - vdd-io-supply =3D <&vreg_l12b_1p2>; - qcom,port-mapping =3D <1 2 3 7 10 13>; - }; - - /* WSA8845, Right Tweeter */ - right_tweeter: speaker@0,1 { - compatible =3D "sdw20217020400"; - pinctrl-0 =3D <&spkr_3_sd_n_active>; - pinctrl-names =3D "default"; - reg =3D <0 1>; - reset-gpios =3D <&lpass_tlmm 18 GPIO_ACTIVE_LOW>; - #sound-dai-cells =3D <0>; - sound-name-prefix =3D "TweeterRight"; - vdd-1p8-supply =3D <&vreg_l15b_1p8>; - vdd-io-supply =3D <&vreg_l12b_1p2>; - qcom,port-mapping =3D <4 5 6 7 11 13>; - }; -}; - -&tlmm { - edp_reg_en: edp-reg-en-state { - pins =3D "gpio70"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - }; - - eusb3_reset_n: eusb3-reset-n-state { - pins =3D "gpio6"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - output-low; - }; - - eusb5_reset_n: eusb5-reset-n-state { - pins =3D "gpio7"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - output-low; - }; - - eusb6_reset_n: eusb6-reset-n-state { - pins =3D "gpio184"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - output-low; - }; - - nvme_reg_en: nvme-reg-en-state { - pins =3D "gpio18"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - rtmr1_default: rtmr1-reset-n-active-state { - pins =3D "gpio176"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - rtmr2_default: rtmr2-reset-n-active-state { - pins =3D "gpio185"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_pwr_1p15_reg_en: usb1-pwr-1p15-reg-en-state { - pins =3D "gpio188"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_pwr_1p8_reg_en: usb1-pwr-1p8-reg-en-state { - pins =3D "gpio175"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb1_pwr_3p3_reg_en: usb1-pwr-3p3-reg-en-state { - pins =3D "gpio186"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb2_pwr_1p15_reg_en: usb2-pwr-1p15-reg-en-state { - pins =3D "gpio189"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb2_pwr_1p8_reg_en: usb2-pwr-1p8-reg-en-state { - pins =3D "gpio126"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state { - pins =3D "gpio187"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - usb_1_ss0_sbu_default: usb-1-ss0-sbu-state { - mode-pins { - pins =3D "gpio166"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - output-high; - }; - - oe-n-pins { - pins =3D "gpio168"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - - sel-pins { - pins =3D "gpio167"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - }; - - wcd_default: wcd-reset-n-active-state { - pins =3D "gpio191"; - function =3D "gpio"; - drive-strength =3D <16>; - bias-disable; - output-low; - }; - - wcn_bt_en: wcn-bt-en-state { - pins =3D "gpio116"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - wwan_sw_en: wwan-sw-en-state { - pins =3D "gpio221"; - function =3D "gpio"; - drive-strength =3D <4>; - bias-disable; - }; - - wcn_sw_en: wcn-sw-en-state { - pins =3D "gpio214"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - /* Switches USB signal routing between the USB connector and the Wi-Fi ca= rd. */ - wcn_usb_sw_n: wcn-usb-sw-n-state { - pins =3D "gpio225"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - output-high; - }; -}; - -&uart14 { - status =3D "okay"; - - bluetooth { - compatible =3D "qcom,wcn7850-bt"; - max-speed =3D <3200000>; - - vddaon-supply =3D <&vreg_pmu_aon_0p59>; - vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; - vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; - vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; - vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; - vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; - vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; - }; -}; - -&uart21 { - compatible =3D "qcom,geni-debug-uart"; - - status =3D "okay"; -}; - -&usb_1_ss0_dwc3_hs { - remote-endpoint =3D <&pmic_glink_ss0_hs_in>; -}; - -&usb_1_ss0_hsphy { - phys =3D <&smb2360_0_eusb2_repeater>; -}; - -&usb_1_ss0_qmpphy_out { - remote-endpoint =3D <&pmic_glink_ss0_ss_in>; -}; - -&usb_1_ss1_dwc3_hs { - remote-endpoint =3D <&pmic_glink_ss1_hs_in>; -}; - -&usb_1_ss1_hsphy { - phys =3D <&smb2360_1_eusb2_repeater>; -}; - -&usb_1_ss1_qmpphy_out { - remote-endpoint =3D <&retimer_ss1_ss_in>; -}; - -&usb_1_ss2_dwc3_hs { - remote-endpoint =3D <&pmic_glink_ss2_hs_in>; -}; - -&usb_1_ss2_hsphy { - phys =3D <&smb2360_2_eusb2_repeater>; -}; - -&usb_1_ss2_qmpphy_out { - remote-endpoint =3D <&retimer_ss2_ss_in>; -}; - -&usb_2_hsphy { - phys =3D <&eusb5_repeater>; - - pinctrl-0 =3D <&wcn_usb_sw_n>; - pinctrl-names =3D "default"; -}; - -&usb_mp_hsphy0 { - phys =3D <&eusb3_repeater>; -}; - -&usb_mp_hsphy1 { - phys =3D <&eusb6_repeater>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; + +#include "hamoa-iot-som.dtsi" +#include "iq-x-iot-evk.dtsi" + +/ { + model =3D "Qualcomm Technologies, Inc. Hamoa IoT EVK"; + compatible =3D "qcom,hamoa-iot-evk", + "qcom,hamoa-iot-som", + "qcom,x1e80100"; + + usb-1-ss0-sbu-mux { + compatible =3D "onnn,fsusb42", "gpio-sbu-mux"; + + enable-gpios =3D <&tlmm 168 GPIO_ACTIVE_LOW>; + select-gpios =3D <&tlmm 167 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&usb_1_ss0_sbu_default>; + pinctrl-names =3D "default"; + + mode-switch; + orientation-switch; + + port { + usb_1_ss0_sbu_mux: endpoint { + remote-endpoint =3D <&pmic_glink_ss0_sbu>; + }; + }; + }; +}; + + +&pmic_glink_port0 { + reg =3D <0>; + pmic_glink_ss0_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; + }; +}; +&pmic_glink_port1 { + reg =3D <1>; + pmic_glink_ss0_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; +}; +&pmic_glink_port2 { + reg =3D <2>; + pmic_glink_ss0_sbu: endpoint { + remote-endpoint =3D <&usb_1_ss0_sbu_mux>; + }; +}; + +&tlmm { + usb_1_ss0_sbu_default: usb-1-ss0-sbu-state { + mode-pins { + pins =3D "gpio166"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + output-high; + }; + + oe-n-pins { + pins =3D "gpio168"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + }; + + sel-pins { + pins =3D "gpio167"; + function =3D "gpio"; + bias-disable; + drive-strength =3D <2>; + }; + }; +}; + + +&usb_1_ss0_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss0_ss_in>; +}; diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/= dts/qcom/hamoa-iot-som.dtsi dissimilarity index 98% index 4a69852e9176..983b144047bc 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi +++ b/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi @@ -1,618 +1,15 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. - */ - -#include "hamoa.dtsi" -#include "hamoa-pmics.dtsi" -#include -#include - -/ { - reserved-memory { - linux,cma { - compatible =3D "shared-dma-pool"; - size =3D <0x0 0x8000000>; - reusable; - linux,cma-default; - }; - }; -}; - -&apps_rsc { - /* PMC8380C_B */ - regulators-0 { - compatible =3D "qcom,pm8550-rpmh-regulators"; - qcom,pmic-id =3D "b"; - - vdd-bob1-supply =3D <&vph_pwr>; - vdd-bob2-supply =3D <&vph_pwr>; - vdd-l1-l4-l10-supply =3D <&vreg_s4c_1p8>; - vdd-l2-l13-l14-supply =3D <&vreg_bob1>; - vdd-l5-l16-supply =3D <&vreg_bob1>; - vdd-l6-l7-supply =3D <&vreg_bob2>; - vdd-l8-l9-supply =3D <&vreg_bob1>; - vdd-l12-supply =3D <&vreg_s5j_1p2>; - vdd-l15-supply =3D <&vreg_s4c_1p8>; - vdd-l17-supply =3D <&vreg_bob2>; - - vreg_bob1: bob1 { - regulator-name =3D "vreg_bob1"; - regulator-min-microvolt =3D <3008000>; - regulator-max-microvolt =3D <3960000>; - regulator-initial-mode =3D ; - }; - - vreg_bob2: bob2 { - regulator-name =3D "vreg_bob2"; - regulator-min-microvolt =3D <2504000>; - regulator-max-microvolt =3D <3008000>; - regulator-initial-mode =3D ; - }; - - vreg_l1b_1p8: ldo1 { - regulator-name =3D "vreg_l1b_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - - vreg_l2b_3p0: ldo2 { - regulator-name =3D "vreg_l2b_3p0"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3100000>; - regulator-initial-mode =3D ; - }; - - vreg_l4b_1p8: ldo4 { - regulator-name =3D "vreg_l4b_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - - vreg_l5b_3p0: ldo5 { - regulator-name =3D "vreg_l5b_3p0"; - regulator-min-microvolt =3D <3000000>; - regulator-max-microvolt =3D <3000000>; - regulator-initial-mode =3D ; - }; - - vreg_l6b_1p8: ldo6 { - regulator-name =3D "vreg_l6b_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <2960000>; - regulator-initial-mode =3D ; - }; - - vreg_l7b_2p8: ldo7 { - regulator-name =3D "vreg_l7b_2p8"; - regulator-min-microvolt =3D <2800000>; - regulator-max-microvolt =3D <2800000>; - regulator-initial-mode =3D ; - }; - - vreg_l8b_3p0: ldo8 { - regulator-name =3D "vreg_l8b_3p0"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3072000>; - regulator-initial-mode =3D ; - }; - - vreg_l9b_2p9: ldo9 { - regulator-name =3D "vreg_l9b_2p9"; - regulator-min-microvolt =3D <2960000>; - regulator-max-microvolt =3D <2960000>; - regulator-initial-mode =3D ; - }; - - vreg_l10b_1p8: ldo10 { - regulator-name =3D "vreg_l10b_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - - vreg_l12b_1p2: ldo12 { - regulator-name =3D "vreg_l12b_1p2"; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - regulator-initial-mode =3D ; - regulator-always-on; - }; - - vreg_l13b_3p0: ldo13 { - regulator-name =3D "vreg_l13b_3p0"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3100000>; - regulator-initial-mode =3D ; - }; - - vreg_l14b_3p0: ldo14 { - regulator-name =3D "vreg_l14b_3p0"; - regulator-min-microvolt =3D <3072000>; - regulator-max-microvolt =3D <3072000>; - regulator-initial-mode =3D ; - }; - - vreg_l15b_1p8: ldo15 { - regulator-name =3D "vreg_l15b_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - regulator-always-on; - }; - - vreg_l16b_2p9: ldo16 { - regulator-name =3D "vreg_l16b_2p9"; - regulator-min-microvolt =3D <2912000>; - regulator-max-microvolt =3D <2912000>; - regulator-initial-mode =3D ; - }; - - vreg_l17b_2p5: ldo17 { - regulator-name =3D "vreg_l17b_2p5"; - regulator-min-microvolt =3D <2504000>; - regulator-max-microvolt =3D <2504000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380VE_C */ - regulators-1 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "c"; - - vdd-l1-supply =3D <&vreg_s5j_1p2>; - vdd-l2-supply =3D <&vreg_s1f_0p7>; - vdd-l3-supply =3D <&vreg_s1f_0p7>; - vdd-s4-supply =3D <&vph_pwr>; - - vreg_s4c_1p8: smps4 { - regulator-name =3D "vreg_s4c_1p8"; - regulator-min-microvolt =3D <1856000>; - regulator-max-microvolt =3D <2000000>; - regulator-initial-mode =3D ; - }; - - vreg_l1c_1p2: ldo1 { - regulator-name =3D "vreg_l1c_1p2"; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - regulator-initial-mode =3D ; - }; - - vreg_l2c_0p8: ldo2 { - regulator-name =3D "vreg_l2c_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l3c_0p8: ldo3 { - regulator-name =3D "vreg_l3c_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380_D */ - regulators-2 { - compatible =3D "qcom,pmc8380-rpmh-regulators"; - qcom,pmic-id =3D "d"; - - vdd-l1-supply =3D <&vreg_s1f_0p7>; - vdd-l2-supply =3D <&vreg_s1f_0p7>; - vdd-l3-supply =3D <&vreg_s4c_1p8>; - vdd-s1-supply =3D <&vph_pwr>; - - vreg_l1d_0p8: ldo1 { - regulator-name =3D "vreg_l1d_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l2d_0p9: ldo2 { - regulator-name =3D "vreg_l2d_0p9"; - regulator-min-microvolt =3D <912000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l3d_1p8: ldo3 { - regulator-name =3D "vreg_l3d_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380_E */ - regulators-3 { - compatible =3D "qcom,pmc8380-rpmh-regulators"; - qcom,pmic-id =3D "e"; - - vdd-l2-supply =3D <&vreg_s1f_0p7>; - vdd-l3-supply =3D <&vreg_s5j_1p2>; - - vreg_l2e_0p8: ldo2 { - regulator-name =3D "vreg_l2e_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l3e_1p2: ldo3 { - regulator-name =3D "vreg_l3e_1p2"; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380_F */ - regulators-4 { - compatible =3D "qcom,pmc8380-rpmh-regulators"; - qcom,pmic-id =3D "f"; - - vdd-l1-supply =3D <&vreg_s5j_1p2>; - vdd-l2-supply =3D <&vreg_s5j_1p2>; - vdd-l3-supply =3D <&vreg_s5j_1p2>; - vdd-s1-supply =3D <&vph_pwr>; - - vreg_s1f_0p7: smps1 { - regulator-name =3D "vreg_s1f_0p7"; - regulator-min-microvolt =3D <700000>; - regulator-max-microvolt =3D <1100000>; - regulator-initial-mode =3D ; - }; - - vreg_l1f_1p0: ldo1 { - regulator-name =3D "vreg_l1f_1p0"; - regulator-min-microvolt =3D <1024000>; - regulator-max-microvolt =3D <1024000>; - regulator-initial-mode =3D ; - }; - - vreg_l2f_1p0: ldo2 { - regulator-name =3D "vreg_l2f_1p0"; - regulator-min-microvolt =3D <1024000>; - regulator-max-microvolt =3D <1024000>; - regulator-initial-mode =3D ; - }; - - vreg_l3f_1p0: ldo3 { - regulator-name =3D "vreg_l3f_1p0"; - regulator-min-microvolt =3D <1024000>; - regulator-max-microvolt =3D <1024000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380VE_I */ - regulators-6 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "i"; - - vdd-l1-supply =3D <&vreg_s4c_1p8>; - vdd-l2-supply =3D <&vreg_s5j_1p2>; - vdd-l3-supply =3D <&vreg_s1f_0p7>; - vdd-s1-supply =3D <&vph_pwr>; - vdd-s2-supply =3D <&vph_pwr>; - - vreg_s1i_0p9: smps1 { - regulator-name =3D "vreg_s1i_0p9"; - regulator-min-microvolt =3D <900000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_s2i_1p0: smps2 { - regulator-name =3D "vreg_s2i_1p0"; - regulator-min-microvolt =3D <1000000>; - regulator-max-microvolt =3D <1100000>; - regulator-initial-mode =3D ; - }; - - vreg_l1i_1p8: ldo1 { - regulator-name =3D "vreg_l1i_1p8"; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - regulator-initial-mode =3D ; - }; - - vreg_l2i_1p2: ldo2 { - regulator-name =3D "vreg_l2i_1p2"; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - regulator-initial-mode =3D ; - }; - - vreg_l3i_0p8: ldo3 { - regulator-name =3D "vreg_l3i_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - }; - - /* PMC8380VE_J */ - regulators-7 { - compatible =3D "qcom,pm8550ve-rpmh-regulators"; - qcom,pmic-id =3D "j"; - - vdd-l1-supply =3D <&vreg_s1f_0p7>; - vdd-l2-supply =3D <&vreg_s5j_1p2>; - vdd-l3-supply =3D <&vreg_s1f_0p7>; - vdd-s5-supply =3D <&vph_pwr>; - - vreg_s5j_1p2: smps5 { - regulator-name =3D "vreg_s5j_1p2"; - regulator-min-microvolt =3D <1256000>; - regulator-max-microvolt =3D <1304000>; - regulator-initial-mode =3D ; - }; - - vreg_l1j_0p8: ldo1 { - regulator-name =3D "vreg_l1j_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - - vreg_l2j_1p2: ldo2 { - regulator-name =3D "vreg_l2j_1p2"; - regulator-min-microvolt =3D <1256000>; - regulator-max-microvolt =3D <1256000>; - regulator-initial-mode =3D ; - }; - - vreg_l3j_0p8: ldo3 { - regulator-name =3D "vreg_l3j_0p8"; - regulator-min-microvolt =3D <880000>; - regulator-max-microvolt =3D <920000>; - regulator-initial-mode =3D ; - }; - }; -}; - -&iris { - status =3D "okay"; -}; - -&gpu { - status =3D "okay"; -}; - -&gpu_zap_shader { - firmware-name =3D "qcom/x1e80100/gen70500_zap.mbn"; -}; - -&pcie4 { - perst-gpios =3D <&tlmm 146 GPIO_ACTIVE_LOW>; - wake-gpios =3D <&tlmm 148 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&pcie4_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pcie4_phy { - vdda-phy-supply =3D <&vreg_l3i_0p8>; - vdda-pll-supply =3D <&vreg_l3e_1p2>; - - status =3D "okay"; -}; - -&pcie6a { - perst-gpios =3D <&tlmm 152 GPIO_ACTIVE_LOW>; - wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; - - pinctrl-0 =3D <&pcie6a_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pcie6a_phy { - vdda-phy-supply =3D <&vreg_l1d_0p8>; - vdda-pll-supply =3D <&vreg_l2j_1p2>; - - status =3D "okay"; -}; - -&qupv3_0 { - status =3D "okay"; -}; - -&qupv3_1 { - status =3D "okay"; -}; - -&qupv3_2 { - status =3D "okay"; -}; - -&remoteproc_adsp { - firmware-name =3D "qcom/x1e80100/adsp.mbn", - "qcom/x1e80100/adsp_dtb.mbn"; - - status =3D "okay"; -}; - -&remoteproc_cdsp { - firmware-name =3D "qcom/x1e80100/cdsp.mbn", - "qcom/x1e80100/cdsp_dtb.mbn"; - - status =3D "okay"; -}; - -&tlmm { - gpio-reserved-ranges =3D <34 2>; /* TPM LP & INT */ - - pcie4_default: pcie4-default-state { - clkreq-n-pins { - pins =3D "gpio147"; - function =3D "pcie4_clk"; - drive-strength =3D <2>; - bias-pull-up; - }; - - perst-n-pins { - pins =3D "gpio146"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - wake-n-pins { - pins =3D "gpio148"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - }; - }; - - pcie6a_default: pcie6a-default-state { - clkreq-n-pins { - pins =3D "gpio153"; - function =3D "pcie6a_clk"; - drive-strength =3D <2>; - bias-pull-up; - }; - - perst-n-pins { - pins =3D "gpio152"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - wake-n-pins { - pins =3D "gpio154"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - - }; - }; -}; - -&usb_1_ss0 { - status =3D "okay"; -}; - -&usb_1_ss0_dwc3 { - dr_mode =3D "otg"; - usb-role-switch; -}; - -&usb_1_ss0_hsphy { - vdd-supply =3D <&vreg_l3j_0p8>; - vdda12-supply =3D <&vreg_l2j_1p2>; - - status =3D "okay"; -}; - -&usb_1_ss0_qmpphy { - vdda-phy-supply =3D <&vreg_l2j_1p2>; - vdda-pll-supply =3D <&vreg_l1j_0p8>; - - status =3D "okay"; -}; - -&usb_1_ss1 { - status =3D "okay"; -}; - -&usb_1_ss1_dwc3 { - dr_mode =3D "otg"; - usb-role-switch; -}; - -&usb_1_ss1_hsphy { - vdd-supply =3D <&vreg_l3j_0p8>; - vdda12-supply =3D <&vreg_l2j_1p2>; - - status =3D "okay"; -}; - -&usb_1_ss1_qmpphy { - vdda-phy-supply =3D <&vreg_l2j_1p2>; - vdda-pll-supply =3D <&vreg_l2d_0p9>; - - status =3D "okay"; -}; - -&usb_1_ss2 { - status =3D "okay"; -}; - -&usb_1_ss2_dwc3 { - dr_mode =3D "otg"; - usb-role-switch; -}; - -&usb_1_ss2_hsphy { - vdd-supply =3D <&vreg_l3j_0p8>; - vdda12-supply =3D <&vreg_l2j_1p2>; - - status =3D "okay"; -}; - -&usb_1_ss2_qmpphy { - vdda-phy-supply =3D <&vreg_l2j_1p2>; - vdda-pll-supply =3D <&vreg_l2d_0p9>; - - status =3D "okay"; -}; - -&usb_2 { - status =3D "okay"; -}; - -&usb_2_dwc3 { - dr_mode =3D "host"; -}; - -&usb_2_hsphy { - vdd-supply =3D <&vreg_l2e_0p8>; - vdda12-supply =3D <&vreg_l3e_1p2>; - - status =3D "okay"; -}; - -&usb_mp { - status =3D "okay"; -}; - -&usb_mp_hsphy0 { - vdd-supply =3D <&vreg_l2e_0p8>; - vdda12-supply =3D <&vreg_l3e_1p2>; - - status =3D "okay"; -}; - -&usb_mp_hsphy1 { - vdd-supply =3D <&vreg_l2e_0p8>; - vdda12-supply =3D <&vreg_l3e_1p2>; - - status =3D "okay"; -}; - -&usb_mp_qmpphy0 { - vdda-phy-supply =3D <&vreg_l3e_1p2>; - vdda-pll-supply =3D <&vreg_l3c_0p8>; - - status =3D "okay"; -}; - -&usb_mp_qmpphy1 { - vdda-phy-supply =3D <&vreg_l3e_1p2>; - vdda-pll-supply =3D <&vreg_l3c_0p8>; - - status =3D "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#include "hamoa.dtsi" +#include "iq-x-iot-som.dtsi" + +&gpu_zap_shader { + firmware-name =3D "qcom/x1e80100/gen70500_zap.mbn"; +}; + +&iris { + status =3D "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts b/arch/arm64/boot/d= ts/qcom/iq-x-iot-evk.dtsi similarity index 94% copy from arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts copy to arch/arm64/boot/dts/qcom/iq-x-iot-evk.dtsi index 36dd6599402b..7d6dbe9a0885 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +++ b/arch/arm64/boot/dts/qcom/iq-x-iot-evk.dtsi @@ -3,13 +3,7 @@ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ =20 -/dts-v1/; - -#include "hamoa-iot-som.dtsi" - / { - model =3D "Qualcomm Technologies, Inc. Hamoa IoT EVK"; - compatible =3D "qcom,hamoa-iot-evk", "qcom,hamoa-iot-som", "qcom,x1e80100= "; chassis-type =3D "embedded"; =20 aliases { @@ -68,28 +62,13 @@ ports { #address-cells =3D <1>; #size-cells =3D <0>; =20 - port@0 { - reg =3D <0>; - - pmic_glink_ss0_hs_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; - }; + pmic_glink_port0: port@0 { }; =20 - port@1 { - reg =3D <1>; - - pmic_glink_ss0_ss_in: endpoint { - remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; - }; + pmic_glink_port1: port@1 { }; =20 - port@2 { - reg =3D <2>; - - pmic_glink_ss0_sbu: endpoint { - remote-endpoint =3D <&usb_1_ss0_sbu_mux>; - }; + pmic_glink_port2: port@2 { }; }; }; @@ -502,25 +481,6 @@ platform { }; }; =20 - usb-1-ss0-sbu-mux { - compatible =3D "onnn,fsusb42", "gpio-sbu-mux"; - - enable-gpios =3D <&tlmm 168 GPIO_ACTIVE_LOW>; - select-gpios =3D <&tlmm 167 GPIO_ACTIVE_HIGH>; - - pinctrl-0 =3D <&usb_1_ss0_sbu_default>; - pinctrl-names =3D "default"; - - mode-switch; - orientation-switch; - - port { - usb_1_ss0_sbu_mux: endpoint { - remote-endpoint =3D <&pmic_glink_ss0_sbu>; - }; - }; - }; - wcn7850-pmu { compatible =3D "qcom,wcn7850-pmu"; =20 @@ -1104,30 +1064,6 @@ usb2_pwr_3p3_reg_en: usb2-pwr-3p3-reg-en-state { bias-disable; }; =20 - usb_1_ss0_sbu_default: usb-1-ss0-sbu-state { - mode-pins { - pins =3D "gpio166"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - output-high; - }; - - oe-n-pins { - pins =3D "gpio168"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - - sel-pins { - pins =3D "gpio167"; - function =3D "gpio"; - bias-disable; - drive-strength =3D <2>; - }; - }; - wcd_default: wcd-reset-n-active-state { pins =3D "gpio191"; function =3D "gpio"; @@ -1198,10 +1134,6 @@ &usb_1_ss0_hsphy { phys =3D <&smb2360_0_eusb2_repeater>; }; =20 -&usb_1_ss0_qmpphy_out { - remote-endpoint =3D <&pmic_glink_ss0_ss_in>; -}; - &usb_1_ss1_dwc3_hs { remote-endpoint =3D <&pmic_glink_ss1_hs_in>; }; diff --git a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi b/arch/arm64/boot/= dts/qcom/iq-x-iot-som.dtsi similarity index 99% copy from arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi copy to arch/arm64/boot/dts/qcom/iq-x-iot-som.dtsi index 4a69852e9176..051df8ecaf94 100644 --- a/arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi +++ b/arch/arm64/boot/dts/qcom/iq-x-iot-som.dtsi @@ -3,7 +3,6 @@ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ =20 -#include "hamoa.dtsi" #include "hamoa-pmics.dtsi" #include #include @@ -378,18 +377,10 @@ vreg_l3j_0p8: ldo3 { }; }; =20 -&iris { - status =3D "okay"; -}; - &gpu { status =3D "okay"; }; =20 -&gpu_zap_shader { - firmware-name =3D "qcom/x1e80100/gen70500_zap.mbn"; -}; - &pcie4 { perst-gpios =3D <&tlmm 146 GPIO_ACTIVE_LOW>; wake-gpios =3D <&tlmm 148 GPIO_ACTIVE_LOW>; --=20 2.34.1 From nobody Sun Feb 8 13:28:10 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 78C34326942 for ; Mon, 22 Dec 2025 06:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383431; cv=none; b=k5LupoVVuufUsrKOPhpYLM0OhcMWgjDYYzSS3cV5ns3wmkiNqi96T80jtKiAreDeJbH8W/sO6r7lE6NHRevwNX6k0iYmuuLB3SViAbSs0H2ePk93GPhU7HIRzIzcKspuVOCOFNW0wCPs+SmsIgJM8umaLV0JSchxA9xr3347Noo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766383431; c=relaxed/simple; bh=PDd2fvT7QF4J92gTiksLn+D/ix3r00VAgGvlg1FlC9Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=j2zXtgHrF3BlCLrPFlktP3e3ZHYmmc+tN8LBRMGBxpKLHo/ADk0nCR1ZWdeWvHY51A1wQilNo5xLhQQir5QCNVz1z57VCYr6MfIu3SocTfO56RHMpJ1bGzqU0yHnpsro1bdC3fySvJD2/6rRze9fR6fNVLR0cLkjcrHj/oXoBsU= 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=X1DR7Bo+; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MRJMTsWP; arc=none smtp.client-ip=205.220.168.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="X1DR7Bo+"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MRJMTsWP" 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 5BLMpvf13572792 for ; Mon, 22 Dec 2025 06:03:48 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=vcgXBZww4xH u+tLgJLMjC9uSZ5G1LTtyE6/5Sq9SxqA=; b=X1DR7Bo+jSanuGLauhfiLguwxWj t29LjJHRADYdr4A6+M558vNC9P29jfZnrNyguAXNaKBq09ztuWO/6lUnDoFN+Hwo p8yTlGZFuTNz8sJVwBWjWuJbT/33PMVQ2UPOklXFSOBbtsWPgKWhKV4oTL9BKxu2 OClPOLhDfWWYx/eahV8eK9M1otOHooDnnDOIACUALBglDk14vrqrxAt5LuTN+FaQ krm25vb/FX/KSbcg+I7R8AFTbbt6JBVNsyMBN7D/5vtK0/z5bHUgT8Eeo1+wz5ID A7glV8MAz9OXRgXiBIxgb9gEjqeOWx1Q0FNlQtL8fOTNo0bxS/doJ1GMAug== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b69ahj5dh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 22 Dec 2025 06:03:48 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-34c43f8ef9bso4299914a91.1 for ; Sun, 21 Dec 2025 22:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766383428; x=1766988228; 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=vcgXBZww4xHu+tLgJLMjC9uSZ5G1LTtyE6/5Sq9SxqA=; b=MRJMTsWP7Ha9E1XWam3fbF0q4Ddn09V6H5gn93foNPWzRDHmPWougGxSEgARl3cdgr NMkqu0K1aV1cHRq1vGu5zBc4D3hXjbsZp7FZ/H9gYGwBlJ8IrR9QMDt04mUGHQrYtDFq 3cmTw7F9/hcCnSevUpEg3rBxI9a6KLclvjnIL30LdgkZSd9e72dDrIAbQXbQ8TPXal8Y RGfEpW1FxNrXSRX9Zp5caZkLpnPPFy4tO6BsGCaGrakLbc1N/55C2To5ulqItyunoZ+f Cd+B9IEGJHknjE0WywmAJVukyoTK2CzUt8TWsCRswbbD8NB12wH6EbjUNETe/KvPKqZN fO3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766383428; x=1766988228; 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=vcgXBZww4xHu+tLgJLMjC9uSZ5G1LTtyE6/5Sq9SxqA=; b=UTZvpmLy7LZUnu8o8MSCaZ/3MBXcoJ4XHy3lHD7eVGzpcqpSV9v4ItNeyc4nXCbO9u rWBsHGOCZyT0DM75iVwltah7O23Y3doj7s3tV4nixsuKojepDH5uMLqSZIx2SFJoW5d3 T961KBlHgeGm/rU625LSe3blYWXRtHzjerIiSHafp7l85pWcW2eHkGHUJbkQoKyOrXfQ hciAOo42Ma+mzTTtZxTYrkAq/AhGx5w4pd7gXZVoAT81CayZdU0gBpG6i8hKESH5XNd+ YY5xXmfronvE1VI2YYSqlv8WXQYgYq2fZterwNBBDV9pfzuvTapy9kaO7x43eF1QZKMy YJVw== X-Forwarded-Encrypted: i=1; AJvYcCUf5YlzpsYyKaCRs6i+pU02mWPdHZLJxWW+ge8EWgD6YVV9cCCuI+DLPMumWRqZLgOxijoLJI/9UYXFf9o=@vger.kernel.org X-Gm-Message-State: AOJu0YwSfnJ9Y5zRRCe74WBoxDF/jX10V2+YctOroASE0RvgtwcRKit4 vtF6GiNBfcWTANY9fAoYm2DnnvJUIHlmJ1ydwDwsO5VrDCvcOa4xG1Aue2oAq4qSXPq4pdV0/LA 3bPxC+kpY3rsWBawuLEqZqdlz13VOI9802+7guOcI1GXEyzhKbJoW2BO5n5y1m/ZvACw= X-Gm-Gg: AY/fxX7ufDxuVmdUPXiehUF25CUX1JOlNWEgXLm5lsXDvouvzGipVUdyWRA5D0gKDE4 6CSB8Jv0DubwsKAgGMkIbthdc9xTdGvk7IWEMf40LvQ85a0NADCUYrf4NYWoqodFn/5nPwFDuPH ZK45KBFtrGUaHPliAreyX4kr229HKy0AneaseLy4W7xqlG/MWCzXDrscXCbLHzIbT6AFsW0QrIO wWi7xJJeMI3ZwKpFjrUCAe2uSq5rT9tRf5pKabN86YzN6iB8lPYMkpcvN1yTe7m8zxU7jmUF3vB rYZaa+q/iyR0AD+t0ZYP5uPr53W1ShUUQJ/hnR5uTv6pI+vRLt9XICcP8SqA/gIyeuHqepaoV2n YgUXt4BK91MHJiqn9zjCH4OR8voSlgyBCBIoQPp3d7Korj34ZDuaNtDbCyd19pKPM94y3EnjPjC 0= X-Received: by 2002:a17:90b:548d:b0:34c:7212:7a67 with SMTP id 98e67ed59e1d1-34e71e092d3mr10676592a91.12.1766383427943; Sun, 21 Dec 2025 22:03:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxbQbjVzIhOOvWlFiSb30OH6AswqPaa8VOhM/4Z24rn2uE+OMEjeLfA79NqcM//bCn7KnRLw== X-Received: by 2002:a17:90b:548d:b0:34c:7212:7a67 with SMTP id 98e67ed59e1d1-34e71e092d3mr10676566a91.12.1766383427443; Sun, 21 Dec 2025 22:03:47 -0800 (PST) Received: from yijiyang-gv.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e769c347asm5846668a91.0.2025.12.21.22.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Dec 2025 22:03:47 -0800 (PST) From: YijieYang 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, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: qcom: Add base PURWA-IOT-EVK board Date: Mon, 22 Dec 2025 14:03:29 +0800 Message-Id: <20251222060335.3485729-4-yijie.yang@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251222-purwa-v1-0-14ab9316e5ff@oss.qualcomm.com> References: <20251222-purwa-v1-0-14ab9316e5ff@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: quoted-printable X-Authority-Analysis: v=2.4 cv=JuH8bc4C c=1 sm=1 tr=0 ts=6948df44 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=ZmrNZMXfqHY4OuZ4eF4A:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: 54YuoqlLEaiwidIVtSskR6jXs_kou0__ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjIyMDA1MiBTYWx0ZWRfX6/DmumeYPFfI 6EKyqZfBZqAr4wmWp+BQlG932FNAZEz9cG5fnBJ5Q/YUIlGPEfbKFjipP8oZKnjFVvrpPdyTs+2 ZyOeJDvKZobLjbmy63THK4eU7s1o3kka0M71TEAaZB5tRRP8u6z58w03+nmBikn0wOH7WPhBVXG IQnTufhkqIkIRi1tseMNZ3YDJkidnjMZeTs/9h+AfsaFcYiVzSB4gl5RAx96pDd2RfFS4Gqelgx nTOFx+sdCRGIaY8YASwssgOVKMQ0Rl1L64UBeyVZHtVbT2RSqcpiHkQ0uGe+VhEYA7PdsjyypxJ J3alrkEtt+HbQLiD/Ir56eKtHQd37wd7xM5dGJ1SHHKDacZH6l1wkQID923ifxXaCliLyZr16mz 4w1GQvK2IsIPaoZ9JdOUh/E77bPhUOOXxoPgrHeGtAm9xskoDSF2aZQY5VMKR0hJkR5lupnQQv3 ZxmsjkF9xOJz1DT/KcA== X-Proofpoint-GUID: 54YuoqlLEaiwidIVtSskR6jXs_kou0__ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-21_05,2025-12-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 adultscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 suspectscore=0 spamscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2512120000 definitions=main-2512220052 Content-Type: text/plain; charset="utf-8" From: Yijie Yang The PURWA-IOT-EVK is an evaluation platform for IoT products, composed of the Purwa IoT SoM and a carrier board. Together, they form a complete embedded system capable of booting to UART. PURWA-IOT-EVK uses the PS8833 as a retimer for USB0, unlike HAMOA-IOT-EVK. Meanwhile, USB0 bypasses the SBU selector FSUSB42. As a result, the glink topology differs from that of HAMOA-IOT-EVK. Make the following peripherals on the carrier board enabled: - UART - On-board regulators - Regulators on the SOM - PMIC GLINK - USB0 through USB6 and their PHYs - Embedded USB (EUSB) repeaters - USB Type-C mux - PCIe6a and its PHY - PCIe4 and its PHY - Reserved memory regions - Pinctrl - NVMe - ADSP, CDSP - WLAN, Bluetooth (M.2 interface) - USB DisplayPorts - Graphic - Audio Signed-off-by: Yijie Yang --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/purwa-iot-evk.dts | 100 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi | 11 +++ 3 files changed, 112 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/purwa-iot-evk.dts create mode 100644 arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index 6f34d5ed331c..803a525093e7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -123,6 +123,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-sony-xperia-yoshin= o-lilac.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-sony-xperia-yoshino-maple.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-sony-xperia-yoshino-poplar.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8998-xiaomi-sagit.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D purwa-iot-evk.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D qcm6490-fairphone-fp5.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D qcm6490-idp.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D qcm6490-particle-tachyon.dtb diff --git a/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts b/arch/arm64/boot/d= ts/qcom/purwa-iot-evk.dts new file mode 100644 index 000000000000..95cfb7024751 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/purwa-iot-evk.dts @@ -0,0 +1,100 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; + +#include "purwa-iot-som.dtsi" +#include "iq-x-iot-evk.dtsi" + +/ { + model =3D "Qualcomm Technologies, Inc. Purwa IoT EVK"; + compatible =3D "qcom,purwa-iot-evk", + "qcom,purwa-iot-som", + "qcom,x1p42100"; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; +}; + +&pmic_glink_port0 { + reg =3D <0>; + pmic_glink_ss0_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; + }; +}; +&pmic_glink_port1 { + reg =3D <1>; + pmic_glink_ss0_ss_in: endpoint { + remote-endpoint =3D <&retimer_ss0_ss_out>; + }; +}; +&pmic_glink_port2 { + reg =3D <2>; + pmic_glink_ss0_con_sbu_in: endpoint { + remote-endpoint =3D <&retimer_ss0_con_sbu_out>; + }; +}; + +&i2c3 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + typec-mux@8 { + compatible =3D "parade,ps8830"; + reg =3D <0x8>; + + clocks =3D <&rpmhcc RPMH_RF_CLK4>; + + vdd-supply =3D <&vreg_rtmr0_1p15>; + vdd33-supply =3D <&vreg_rtmr0_3p3>; + vdd33-cap-supply =3D <&vreg_rtmr0_3p3>; + vddar-supply =3D <&vreg_rtmr0_1p15>; + vddat-supply =3D <&vreg_rtmr0_1p15>; + vddio-supply =3D <&vreg_rtmr0_1p8>; + + reset-gpios =3D <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&rtmr0_default>; + pinctrl-names =3D "default"; + + retimer-switch; + orientation-switch; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint =3D <&pmic_glink_ss0_ss_in>; + }; + }; + + port@1 { + reg =3D <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; + }; + + port@2 { + reg =3D <2>; + + retimer_ss0_con_sbu_out: endpoint { + remote-endpoint =3D <&pmic_glink_ss0_con_sbu_in>; + }; + }; + }; + }; +}; + +&usb_1_ss0_qmpphy_out { + remote-endpoint =3D <&retimer_ss0_ss_in>; +}; diff --git a/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi b/arch/arm64/boot/= dts/qcom/purwa-iot-som.dtsi new file mode 100644 index 000000000000..1ee7478d7614 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/purwa-iot-som.dtsi @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +#include "purwa.dtsi" +#include "iq-x-iot-som.dtsi" + +&gpu_zap_shader { + firmware-name =3D "qcom/x1e80100/gen71500_zap.mbn"; +}; --=20 2.34.1