Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7081561rwl; Wed, 22 Mar 2023 21:51:08 -0700 (PDT) X-Google-Smtp-Source: AK7set/MnQeZsBjPVbV66oV0j2nqqT0fvNfpfMkEZo8f3NQTXwPlVkaZTHPMh/syvA019hX4Ou0Y X-Received: by 2002:a17:90b:4f48:b0:23b:5537:8c99 with SMTP id pj8-20020a17090b4f4800b0023b55378c99mr5998927pjb.45.1679547068510; Wed, 22 Mar 2023 21:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679547068; cv=none; d=google.com; s=arc-20160816; b=yhUJzDmW28qM/UOY36zjcUtDoUHCHKIACD7WQIMtXbudXl5FxnYp2x4uRnDNXamHiO g5Roj1cz2Rf6LpA2ZFNtv2J9cuX99hpbb4Ixn1k2dkel1jJKKRfx4v08SaYin9W+zTDl 1ZkjVixq9mCw5TRe/c3ur9uUuZfv3QpHcSbfpWpxvJnQxoot9aauM8d7LhN48ZnmEB+M IdpXGhVIy5tblbrC0JqoxL6E7BDQkNqVWgCiMhRpMEbLQ1Ds2bLhcLy4cbYbdShcFyQe 3eaWBvuZg3tHaT84SookrqEbSjKM6Q9aEySFE3wbZElkWoK7rU0nF8wHEke3R0TIx+0l SfmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0nPXEYikduMg+5eMmGxAaJ32ATsff6NLnoHsfkyHk48=; b=fFIN6iOyQt1ZmFPzII5UActEBbPze+xG8sF/6ajYJSzGdOfeLVOmVP7I6MkyWqUx75 xHeXy6CF5bokbp6C3IAXZ4Z3YuVMwbT1JCvbvZMZ+7Rl/OXV3XjVDdt8Y2cHSdCerjdU TF0PAg4pjyV1IdERNOsvWkTP2dZnU/vQDKaz8uqVyMlg4kZ29VOS8J/j6BBS3fVlNSdY bZcGWdWNkhb1mJUqzBeae1on/iAQ6bp5aFo9BFrrVFYyJpqBJCZgy77sutaCX5A5fjKr bb7An1452fqif5BIlpgfijVsT2Wk1AxiWAIQsyfIobJtqyTvwDxxESvoeSQG6CrhEIH3 8f/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LaYNyHRj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h22-20020a170902f7d600b001992144f3aasi17045615plw.581.2023.03.22.21.50.54; Wed, 22 Mar 2023 21:51:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LaYNyHRj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbjCWEuG (ORCPT + 99 others); Thu, 23 Mar 2023 00:50:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjCWEt5 (ORCPT ); Thu, 23 Mar 2023 00:49:57 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E74735AA; Wed, 22 Mar 2023 21:49:56 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32N415kT005299; Thu, 23 Mar 2023 04:49:52 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=0nPXEYikduMg+5eMmGxAaJ32ATsff6NLnoHsfkyHk48=; b=LaYNyHRjijQB1mwlAD4X9AtwTwqkStxwA8zCWpeYU/NjrC4oKXr+H6JrQ+lqxP2C/u95 pCuys7BtROW6IQywewIP6pCaVFhflq9lSun6hm5VfHbqVxYjrq15oHPiW6q5+aOibNVn en+eXKLTYsUwLY6Jo9NMcXO60FqnH+d+SUd2YndGrD3Yx70v+MjTePo8FuWjOah7t1Yv f9pJatKz4fghNrlMF+cHHKM5um9FSJ8LoRnoIXRqeu69vwBYB76s0Hgjx4Gw89C7etjx u2AGTEn4dFTCBie5u0Ze47F6SPjHW71FXZ+N+N6wGXdwsK+37SlCBjnjcnScAZ328iHF Tw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pg4r09hx8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Mar 2023 04:49:52 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32N4npTQ004996 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Mar 2023 04:49:51 GMT Received: from kathirav-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 22 Mar 2023 21:49:48 -0700 From: Kathiravan T To: , , , , , , , CC: Kathiravan T Subject: [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP468 variant Date: Thu, 23 Mar 2023 10:19:29 +0530 Message-ID: <20230323044929.8694-3-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230323044929.8694-1-quic_kathirav@quicinc.com> References: <20230323044929.8694-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Ichrww3_p9ns6cgPYGeqonY-UVeGJh_P X-Proofpoint-ORIG-GUID: Ichrww3_p9ns6cgPYGeqonY-UVeGJh_P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-22_21,2023-03-22_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 phishscore=0 mlxlogscore=999 spamscore=0 clxscore=1015 bulkscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303150002 definitions=main-2303230036 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the initial device tree support for the Reference Design Platform(RDP) 468 based on IPQ5332 family of SoCs. This patch carries the support for Console UART, SPI NOR, eMMC. Signed-off-by: Kathiravan T --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 103 ++++++++++++++++++++ 2 files changed, 104 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 1a29403400b7..79cf8373997f 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -4,6 +4,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) += ipq5332-mi01.2.dtb +dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts new file mode 100644 index 000000000000..b2899f953aa4 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts @@ -0,0 +1,103 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * IPQ5332 RDP468 board device tree source + * + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "ipq5332.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ5332 MI01.6"; + compatible = "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332"; + + aliases { + serial0 = &blsp1_uart0; + }; + + chosen { + stdout-path = "serial0"; + }; +}; + +&blsp1_uart0 { + pinctrl-0 = <&serial_0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&blsp1_spi0 { + pinctrl-0 = <&spi_0_data_clk_pins &spi_0_cs_pins>; + pinctrl-names = "default"; + status = "okay"; + + flash@0 { + compatible = "micron,n25q128a11", "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0>; + spi-max-frequency = <50000000>; + }; +}; + +&sdhc { + bus-width = <4>; + max-frequency = <192000000>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + non-removable; + pinctrl-0 = <&sdc_default_state>; + pinctrl-names = "default"; + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&xo_board { + clock-frequency = <24000000>; +}; + +/* PINCTRL */ + +&tlmm { + sdc_default_state: sdc-default-state { + clk-pins { + pins = "gpio13"; + function = "sdc_clk"; + drive-strength = <8>; + bias-disable; + }; + + cmd-pins { + pins = "gpio12"; + function = "sdc_cmd"; + drive-strength = <8>; + bias-pull-up; + }; + + data-pins { + pins = "gpio8", "gpio9", "gpio10", "gpio11"; + function = "sdc_data"; + drive-strength = <8>; + bias-pull-up; + }; + }; + + spi_0_data_clk_pins: spi-0-data-clk-state { + pins = "gpio14", "gpio15", "gpio16"; + function = "blsp0_spi"; + drive-strength = <2>; + bias-pull-down; + }; + + spi_0_cs_pins: spi-0-cs-state { + pins = "gpio17"; + function = "blsp0_spi"; + drive-strength = <2>; + bias-pull-up; + }; +}; -- 2.17.1