From mboxrd@z Thu Jan 1 00:00:00 1970 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 4917938F95B for ; Tue, 19 May 2026 06:36:09 +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=1779172571; cv=none; b=prHUZlkmqQMRr2IUf9bFgxZ5db20nS992rm7ElXoWbp/GHgwVr3tv7cNUkZ/pGBiFkBIOyKiaBozMsNDkZuRr+ehe6LgsgrelmbI37mNoMrsV/2rJJ5WhwftlSlPbLthf4zOoZs/YVk7JluPiZaWvhnShBUSO8AxXD9H4fmBA88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779172571; c=relaxed/simple; bh=3m+jffTolua7fbirYqE5GZjOdVjNuN3gLhcb3ZcbjZA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TMM934v3fvCRtSI+HRSLCFit4G0HfMhCmlmLEbtdz52Er4+hW/VxyNoRMgiUckAoSaDccTNSnS1FDLcHCoUxfTz7Rom57XmA+7E3Xie/Hy3WqL9yc/ijeTZLvU1mTO4Gymfn8W90ADUACWahP+/oGNE8iXrKl7hez+RGF0Ggebs= 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=U9DkifEY; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=eKFmNXc9; 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="U9DkifEY"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="eKFmNXc9" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64INbi5Z2892861 for ; Tue, 19 May 2026 06:36:08 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=Wzfwmzu6La1 sZY0pkQJ5fRHE6gyVdLFD7h8Q7EUED+Q=; b=U9DkifEYwMveXXmK2iDW0tUyQMa DzuzTpIBPtn/IarUGznAeYLCOVVjsYlCHjynGnDOgWU1j54vikxQO8VGd8KadWRs 65X7qVO+b4ltMqhNF6VMF+WxoLM/yWsHzBKaJ+dUNJyAioXh3hq0k6/nuiwKc6aj uCNS0o/6s8Fl9aMKdJRnqAuIhzhDVIliXqPwhMuEXSaR3Es2pv1QmcOI34e6+BJH j8BhrdZxK262ShIIFdjO2H1DNOt0292KuybTLbmg3oUBMtDBoNhJabgWyUnHO0JR 6Vt9oS38Fuf7/94xl0f8JjCMizUgCz25poRU7olikPu6yt+ObJ3KLkc+MEQ== Received: from mail-dl1-f69.google.com (mail-dl1-f69.google.com [74.125.82.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e7xk1ct8v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 19 May 2026 06:36:08 +0000 (GMT) Received: by mail-dl1-f69.google.com with SMTP id a92af1059eb24-134cf343c58so6266132c88.1 for ; Mon, 18 May 2026 23:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779172568; x=1779777368; 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=Wzfwmzu6La1sZY0pkQJ5fRHE6gyVdLFD7h8Q7EUED+Q=; b=eKFmNXc90payYiXjPXInIhjDxctSKQ2ns2CnRdK04FNBaxwYzbW7I06rx8x21X6UkU p0EspyR+1u7MSUx1yfm30gWX2osxijHmVJ7K2uxCpzsTt1LgIFqr28nHMtGj0nYRUBUs lfvZwJJEHdeBjyHvdXeBioVD4OXMHUYqEL0iBv4vBJQm4Pf+U8xfmEMzVI1XJtnKtUbv Rbj30ifij/ziKu+AxxJFvzLJDFJlRaZIpvQZcT/JTSbgciWek8GTFQc6Fbe9p70ESZro Kl7wTqfkFwsuVIeKH4aToKVOUPqqnppnNc3+ZeXrRCAwcVWxOfgMfFj2xbY3MWX5qym/ EB1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779172568; x=1779777368; 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=Wzfwmzu6La1sZY0pkQJ5fRHE6gyVdLFD7h8Q7EUED+Q=; b=NwCw5R/UTA5pCCCiw1kejyeP+iQ3DHWo0etbK+CLnRcN3+hxGuryfDP4XyUQLYRarh lbaRyUvBhW6xlLakyqrI4sgCymJG8eV9ewwv9vUAxTZiMqz4x0yvVz1GPUts7Tyt2qk4 dzXnmL2XdTyLp/QdbcUTHFcP8BCa7tk89/26gQKk/IFLE6/Ezv3mYmRpTAULBrwi7boZ i3zkFDz3zcS64nSOS1i9oxRH+8ZXJBxBmU7GAv9oRykY+mvA7El7b0f2sLD4m/3eJkIX 1dH+Aj/TxWTwOOwR0zkfcX6rskrjN6FSNrg7OxKauryesP7+QpfgSoCtl9iJVRznQf6E tkBA== X-Forwarded-Encrypted: i=1; AFNElJ9cCr1ziPzxRGg3lAqWIybKsxHb2D8ES0PjYruOANb65vSFka49buZ4758N+SpmEX9te9Dqy/PYTth/GAA=@vger.kernel.org X-Gm-Message-State: AOJu0Yyweab8hZdeqPGfkvdW0s7yz4S6OPBWUP29vmBXipMGKFTaP1EO OM9tqbVEKInxiECCd22rL1XeqXMEGcWbC0endIDzBpydIHx2H9Bj1LG+I71k8CUYU70xWmAcmWR 3jeeVxTztAYLfmHBJ9Blabn6ryB3FWbCLI6sRy89GfCsEwvkyfZfjNINuZDOk9Cv3hvg= X-Gm-Gg: Acq92OFbTi2yO5VEJeftdqg7nKuMhbkS4EWevH72v6/bywrYXAmRKHgZIt7ZnAAwaSX GJ67pv4zhnYFxLbfCxM6B62bXfLKSq4tmlyMiLSy+1cK3SCmhWuYOOThNbpmljxysDWykg5AHwI iKMTBdvXZl/Uz604Yjav2FMsGxjGabjA23Du1x7gtX3lNKREShZQfp1CsOP2l9NmPL7zSkPi+Tx VDBPePKe3cQjjVhAabpfJmKfE4Mf2IygY1dGMcO85ft0jwXXSEV3l6sgZXAOzAJZl7MpCC0I4AC 4NxC2IJzNbgIWg3wyYgzCyPb06I3eTkd+2Q57BrfyezLlT5/NiyktpWVuF8jNS85V3kXx8fiqDf zWQ4QrKBEfBhlUQJ/lRqSQ3NrNmO6PRs2aeRWy2CHp4Arrm8GFhzDP5L+AkTvnzerihVt66/kr9 jMlqH2Yg== X-Received: by 2002:a05:7022:928:b0:130:5c90:5a22 with SMTP id a92af1059eb24-13504a50480mr7081757c88.42.1779172567648; Mon, 18 May 2026 23:36:07 -0700 (PDT) X-Received: by 2002:a05:7022:928:b0:130:5c90:5a22 with SMTP id a92af1059eb24-13504a50480mr7081735c88.42.1779172567026; Mon, 18 May 2026 23:36:07 -0700 (PDT) Received: from QCOM-aGQu4IUr3Y.qualcomm.com (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-134cbdcf140sm22614537c88.5.2026.05.18.23.36.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 23:36:06 -0700 (PDT) From: Shawn Guo To: Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Dmitry Baryshkov , Bartosz Golaszewski , Deepti Jaggi , Harshal Dev , Herbert Xu , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v2 8/8] arm64: dts: qcom: Add device tree for SA8797P Ride board Date: Tue, 19 May 2026 14:35:05 +0800 Message-ID: <20260519063505.883379-9-shengchao.guo@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260519063505.883379-1-shengchao.guo@oss.qualcomm.com> References: <20260519063505.883379-1-shengchao.guo@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-GUID: E7NDVG48qjWGpUWHc5bMOfusUAlSc51E X-Proofpoint-ORIG-GUID: E7NDVG48qjWGpUWHc5bMOfusUAlSc51E X-Authority-Analysis: v=2.4 cv=BICDalQG c=1 sm=1 tr=0 ts=6a0c04d8 cx=c_pps a=kVLUcbK0zfr7ocalXnG1qA==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=MxPmow6BhT1dHFM3JRMA:9 a=vr4QvYf-bLy2KjpDp97w:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE5MDA2MiBTYWx0ZWRfX0Oq+3Y13q/SI KZua9PIJY7uCbsIEc2FkGaNgl7g8008RaiMnfRuGJccZcdixqqzoZZ9o5pwT+74Hgo+q01QSykk XgIhC8mG3srjxZC2MmiZGcshRUxVt1Oc54VPPV8WfTANvLi8CWmqpAyzDWh1aKzYjwLDkRSvQz+ 4AanDr7FuX6DMBBkd81juVPFcY/hPQKGKzQCzWuiH8WFtv1waaHJ0OhtWf0p7gWAte8KwtbfH+a q9Tss4PsI7AW6rBb4iyewa8zMx7FozntrDfl1pp0q6G4/gVNRyIZtabE748Mjwbwv8w2oEo0Shy /nKJIqVz+cFUOF9xcJMh/JqX49RLjXv0prriybJsBPpHqLrw14o30gMB61thxjLOAEB8s8PKtz/ jKdpW7KUSwSdpl1fJ8Pq4UCRmP+Jw4+BvW6/cVlbsjMGRFkWqOxPMlw//0uyVr6lp3gwtYANVcS GTCfh9f9RNJTlMYdafg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-19_02,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 impostorscore=0 phishscore=0 clxscore=1015 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605190062 From: Deepti Jaggi Add initial device tree for the Qualcomm SA8797P Ride reference board. - Configure UART15 as the primary console and UART4 as the secondary serial port - Enable UFS storage support - Define thermal zones for PMIC dies, UFS, and two SDRAM sensors, all sourced from SCMI sensor protocol on channel 23 Signed-off-by: Deepti Jaggi Signed-off-by: Shawn Guo --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sa8797p-ride.dts | 306 ++++++++++++++++++++++ 2 files changed, 307 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sa8797p-ride.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 795cee4757ab..578e0da824f7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -218,6 +218,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sa8295p-adp.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8540p-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += sa8775p-ride-r3.dtb +dtb-$(CONFIG_ARCH_QCOM) += sa8797p-ride.dtb sc7180-acer-aspire1-el2-dtbs := sc7180-acer-aspire1.dtb sc7180-el2.dtbo dtb-$(CONFIG_ARCH_QCOM) += sc7180-acer-aspire1.dtb sc7180-acer-aspire1-el2.dtb sc7180-ecs-liva-qc710-el2-dtbs := sc7180-ecs-liva-qc710.dtb sc7180-el2.dtbo diff --git a/arch/arm64/boot/dts/qcom/sa8797p-ride.dts b/arch/arm64/boot/dts/qcom/sa8797p-ride.dts new file mode 100644 index 000000000000..2eab2c6fc173 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sa8797p-ride.dts @@ -0,0 +1,306 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; + +#include "nord-sa8797p.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SA8797P Ride"; + compatible = "qcom,sa8797p-ride", "qcom,sa8797p", "qcom,nord"; + + aliases { + serial0 = &uart15; + serial1 = &uart4; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + clocks { + xo_board_clk: xo-board-clk { + compatible = "fixed-clock"; + clock-frequency = <38400000>; + #clock-cells = <0>; + }; + + sleep_clk: sleep-clk { + compatible = "fixed-clock"; + clock-frequency = <32000>; + #clock-cells = <0>; + }; + }; +}; + +&scmi3 { + status = "okay"; +}; + +&scmi11 { + status = "okay"; +}; + +&scmi15 { + status = "okay"; +}; + +&scmi23 { + status = "okay"; +}; + +&thermal_zones { + pm_kobra_thermal: pm-a-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 3>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + pm_kobra_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_0_thermal: pm-e-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 4>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_e_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_1_thermal: pm-f-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 5>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_f_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_2_thermal: pm-g-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 6>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_g_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_3_thermal: pm-h-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 7>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_h_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_4_thermal: pm-i-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 8>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_i_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_5_thermal: pm-j-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 9>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_j_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_6_thermal: pm-k-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 10>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_k_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_7_thermal: pm-l-die-thermal { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 11>; + + trips { + trip0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + kai_l_trip1: trip1 { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_ufs_thermal: ufs-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 0>; + + trips { + trip0 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip1 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_sdram0_thermal: sdram0-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 1>; + + trips { + trip0 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip1 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + pm_kai_sdram1_thermal: sdram1-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&scmi23_sensor 2>; + + trips { + trip0 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip1 { + temperature = <125000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; +}; + +&uart4 { + status = "okay"; +}; + +&uart15 { + status = "okay"; +}; + +&ufs_mem_hc { + status = "okay"; +}; -- 2.43.0