From patchwork Thu Jul 20 07:57:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hariharan K X-Patchwork-Id: 704684 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D7A3C001DF for ; Thu, 20 Jul 2023 07:58:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231847AbjGTH6K (ORCPT ); Thu, 20 Jul 2023 03:58:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231899AbjGTH6I (ORCPT ); Thu, 20 Jul 2023 03:58:08 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE604E53; Thu, 20 Jul 2023 00:58:06 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36K7EVPr025113; Thu, 20 Jul 2023 07:58:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=gCdCk5CVDm6XlaNfkvuP2qVad0gOPMEoQdHY+IqnrgU=; b=HULRJDgSx02/pfDMsapsSwipzV4qHFi8M+TfNUHyDaeQg+H/xTuLxDoyZ6tJEY0K9CIQ iGpk8II3FxZkXHckn7nmmA/HUUJ/CIkyhFPP/A5sMDEchtf0lFziaqQ1DcJsy+s45jUK r8bLQd1TGiw3K+9bwiaeHzStR4sIknTp0l4fTIhC7QoqHCBcDenlg+jt6Ep+3XBYhS2o hdSDka7okRoiIx9PMxHyoAkjnkWW2kcSIpJnWLo/pR575j63va7X2FmVUMeOkAiODBv5 rJ+uPe8LyGJ04vb0lH0GhlSuUImDyA2//7qQ8GinBwG5Ygc+o6bo4u8VViyoZQfgBvFU cQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rxsxe8ptk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jul 2023 07:58:03 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36K7w2cm018497 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Jul 2023 07:58:02 GMT Received: from harihk-linux.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 20 Jul 2023 00:57:58 -0700 From: Hariharan K To: , , , , , , , , CC: , , , , , Subject: [PATCH 2/2] arm64: dts: qcom: ipq5018: add support for the RDP434 variant Date: Thu, 20 Jul 2023 13:27:31 +0530 Message-ID: <20230720075731.20816-3-quic_harihk@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230720075731.20816-1-quic_harihk@quicinc.com> References: <20230720075731.20816-1-quic_harihk@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: A4-joGUSNiZOSWIxExGKsOdqxFOZwr-x X-Proofpoint-GUID: A4-joGUSNiZOSWIxExGKsOdqxFOZwr-x X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-20_02,2023-07-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 clxscore=1015 adultscore=0 priorityscore=1501 spamscore=0 suspectscore=0 phishscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307200064 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the initial device tree support for the Reference Design Platform(RDP) 434 based on IPQ5018 family of SoC. This patch carries the support for Console UART and eMMC. Signed-off-by: Hariharan K --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq5018-rdp434.dts | 49 +++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/ipq5018-rdp434.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 6334e552b7c1..8a764e37330f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -5,6 +5,7 @@ dtb-$(CONFIG_ARCH_QCOM) += apq8094-sony-xperia-kitakami-karin_windy.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp432-c2.dtb +dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp434.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp442.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp434.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp434.dts new file mode 100644 index 000000000000..1684739e40ab --- /dev/null +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp434.dts @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * IPQ5018 MP03.6-C2 board device tree source + * Copyright (c) 2023, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "ipq5018-rdp-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ5018/AP-MP03.6-C2"; + compatible = "qcom,ipq5018-ap-mp03.6-c2", "qcom,ipq5018"; +}; + +&sdhc_1 { + pinctrl-0 = <&sdc_default_state>; + pinctrl-names = "default"; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + max-frequency = <192000000>; + bus-width = <4>; + status = "okay"; +}; + +&tlmm { + sdc_default_state: sdc-default-state { + clk-pins { + pins = "gpio9"; + function = "sdc1_clk"; + drive-strength = <8>; + bias-disable; + }; + + cmd-pins { + pins = "gpio8"; + function = "sdc1_cmd"; + drive-strength = <8>; + bias-pull-up; + }; + + data-pins { + pins = "gpio4", "gpio5", "gpio6", "gpio7"; + function = "sdc1_data"; + drive-strength = <8>; + bias-disable; + }; + }; +};