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 6F5F131B80E for ; Mon, 27 Apr 2026 02:35:40 +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=1777257342; cv=none; b=nIXdCmuivT59yc60c4LgEtK/0qchD8EtXC/U1ElI/MC0r4b5PQTQD0b+u17ooXf/WTGcyTv2KKFK/UaMUkyE9mkrXwqf1RLXahLwSiPq7wtk/f1RnVSi/+6bLHbgKyIkGNnV+rTnDLXEAnk/PkBo6F2xLxDw5blItNww0GNW/BU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777257342; c=relaxed/simple; bh=fqpkC3HGYcRxLFasJdUV/LyMtMln+CVq4520DbGBQOQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZC1VbT3QP+BXujoUsYfZ2ZMNnbob8l31NIBKuC/h/JeRGWy2YeEDRwp9aWxeP38ZrkE0SnHdeDaO0aVyH/RMq/aKXTAtHORstNCKAV/ZZ2ZUJZPPNpR+OfrYAV9wt+bjkJuoN/QGWXvFuPOIyXJnWpXIhED4qM4pXRD4PBxyxUY= 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=flR74ZDu; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Sqz0RWuF; 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="flR74ZDu"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Sqz0RWuF" 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 63QI9OOB1887722 for ; Mon, 27 Apr 2026 02:35: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=3QWztm8lKBf nwoRa6+ip86yvuMd+fG19TXVJrPocKm4=; b=flR74ZDu2QPd5KYrMjoCUMOK+OO RH3yMXamHOcnKWZQqvO1+e5KyiQJOi3Nn3aUjL2XcZGRg9pSV30iN4FVEaOtvsmZ 2gLfZbIJ+VQTRhteBM5PnElXJ6kKmg+YerJNASQOyGvCj+XW7U1+Y7CV1zUfsN1K Bxl6v1XA9QG7M3WZR2BF1alP/svkXcyt/aQAR9rnwj3u/07b/yP+8/9DCsIgg8no zpRAgbgtaN1shOvw80P9Z+v6lKG5HBqatvpC3i1UbO9hPG3zSJqhWf4+W24wHrN+ xtPzncWe545xi8fou6f1SLl7sK2Ur/TD7vbPA0tbmYNYRl9aVMhUuc3bITQ== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4drpsgux2s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 27 Apr 2026 02:35:39 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-2bdf6fe90a9so15082971eec.1 for ; Sun, 26 Apr 2026 19:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1777257339; x=1777862139; 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=3QWztm8lKBfnwoRa6+ip86yvuMd+fG19TXVJrPocKm4=; b=Sqz0RWuFPKeJOlCWEDCFzuEp+Y+oWpNruIxcomIRIT+BI9lSxVfPKVCYlxWx1ffvyG Dt/JhmZAIDDjOVtdyPNquQtgFESc6zzdH8tamE2HTMxq4e5GK90EglAwdb5Ab8lf839d Vtkp+ngAoWzn/L8jKU1XYxwv7+2ensGNiew0i7mdJ0I6udDTRBoa76ufDUyLLs+/Xiot sbbJx9jmPsUu70jPllVMJhT1rJkFeY5QG8vVeZTTz/pkPxUQcF0xlncH6R69RmYBXCzX Ck7SktZyyA1PJ8PVEpajpbN5oArvpUZaVV1r3NfZRO349q2GZj2S63tR1Ctz+nOLyth8 /wRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777257339; x=1777862139; 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=3QWztm8lKBfnwoRa6+ip86yvuMd+fG19TXVJrPocKm4=; b=NGfx0R5hEG7z4Jw45Ku7Y6UlevYbqW/qFq3K3M73/h7peWMxPPkpgkdEkShPa1jqMC WPF53ZW43y2RIo7bA0VkEaRuyaEHeUp4Xn22OMjMtgFYRvXWh4BsoJgF8P5RbRhiCHQ7 A6cQnQaivibqtQYXI2R9YHiC88Cc8ltZb9qa3uoagFkyEAhF0rsKpZEPZKGF4J3jvzJs EKDGnyqk+E+rra6P6RtASVihzk70LesISsDPloQM+tDnVpPv01pIIFZfKYRtcD/5y99l XIivrb4/BJFsmrxwQrTrsGtW0jILEhWtZ8ldEZesjNdG+9RfZZ9kOAad/Uxnska0aWRj sicg== X-Forwarded-Encrypted: i=1; AFNElJ+ajdMekHDozjuD0cRAxL7519HfVUQJZFfBrmEYLFl1MPomRl5fq15xhMQFvUBjJs1BZIAN7vz04XAMkY0=@vger.kernel.org X-Gm-Message-State: AOJu0YzfqVuS2CHC7nQF7BJ6t5GlxGfhMIvrW3eYViGyqTp/8x9cTgfV yANt4fupMa0P6HhIZBUl9Pq4V7Qf15W//PagNZ/oFC9rvL0j4/Vixznzob2LiJ3PpWY+UxaAOwB GQiaZSjkjk8SNl8YhomSojaK6J1i5q0yxjM8e4/cLmV88Gw4Fhaogqo/x2sqNl1lpY8Q= X-Gm-Gg: AeBDiesREeStzwmaDEagEIn0SDfFsgzRs0yAHmpAo2JYVpGfD6BmqqDo5PJKfwf5Dpr fUl+QSq3qZvE3WUjNVxF6R5ZSJag6SH1HyC4YqEr3F5Al9JjuqLNnalALWL5Ftk3KR1Hl7IPSLm JlC/Psu1MoHMb28gkVVHaSKDW3YUgvjJG70g5V/QAaeycPl4wxa+wlPy/RId2jQYJV+VgWi96pM J6UsTCQcW3zoI/J9wJOAxYyAXKHT2TmplilT8QvbpHa1bPDlYVg4VEZhA0SOMftaqwHqg6s4eZk d4UEnwQpXIVTXi4dwMHIKam1nPGFwEUuCuae8rWqNE9T1iOZV0y0YfmwW1LQ0fROoNva8KdxV+H z2XhxX0xxzaVR7x+jxPDeqw4FmYcznAI716EqAxxzPpKa47ZflB/IOoyPiGPTKh8lgdgJc6Y3Qj iOMuQxI3oIKIY51tog X-Received: by 2002:a05:7300:ac8a:b0:2d9:bc8d:f62a with SMTP id 5a478bee46e88-2e47873aadbmr21848839eec.16.1777257338783; Sun, 26 Apr 2026 19:35:38 -0700 (PDT) X-Received: by 2002:a05:7300:ac8a:b0:2d9:bc8d:f62a with SMTP id 5a478bee46e88-2e47873aadbmr21848823eec.16.1777257338196; Sun, 26 Apr 2026 19:35:38 -0700 (PDT) Received: from QCOM-aGQu4IUr3Y.qualcomm.com (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2e53a4a8018sm52916316eec.8.2026.04.26.19.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Apr 2026 19:35:37 -0700 (PDT) From: Shawn Guo To: Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Dmitry Baryshkov , Bartosz Golaszewski , Deepti Jaggi , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH 4/4] arm64: dts: qcom: Add device tree for SA8797P Ride board Date: Mon, 27 Apr 2026 10:34:55 +0800 Message-ID: <20260427023455.236410-5-shengchao.guo@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260427023455.236410-1-shengchao.guo@oss.qualcomm.com> References: <20260427023455.236410-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: xzkr8MVWzQxWPtLPlJCa3m0hhZC3R2SH X-Proofpoint-ORIG-GUID: xzkr8MVWzQxWPtLPlJCa3m0hhZC3R2SH X-Authority-Analysis: v=2.4 cv=Y+fIdBeN c=1 sm=1 tr=0 ts=69eecb7b cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=MxPmow6BhT1dHFM3JRMA:9 a=PxkB5W3o20Ba91AHUih5:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDI3MDAyNiBTYWx0ZWRfX52bbS8z6qyzO fQuQf0OPHqkA3QJIk8dy6fE88KuFMsPtU3wO0f1Q1cCWV1O0uM1n4ChGmyE1PaHvK4rZvwhU+LI Bd855HtfjMimPET5+tkj6zzbDwF4okczzM90QYP+3cxBBj18jYB13KtZ97VcvS0fEo+jNvJ/WT0 vzzqCuXSPzq0nlFwA/HV6IiSO8gjp0tXajFq52ThVi63EePNy/mclHYgIhwMoRpKxBoXdH2Sm20 swYYVq3XmNSE6oZkAj9+e500EixKCqHq0LFPzwCdMnTyj5bw8dSYvfe2/DVXR7fB7jaiIiUJrO+ 2iJk+xExx0K15nIPfWECt0QhtDqkf9cSbJiXV5k8YaX7/+K3kIhCHmXTbSKP8nQhsoY7pXRc6XQ j9/5+D0JbvOtkXksUfZQVqS1iKwO3XHzFNJJaRzw3OHK8ceok0go46WoWKiPVPAI4owJdehH+r+ NRbV/wyI2CPgkLvsXww== 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-04-26_07,2026-04-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270026 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 4ba8e7306419..b329678e04e3 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -212,6 +212,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